Class 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.
      • Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript

        org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
    • 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 instance
      void setFilePlanRoleService​(FilePlanRoleService filePlanRoleService)  
      void setFilePlanService​(FilePlanService filePlanService)  
      void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
      Sets the NodeService instance
      void 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
    • Constructor Detail

      • UserRightsReportGet

        public UserRightsReportGet()
    • 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 class org.springframework.extensions.webscripts.DeclarativeWebScript