Class RBACRole

  • All Implemented Interfaces:
    fr.paris.lutece.api.user.UserRole, java.io.Serializable
    Direct Known Subclasses:
    AdminRole

    public class RBACRole
    extends java.lang.Object
    implements java.io.Serializable, fr.paris.lutece.api.user.UserRole
    This class describes a role used by the administration
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RBACRole()
      Constructor
      RBACRole​(java.lang.String strKey, java.lang.String strDescription)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Returns the role description.
      java.lang.String getKey()
      Returns the role Key
      void setDescription​(java.lang.String strDescription)
      Sets the role description
      void setKey​(java.lang.String strKey)
      Sets the role key
      • Methods inherited from class java.lang.Object

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

      • RBACRole

        public RBACRole()
        Constructor
      • RBACRole

        public RBACRole​(java.lang.String strKey,
                        java.lang.String strDescription)
        Constructor
        Parameters:
        strKey - The Key
        strDescription - The description
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Returns the role Key
        Specified by:
        getKey in interface fr.paris.lutece.api.user.UserRole
        Returns:
        The role Key.
      • setKey

        public void setKey​(java.lang.String strKey)
        Sets the role key
        Specified by:
        setKey in interface fr.paris.lutece.api.user.UserRole
        Parameters:
        strKey - The Key to set.
      • getDescription

        public java.lang.String getDescription()
        Returns the role description.
        Specified by:
        getDescription in interface fr.paris.lutece.api.user.UserRole
        Returns:
        The description.
      • setDescription

        public void setDescription​(java.lang.String strDescription)
        Sets the role description
        Specified by:
        setDescription in interface fr.paris.lutece.api.user.UserRole
        Parameters:
        strDescription - The description to set.