public class RoleDeclarativeWebScript
extends org.springframework.extensions.webscripts.DeclarativeWebScript
| Modifier and Type | Class and Description |
|---|---|
class |
RoleDeclarativeWebScript.AuthorityItem
Authority Item Helper Class
|
class |
RoleDeclarativeWebScript.RoleItem
Role Item Helper Class
|
| Modifier and Type | Field and Description |
|---|---|
protected org.alfresco.service.cmr.security.AuthorityService |
authorityService
Authority service
|
protected FilePlanRoleService |
filePlanRoleService
File plan role service
|
protected FilePlanService |
filePlanService
File plan service
|
| Constructor and Description |
|---|
RoleDeclarativeWebScript() |
| Modifier and Type | Method and Description |
|---|---|
protected Set<RoleDeclarativeWebScript.RoleItem> |
createRoleItems(org.alfresco.service.cmr.repository.NodeRef filePlan,
Set<Role> roles)
Create role items
|
protected Set<RoleDeclarativeWebScript.RoleItem> |
createRoleItems(org.alfresco.service.cmr.repository.NodeRef filePlan,
Set<Role> roles,
boolean showAuths)
Create role items
|
protected org.alfresco.service.cmr.repository.NodeRef |
getFilePlan(org.springframework.extensions.webscripts.WebScriptRequest req)
Utility method to get the file plan from the passed parameters.
|
void |
setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService) |
void |
setFilePlanRoleService(FilePlanRoleService filePlanRoleService) |
void |
setFilePlanService(FilePlanService filePlanService) |
execute, executeFinallyImpl, executeImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateaddModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toStringprotected FilePlanService filePlanService
protected FilePlanRoleService filePlanRoleService
protected org.alfresco.service.cmr.security.AuthorityService authorityService
public void setFilePlanService(FilePlanService filePlanService)
filePlanService - file plan servicepublic void setFilePlanRoleService(FilePlanRoleService filePlanRoleService)
filePlanRoleService - file plan role servicepublic void setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)
authorityService - authority serviceprotected org.alfresco.service.cmr.repository.NodeRef getFilePlan(org.springframework.extensions.webscripts.WebScriptRequest req)
req - protected Set<RoleDeclarativeWebScript.RoleItem> createRoleItems(org.alfresco.service.cmr.repository.NodeRef filePlan, Set<Role> roles)
filePlan - roles - protected Set<RoleDeclarativeWebScript.RoleItem> createRoleItems(org.alfresco.service.cmr.repository.NodeRef filePlan, Set<Role> roles, boolean showAuths)
filePlan - roles - showAuths - Copyright © 2005–2018 Alfresco Software. All rights reserved.