Class AbstractRmAuthorities

  • All Implemented Interfaces:
    org.springframework.extensions.webscripts.WebScript
    Direct Known Subclasses:
    RmAuthoritiesDelete, RmAuthoritiesPost

    public class AbstractRmAuthorities
    extends RoleDeclarativeWebScript
    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
    • Constructor Detail

      • AbstractRmAuthorities

        public AbstractRmAuthorities()
    • Method Detail

      • getFilePlan

        protected org.alfresco.service.cmr.repository.NodeRef getFilePlan​(org.springframework.extensions.webscripts.WebScriptRequest req)
        Util method for getting the nodeRef from the request
        Overrides:
        getFilePlan in class RoleDeclarativeWebScript
        Parameters:
        req - The webscript request
        Returns:
        The nodeRef passed in the request
      • getRoleId

        protected String getRoleId​(org.springframework.extensions.webscripts.WebScriptRequest req)
        Util method for getting the roleId from the request
        Parameters:
        req - The webscript request
        Returns:
        The role id passed in the request
      • getAuthorityName

        protected String getAuthorityName​(org.springframework.extensions.webscripts.WebScriptRequest req)
        Util method for getting the authorityName from the request
        Parameters:
        req - The webscript request
        Returns:
        The authorityName passed in the request