|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
IUserLayoutRestriction is the base interface for UserLayout restrictions.
Method Summary | |
boolean |
checkRestriction(ALNode node)
Checks the relative restriction on a given node |
boolean |
checkRestriction(java.lang.String propertyValue)
Checks the restriction for the given property value |
java.lang.String |
getRestrictionExpression()
Gets the restriction expression |
java.lang.String |
getRestrictionName()
Gets the restriction name |
java.lang.String |
getRestrictionPath()
Gets the tree path for the current restriction |
int |
getRestrictionType()
Returns the type of the current restriction |
void |
setRestrictionExpression(java.lang.String restrictionExpression)
Sets the restriction expression |
Method Detail |
public int getRestrictionType()
RestrictionTypes
interfacepublic java.lang.String getRestrictionName()
String
restriction namepublic boolean checkRestriction(java.lang.String propertyValue) throws PortalException
propertyValue
- a String
property value to be checked
PortalException
public boolean checkRestriction(ALNode node) throws PortalException
node
- a ALNode
node
PortalException
public void setRestrictionExpression(java.lang.String restrictionExpression)
restrictionExpression
- a String
expressionpublic java.lang.String getRestrictionExpression()
String
expressionpublic java.lang.String getRestrictionPath()
String
tree path
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |