|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.layout.restrictions.UserLayoutRestriction
UserLayoutRelativeRestriction summary sentence goes here.
Field Summary | |
static java.lang.String |
LOCAL_RESTRICTION
|
Constructor Summary | |
UserLayoutRestriction()
|
|
UserLayoutRestriction(java.lang.String nodePath)
|
Method Summary | |
boolean |
checkRestriction(ALNode node)
Checks the relative restriction on a given node |
abstract 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 |
static java.lang.String |
getRestrictionName(int restrictionType,
java.lang.String nodePath)
Gets the restriction name based on a restriction type and a node path |
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String LOCAL_RESTRICTION
Constructor Detail |
public UserLayoutRestriction()
public UserLayoutRestriction(java.lang.String nodePath)
Method Detail |
public abstract boolean checkRestriction(java.lang.String propertyValue) throws PortalException
checkRestriction
in interface IUserLayoutRestriction
propertyValue
- a String
property value to be checked
PortalException
public boolean checkRestriction(ALNode node) throws PortalException
checkRestriction
in interface IUserLayoutRestriction
node
- a ALNode
node
PortalException
public int getRestrictionType()
getRestrictionType
in interface IUserLayoutRestriction
RestrictionTypes
interfacepublic java.lang.String getRestrictionName()
getRestrictionName
in interface IUserLayoutRestriction
String
restriction namepublic static java.lang.String getRestrictionName(int restrictionType, java.lang.String nodePath)
restrictionType
- a restriction typenodePath
- a String
node path
String
restriction namepublic void setRestrictionExpression(java.lang.String restrictionExpression)
setRestrictionExpression
in interface IUserLayoutRestriction
restrictionExpression
- a String
expressionpublic java.lang.String getRestrictionExpression()
getRestrictionExpression
in interface IUserLayoutRestriction
String
expressionpublic java.lang.String getRestrictionPath()
getRestrictionPath
in interface IUserLayoutRestriction
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 |