Package ch.tocco.nice2.dms.impl.security
Class ContentNodePermissionServiceImpl
java.lang.Object
ch.tocco.nice2.dms.impl.security.ContentNodePermissionServiceImpl
- All Implemented Interfaces:
ContentNodePermissionService
@Component
public class ContentNodePermissionServiceImpl
extends Object
implements ContentNodePermissionService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetForName
(String name) requireForName
(String name) void
setNodePermissions
(List<NodePermissionsContribution> contributions)
-
Constructor Details
-
ContentNodePermissionServiceImpl
public ContentNodePermissionServiceImpl()
-
-
Method Details
-
requireForName
- Specified by:
requireForName
in interfaceContentNodePermissionService
- Parameters:
name
- unique_id of a Node_permission- Returns:
- ContentNodePermission representation of this Node_permission
-
getForName
- Specified by:
getForName
in interfaceContentNodePermissionService
- Parameters:
name
- unique_id of a Node_permission- Returns:
- ContentNodePermission representation of this Node_permission
-
getAvailablePermissions
- Specified by:
getAvailablePermissions
in interfaceContentNodePermissionService
- Parameters:
node
- a ContentTreeNode- Returns:
- a set of all available permissions at this node
-
getPermissionsForChildren
- Specified by:
getPermissionsForChildren
in interfaceContentNodePermissionService
- Parameters:
node
- a ContentTreeNode- Returns:
- a set of permissions only for this node's children
-
setNodePermissions
-