Class RoleDeclarativeWebScript

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.module.org_alfresco_module_rm.script.admin.RoleDeclarativeWebScript
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
Direct Known Subclasses:
AbstractRmAuthorities, RmRoleDelete, RmRoleGet, RmRolePut, RmRolesGet, RmRolesPost

public class RoleDeclarativeWebScript extends org.springframework.extensions.webscripts.DeclarativeWebScript
Base declarative web script for role API.
Since:
2.1
Author:
Roy Wetherall
  • Field Details

    • filePlanService

      protected FilePlanService filePlanService
      File plan service
    • filePlanRoleService

      protected FilePlanRoleService filePlanRoleService
      File plan role service
    • authorityService

      protected AuthorityService authorityService
      Authority service
  • Constructor Details

    • RoleDeclarativeWebScript

      public RoleDeclarativeWebScript()
  • Method Details

    • setFilePlanService

      public void setFilePlanService(FilePlanService filePlanService)
      Parameters:
      filePlanService - file plan service
    • setFilePlanRoleService

      public void setFilePlanRoleService(FilePlanRoleService filePlanRoleService)
      Parameters:
      filePlanRoleService - file plan role service
    • setAuthorityService

      public void setAuthorityService(AuthorityService authorityService)
      Parameters:
      authorityService - authority service
    • getFilePlan

      protected NodeRef getFilePlan(org.springframework.extensions.webscripts.WebScriptRequest req)
      Utility method to get the file plan from the passed parameters.
      Parameters:
      req -
      Returns:
    • createRoleItems

      protected Set<RoleDeclarativeWebScript.RoleItem> createRoleItems(NodeRef filePlan, Set<Role> roles)
      Create role items
      Parameters:
      filePlan -
      roles -
      Returns:
    • createRoleItems

      protected Set<RoleDeclarativeWebScript.RoleItem> createRoleItems(NodeRef filePlan, Set<Role> roles, boolean showAuths)
      Create role items
      Parameters:
      filePlan -
      roles -
      showAuths -
      Returns: