Interface RecordsManagementSecurityService
- All Known Implementing Classes:
RecordsManagementSecurityServiceImpl
public interface RecordsManagementSecurityService
Deprecated.
Records management permission service interface
- Author:
- Roy Wetherall
-
Method Summary
Modifier and TypeMethodDescriptionvoidassignRoleToAuthority(NodeRef rmRootNode, String role, String authorityName) Deprecated.As of release 2.1, replaced byFilePlanRoleService.assignRoleToAuthority(NodeRef, String, String)voidbootstrapDefaultRoles(NodeRef rmRootNode) Deprecated.As of release 2.1, operation no longer supportedcreateRole(NodeRef rmRootNode, String role, String roleDisplayLabel, Set<Capability> capabilities) Deprecated.As of release 2.1, replaced byFilePlanRoleService.createRole(NodeRef, String, String, Set)voiddeletePermission(NodeRef nodeRef, String authority, String permission) Deprecated.As of release 2.1, replaced byFilePlanPermissionService.deletePermission(NodeRef, String, String)voiddeleteRole(NodeRef rmRootNode, String role) Deprecated.As of release 2.1, replaced byFilePlanRoleService.deleteRole(NodeRef, String)booleanexistsRole(NodeRef rmRootNode, String role) Deprecated.As of release 2.1, replaced byFilePlanRoleService.existsRole(NodeRef, String)getAllRolesContainerGroup(NodeRef filePlan) Deprecated.As of release 2.1, replaced byFilePlanRoleService.getAllRolesContainerGroup(NodeRef)Deprecated.As of release 2.1, replaced byModelSecurityService.getProtectedAspects()Deprecated.As of release 2.1, replaced byModelSecurityService.getProtectedProperties()Deprecated.As of release 2.1, replaced byFilePlanRoleService.getRole(NodeRef, String)Deprecated.As of release 2.1, replaced byFilePlanRoleService.getRoles(NodeRef)getRolesByUser(NodeRef rmRootNode, String user) Deprecated.As of release 2.1, replaced byFilePlanRoleService.getRolesByUser(NodeRef, String)booleanhasRMAdminRole(NodeRef rmRootNode, String user) Deprecated.As of release 2.1, replaced byFilePlanRoleService.hasRMAdminRole(NodeRef, String)voidsetPermission(NodeRef nodeRef, String authority, String permission) Deprecated.As of release 2.1, replaced byFilePlanPermissionService.setPermission(NodeRef, String, String)updateRole(NodeRef rmRootNode, String role, String roleDisplayLabel, Set<Capability> capabilities) Deprecated.As of release 2.1, replaced byFilePlanRoleService.updateRole(NodeRef, String, String, Set)
-
Method Details
-
bootstrapDefaultRoles
Deprecated.As of release 2.1, operation no longer supportedCreates the initial set of default roles for a root records management node- Parameters:
rmRootNode- root node
-
getAllRolesContainerGroup
Deprecated.As of release 2.1, replaced byFilePlanRoleService.getAllRolesContainerGroup(NodeRef)Returns the name of the container group for all roles of a specified file plan.- Parameters:
filePlan- file plan node reference- Returns:
- String group name
-
getRoles
Deprecated.As of release 2.1, replaced byFilePlanRoleService.getRoles(NodeRef)Get all the available roles for the given records management root node -
getRolesByUser
Deprecated.As of release 2.1, replaced byFilePlanRoleService.getRolesByUser(NodeRef, String)Gets the roles for a given user- Parameters:
rmRootNode-user-- Returns:
-
getRole
Deprecated.As of release 2.1, replaced byFilePlanRoleService.getRole(NodeRef, String)Get a role by name- Parameters:
rmRootNode-role-- Returns:
-
existsRole
Deprecated.As of release 2.1, replaced byFilePlanRoleService.existsRole(NodeRef, String)Indicate whether a role exists for a given records management root node- Parameters:
rmRootNode-role-- Returns:
-
hasRMAdminRole
Deprecated.As of release 2.1, replaced byFilePlanRoleService.hasRMAdminRole(NodeRef, String)Determines whether the given user has the RM Admin role- Parameters:
rmRootNode- RM root nodeuser- user name to check- Returns:
- true if the user has the RM Admin role, false otherwise
-
createRole
@Deprecated Role createRole(NodeRef rmRootNode, String role, String roleDisplayLabel, Set<Capability> capabilities) Deprecated.As of release 2.1, replaced byFilePlanRoleService.createRole(NodeRef, String, String, Set)Create a new role- Parameters:
rmRootNode-role-roleDisplayLabel-capabilities-- Returns:
-
updateRole
@Deprecated Role updateRole(NodeRef rmRootNode, String role, String roleDisplayLabel, Set<Capability> capabilities) Deprecated.As of release 2.1, replaced byFilePlanRoleService.updateRole(NodeRef, String, String, Set)Update an existing role- Parameters:
rmRootNode-role-roleDisplayLabel-capabilities-- Returns:
-
deleteRole
Deprecated.As of release 2.1, replaced byFilePlanRoleService.deleteRole(NodeRef, String)Delete a role- Parameters:
rmRootNode-role-
-
assignRoleToAuthority
Deprecated.As of release 2.1, replaced byFilePlanRoleService.assignRoleToAuthority(NodeRef, String, String)Assign a role to an authority- Parameters:
authorityName-rmRootNode-role-
-
setPermission
Deprecated.As of release 2.1, replaced byFilePlanPermissionService.setPermission(NodeRef, String, String)Sets a permission on a RM object. Assumes allow is true. Cascades permission down to record folder. Cascades ReadRecord up to file plan.- Parameters:
nodeRef- node referenceauthority- authoritypermission- permission
-
deletePermission
Deprecated.As of release 2.1, replaced byFilePlanPermissionService.deletePermission(NodeRef, String, String)Deletes a permission from a RM object. Cascades removal down to record folder.- Parameters:
nodeRef- node referenceauthority- authoritypermission- permission
-
getProtectedAspects
Deprecated.As of release 2.1, replaced byModelSecurityService.getProtectedAspects() -
getProtectedProperties
Deprecated.As of release 2.1, replaced byModelSecurityService.getProtectedProperties()
-
ModelSecurityService,FilePlanRoleServiceandFilePlanPermissionService