Class AbstractRmAuthorities
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.module.org_alfresco_module_rm.script.admin.RoleDeclarativeWebScript
org.alfresco.repo.web.scripts.roles.AbstractRmAuthorities
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
- Direct Known Subclasses:
RmAuthoritiesDelete
,RmAuthoritiesPost
Abstract class for adding/removing a user/group to/from a role
This class contains the common methods needed in the sub classes.
- Since:
- 2.1
- Author:
- Tuna Aksoy
-
Nested Class Summary
Nested classes/interfaces inherited from class org.alfresco.module.org_alfresco_module_rm.script.admin.RoleDeclarativeWebScript
RoleDeclarativeWebScript.AuthorityItem, RoleDeclarativeWebScript.RoleItem
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
-
Field Summary
Fields inherited from class org.alfresco.module.org_alfresco_module_rm.script.admin.RoleDeclarativeWebScript
authorityService, filePlanRoleService, filePlanService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getAuthorityName
(org.springframework.extensions.webscripts.WebScriptRequest req) Util method for getting the authorityName from the requestprotected NodeRef
getFilePlan
(org.springframework.extensions.webscripts.WebScriptRequest req) Util method for getting the nodeRef from the requestprotected String
getRoleId
(org.springframework.extensions.webscripts.WebScriptRequest req) Util method for getting the roleId from the requestMethods inherited from class org.alfresco.module.org_alfresco_module_rm.script.admin.RoleDeclarativeWebScript
createRoleItems, createRoleItems, setAuthorityService, setFilePlanRoleService, setFilePlanService
Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
Constructor Details
-
AbstractRmAuthorities
public AbstractRmAuthorities()
-
-
Method Details
-
getFilePlan
Util method for getting the nodeRef from the request- Overrides:
getFilePlan
in classRoleDeclarativeWebScript
- Parameters:
req
- The webscript request- Returns:
- The nodeRef passed in the request
-
getRoleId
Util method for getting the roleId from the request- Parameters:
req
- The webscript request- Returns:
- The role id passed in the request
-
getAuthorityName
Util method for getting the authorityName from the request- Parameters:
req
- The webscript request- Returns:
- The authorityName passed in the request
-