| org.jasig.portal.layout.restrictions.IRestrictionManager
IRestrictionManager | public interface IRestrictionManager (Code) | | The Restriction Manager Interface
author: Michael Ivanov version: $Revision: 36684 $ |
Method Summary | |
public boolean | checkAddRestrictions(ILayoutNode node, String parentId, String nextSiblingId) | public boolean | checkDeleteRestrictions(String nodeId) Checks the necessary restrictions while deleting a node. | public boolean | checkDepthRestrictions(String nodeId, String newParentId) Recursively checks the depth restrictions beginning with a given node. | public boolean | checkDepthRestrictions(String nodeId, int depth) Recursively checks the depth restrictions beginning with a given node. | public boolean | checkMoveRestrictions(String nodeId, String newParentId, String nextSiblingId) Checks the necessary restrictions while moving a node. | public boolean | checkRestriction(String nodeId, String restrictionName, String restrictionPath, String propertyValue) Checks the restriction specified by the parameters below. | public boolean | checkRestriction(String nodeId, String restrictionName, String propertyValue) Checks the local restriction specified by the parameters below. | public boolean | checkUpdateRestrictions(IUserLayoutNodeDescription nodeDescription) Checks the necessary restrictions while updating a node. | public void | setUserLayout(IUserLayout layout) Sets the user layout. |
checkAddRestrictions | public boolean checkAddRestrictions(ILayoutNode node, String parentId, String nextSiblingId) throws PortalException(Code) | | Checks the necessary restrictions while adding a new node
Parameters: node - a ILayoutNode a new node to be added Parameters: parentId - a String parent node ID Parameters: nextSiblingId - a String next sibling node ID a boolean value exception: PortalException - if an error occurs |
checkDeleteRestrictions | public boolean checkDeleteRestrictions(String nodeId) throws PortalException(Code) | | Checks the necessary restrictions while deleting a node.
Parameters: nodeId - a String node ID of a node to be deleted a boolean value exception: PortalException - if an error occurs |
checkDepthRestrictions | public boolean checkDepthRestrictions(String nodeId, String newParentId) throws PortalException(Code) | | Recursively checks the depth restrictions beginning with a given node.
Parameters: nodeId - a String node ID Parameters: newParentId - a String new parent node ID a boolean value exception: PortalException - if an error occurs |
checkDepthRestrictions | public boolean checkDepthRestrictions(String nodeId, int depth) throws PortalException(Code) | | Recursively checks the depth restrictions beginning with a given node.
Parameters: nodeId - a String node ID Parameters: depth - a depth on which the node is going to be attached a boolean value exception: PortalException - if an error occurs |
checkMoveRestrictions | public boolean checkMoveRestrictions(String nodeId, String newParentId, String nextSiblingId) throws PortalException(Code) | | Checks the necessary restrictions while moving a node.
Parameters: nodeId - a String node ID of a node to be moved Parameters: newParentId - a String new parent node ID Parameters: nextSiblingId - a String next sibling node ID a boolean value exception: PortalException - if an error occurs |
checkRestriction | public boolean checkRestriction(String nodeId, String restrictionName, String restrictionPath, String propertyValue) throws PortalException(Code) | | Checks the restriction specified by the parameters below.
Parameters: nodeId - a String node ID Parameters: restrictionName - a restriction name Parameters: restrictionPath - a String restriction path Parameters: propertyValue - a String property value to be checked a boolean value exception: PortalException - if an error occurs |
checkRestriction | public boolean checkRestriction(String nodeId, String restrictionName, String propertyValue) throws PortalException(Code) | | Checks the local restriction specified by the parameters below.
Parameters: nodeId - a String node ID Parameters: restrictionName - a restriction name Parameters: propertyValue - a String property value to be checked a boolean value exception: PortalException - if an error occurs |
checkUpdateRestrictions | public boolean checkUpdateRestrictions(IUserLayoutNodeDescription nodeDescription) throws PortalException(Code) | | Checks the necessary restrictions while updating a node.
Parameters: nodeDescription - a IUserLayoutNodeDescription node description of a node to be updated a boolean value exception: PortalException - if an error occurs |
|
|