Class View

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

    public class View
    extends java.lang.Object
    implements fr.paris.lutece.portal.service.rbac.RBACResource
    This class provides the object View
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String RESOURCE_TYPE  
    • Constructor Summary

      Constructors 
      Constructor Description
      View()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<ViewAction> getActions()  
      java.lang.String getDescription()
      Returns the profile's description
      java.lang.String getKey()
      Gets the profile key
      java.lang.String getResourceId()
      RBAC resource implementation
      java.lang.String getResourceTypeCode()
      RBAC resource implementation
      void setActions​(java.util.List<ViewAction> profileActions)
      set a list of action can be use for the directory
      void setDescription​(java.lang.String strDescription)
      Sets the profile's description
      void setKey​(java.lang.String strKey)
      Sets the profile key
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • View

        public View()
    • Method Detail

      • getKey

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

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

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

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

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

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

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

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