|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUserLayoutRestriction
IUserLayoutRestriction is the base interface for UserLayout restrictions.
Field Summary | |
---|---|
static java.lang.String |
CHILDREN_RESTRICTION_PATH
|
static java.lang.String |
LOCAL_RESTRICTION_PATH
|
static java.lang.String |
PARENT_RESTRICTION_PATH
|
Method Summary | |
---|---|
boolean |
checkRestriction(ILayoutNode 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 |
getName()
Returns the name of the current restriction |
java.lang.String |
getRestrictionExpression()
Gets the restriction expression |
java.lang.String |
getRestrictionPath()
Gets the tree path for the current restriction |
java.lang.String |
getUniqueKey()
Gets the unique key of the current restriction |
void |
setName(java.lang.String name)
Sets the name of the current restriction |
void |
setRestrictionExpression(java.lang.String restrictionExpression)
Sets the restriction expression |
void |
setRestrictionPath(java.lang.String restrictionPath)
Sets the restriction path |
Field Detail |
---|
static final java.lang.String LOCAL_RESTRICTION_PATH
static final java.lang.String PARENT_RESTRICTION_PATH
static final java.lang.String CHILDREN_RESTRICTION_PATH
Method Detail |
---|
java.lang.String getName()
String
namevoid setName(java.lang.String name)
a
- String
namejava.lang.String getUniqueKey()
String
unique keyboolean checkRestriction(java.lang.String propertyValue) throws PortalException
propertyValue
- a String
property value to be checked
PortalException
boolean checkRestriction(ILayoutNode node) throws PortalException
node
- a ILayoutNode
node
PortalException
void setRestrictionExpression(java.lang.String restrictionExpression)
restrictionExpression
- a String
expressionjava.lang.String getRestrictionExpression()
String
expressionvoid setRestrictionPath(java.lang.String restrictionPath)
restrictionPath
- a String
pathjava.lang.String getRestrictionPath()
String
tree path
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |