Package ch.tocco.nice2.dms.impl.security
Class PermissionsGridServiceImpl
java.lang.Object
ch.tocco.nice2.dms.api.util.AbstractContentTreeContextDependentService
ch.tocco.nice2.dms.impl.security.PermissionsGridServiceImpl
- All Implemented Interfaces:
PermissionsGridService
public class PermissionsGridServiceImpl
extends AbstractContentTreeContextDependentService
implements PermissionsGridService
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionPermissionsGridServiceImpl
(ContentTreeService contentTreeService, CommandExecutor commandExecutor, EntityExplorerActionSelectionService selectionService, TextResources textResources, ContentNodePermissionService contentNodePermissionService) -
Method Summary
Modifier and TypeMethodDescriptiongetPermissionsForNode
(EntityExplorerActionSelection selection, String moduleName) Get a grid representing the current rights set on a selected node.Methods inherited from class ch.tocco.nice2.dms.api.util.AbstractContentTreeContextDependentService
getContentTreeContext, setContentTreeContexts
-
Constructor Details
-
PermissionsGridServiceImpl
public PermissionsGridServiceImpl(ContentTreeService contentTreeService, CommandExecutor commandExecutor, EntityExplorerActionSelectionService selectionService, TextResources textResources, ContentNodePermissionService contentNodePermissionService)
-
-
Method Details
-
getPermissionsForNode
public JsonReaderResponse<Map<String,Object>> getPermissionsForNode(EntityExplorerActionSelection selection, String moduleName) Description copied from interface:PermissionsGridService
Get a grid representing the current rights set on a selected node.- Specified by:
getPermissionsForNode
in interfacePermissionsGridService
- Parameters:
selection
- single selected EntitymoduleName
- the name of the entity explorer module (e.g. Resource, Page)- Returns:
- the defined permissions for the selected entity.
-