|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRestrictionManager
The Restriction Manager Interface
Method Summary | |
---|---|
boolean |
checkAddRestrictions(ILayoutNode node,
java.lang.String parentId,
java.lang.String nextSiblingId)
Checks the necessary restrictions while adding a new node |
boolean |
checkDeleteRestrictions(java.lang.String nodeId)
Checks the necessary restrictions while deleting a node. |
boolean |
checkDepthRestrictions(java.lang.String nodeId,
int depth)
Recursively checks the depth restrictions beginning with a given node. |
boolean |
checkDepthRestrictions(java.lang.String nodeId,
java.lang.String newParentId)
Recursively checks the depth restrictions beginning with a given node. |
boolean |
checkMoveRestrictions(java.lang.String nodeId,
java.lang.String newParentId,
java.lang.String nextSiblingId)
Checks the necessary restrictions while moving a node. |
boolean |
checkRestriction(java.lang.String nodeId,
java.lang.String restrictionName,
java.lang.String propertyValue)
Checks the local restriction specified by the parameters below. |
boolean |
checkRestriction(java.lang.String nodeId,
java.lang.String restrictionName,
java.lang.String restrictionPath,
java.lang.String propertyValue)
Checks the restriction specified by the parameters below. |
boolean |
checkUpdateRestrictions(IUserLayoutNodeDescription nodeDescription)
Checks the necessary restrictions while updating a node. |
void |
setUserLayout(IUserLayout layout)
Sets the user layout. |
Method Detail |
---|
void setUserLayout(IUserLayout layout) throws PortalException
layout
- a IUserLayout
user layout to be checked
PortalException
- if an error occursboolean checkRestriction(java.lang.String nodeId, java.lang.String restrictionName, java.lang.String restrictionPath, java.lang.String propertyValue) throws PortalException
nodeId
- a String
node IDrestrictionName
- a restriction namerestrictionPath
- a String
restriction pathpropertyValue
- a String
property value to be checked
PortalException
- if an error occursboolean checkRestriction(java.lang.String nodeId, java.lang.String restrictionName, java.lang.String propertyValue) throws PortalException
nodeId
- a String
node IDrestrictionName
- a restriction namepropertyValue
- a String
property value to be checked
PortalException
- if an error occursboolean checkAddRestrictions(ILayoutNode node, java.lang.String parentId, java.lang.String nextSiblingId) throws PortalException
node
- a ILayoutNode
a new node to be addedparentId
- a String
parent node IDnextSiblingId
- a String
next sibling node ID
PortalException
- if an error occursboolean checkMoveRestrictions(java.lang.String nodeId, java.lang.String newParentId, java.lang.String nextSiblingId) throws PortalException
nodeId
- a String
node ID of a node to be movednewParentId
- a String
new parent node IDnextSiblingId
- a String
next sibling node ID
PortalException
- if an error occursboolean checkDeleteRestrictions(java.lang.String nodeId) throws PortalException
nodeId
- a String
node ID of a node to be deleted
PortalException
- if an error occursboolean checkDepthRestrictions(java.lang.String nodeId, java.lang.String newParentId) throws PortalException
nodeId
- a String
node IDnewParentId
- a String
new parent node ID
PortalException
- if an error occursboolean checkDepthRestrictions(java.lang.String nodeId, int depth) throws PortalException
nodeId
- a String
node IDdepth
- a depth on which the node is going to be attached
PortalException
- if an error occursboolean checkUpdateRestrictions(IUserLayoutNodeDescription nodeDescription) throws PortalException
nodeDescription
- a IUserLayoutNodeDescription
node description of a node to be updated
PortalException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |