Class UserRightsReportGet
- java.lang.Object
-
- org.springframework.extensions.webscripts.AbstractWebScript
-
- org.springframework.extensions.webscripts.DeclarativeWebScript
-
- org.alfresco.module.org_alfresco_module_rm.script.UserRightsReportGet
-
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
public class UserRightsReportGet extends org.springframework.extensions.webscripts.DeclarativeWebScript
Implementation for Java backed webscript to return user rights report.- Author:
- Gavin Cornwell
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
UserRightsReportGet.GroupModel
Class to represent a group for use in a Freemarker template.class
UserRightsReportGet.RoleModel
Class to represent a role for use in a Freemarker template.class
UserRightsReportGet.UserModel
Class to represent a user for use in a Freemarker template.
-
Field Summary
Fields Modifier and Type Field Description protected org.alfresco.service.cmr.security.AuthorityService
authorityService
protected FilePlanRoleService
filePlanRoleService
protected FilePlanService
filePlanService
protected org.alfresco.service.cmr.repository.NodeService
nodeService
protected org.alfresco.service.cmr.security.PersonService
personService
-
Constructor Summary
Constructors Constructor Description UserRightsReportGet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
void
setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)
Sets the AuthorityService instancevoid
setFilePlanRoleService(FilePlanRoleService filePlanRoleService)
void
setFilePlanService(FilePlanService filePlanService)
void
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the NodeService instancevoid
setPersonService(org.alfresco.service.cmr.security.PersonService personService)
Sets the PersonService instance-
Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, 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
-
-
-
-
Field Detail
-
authorityService
protected org.alfresco.service.cmr.security.AuthorityService authorityService
-
personService
protected org.alfresco.service.cmr.security.PersonService personService
-
nodeService
protected org.alfresco.service.cmr.repository.NodeService nodeService
-
filePlanRoleService
protected FilePlanRoleService filePlanRoleService
-
filePlanService
protected FilePlanService filePlanService
-
-
Method Detail
-
setAuthorityService
public void setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)
Sets the AuthorityService instance- Parameters:
authorityService
- AuthorityService instance
-
setPersonService
public void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
Sets the PersonService instance- Parameters:
personService
- PersonService instance
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the NodeService instance- Parameters:
nodeService
- NodeService instance
-
setFilePlanRoleService
public void setFilePlanRoleService(FilePlanRoleService filePlanRoleService)
- Parameters:
filePlanRoleService
- file plan role service
-
setFilePlanService
public void setFilePlanService(FilePlanService filePlanService)
- Parameters:
filePlanService
- file plan service
-
executeImpl
protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
- Overrides:
executeImpl
in classorg.springframework.extensions.webscripts.DeclarativeWebScript
-
-