Package ch.tocco.nice2.dms.api.security
Class NodePermissionsContribution
java.lang.Object
ch.tocco.nice2.dms.api.security.NodePermissionsContribution
Contribution to assign a Node_permission to a node type.
Properties:
Properties:
nodeName
: name of the node's entity modelNodePermissionsContribution.NodePermission.permission
: unique_id of a Node_permission entityNodePermissionsContribution.NodePermission.context
: name of aContentTreeContext
if this permission is only required in a specific context. Leave empty forDefaultContentTreeContext
. (See also:ContentTreeContext.getName()
)NodePermissionsContribution.NodePermission.forChildren
: set to true to denote that this permission has no direct effect on this node and is only to be inherited to its childrenNodePermissionsContribution.NodePermission.predicate
: custom predicate that receives the actualContentTreeNode
to be able to apply some custom filtering (return false to remove the permission for the current node)
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionNodePermissionsContribution
(String nodeName, List<NodePermissionsContribution.NodePermission> permissions) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
NodePermissionsContribution
public NodePermissionsContribution(String nodeName, List<NodePermissionsContribution.NodePermission> permissions)
-
-
Method Details
-
getNodeName
-
getPermissions
-