Class Profile

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.rbac.RBACResource

    public class Profile
    extends Object
    implements fr.paris.lutece.portal.service.rbac.RBACResource
    This class provides the object Profile
    • Constructor Detail

      • Profile

        public Profile()
    • Method Detail

      • getKey

        public String getKey()
        Gets the profile key
        Returns:
        Returns the Key.
      • setKey

        public void setKey​(String strKey)
        Sets the profile key
        Parameters:
        strKey - The Key
      • getDescription

        public String getDescription()
        Returns the profile's description
        Returns:
        Returns the Description.
      • setDescription

        public void setDescription​(String strDescription)
        Sets the profile's description
        Parameters:
        strDescription - The profile's description
      • getResourceId

        public String getResourceId()
        RBAC resource implementation
        Specified by:
        getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
        Returns:
        The resource type code
      • getResourceTypeCode

        public String getResourceTypeCode()
        RBAC resource implementation
        Specified by:
        getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
        Returns:
        The resourceId
      • getActions

        public List<ProfileAction> getActions()
        Returns:
        a list of action can be use for the profile
      • setActions

        public void setActions​(List<ProfileAction> profileActions)
        set a list of action can be use for the directory
        Parameters:
        profileActions - a list of action must be use for the profile