|
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
org.jasig.portal.layout.restrictions.PriorityRestriction
PriorityRestriction checks the priority restriction for a given ALNode object.
Field Summary |
Fields inherited from class org.jasig.portal.layout.restrictions.UserLayoutRestriction |
LOCAL_RESTRICTION |
Constructor Summary | |
PriorityRestriction()
|
|
PriorityRestriction(java.lang.String nodePath)
|
Method Summary | |
boolean |
checkRestriction(ALNode node)
Checks the restriction for the current node |
boolean |
checkRestriction(java.lang.String propertyValue)
Checks the restriction for the specified node |
int |
getMaxValue()
Returns the maximum value of the given restriction |
int |
getMinValue()
Returns the minimum value of the given restriction |
int[] |
getRange()
Returns the minimum and maximum values of the given restriction as an integer array |
int |
getRestrictionType()
Returns the type of the current restriction |
void |
setRestriction(int minPriority,
int maxPriority)
|
Methods inherited from class org.jasig.portal.layout.restrictions.UserLayoutRestriction |
getRestrictionExpression, getRestrictionName, getRestrictionName, getRestrictionPath, setRestrictionExpression |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PriorityRestriction(java.lang.String nodePath)
public PriorityRestriction()
Method Detail |
public int getMaxValue()
public int getMinValue()
public int[] getRange()
public int getRestrictionType()
getRestrictionType
in interface IUserLayoutRestriction
getRestrictionType
in class UserLayoutRestriction
RestrictionTypes
interfacepublic boolean checkRestriction(java.lang.String propertyValue) throws PortalException
checkRestriction
in interface IUserLayoutRestriction
checkRestriction
in class UserLayoutRestriction
propertyValue
- a String
property value to be checked
PortalException
public boolean checkRestriction(ALNode node) throws PortalException
checkRestriction
in interface IUserLayoutRestriction
checkRestriction
in class UserLayoutRestriction
node
- a ALNode
node
PortalException
public void setRestriction(int minPriority, int maxPriority)
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |