Class CmsPrincipalBean

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

    public class CmsPrincipalBean
    extends java.lang.Object
    implements com.google.gwt.user.client.rpc.IsSerializable
    A bean that holds the informations of a principal to show the availability dialog.

    Since:
    8.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsPrincipalBean()
      The default constructor.
      CmsPrincipalBean​(java.lang.String name, java.lang.String description, boolean isGruop)
      The public constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Returns the description.
      java.lang.String getName()
      Returns the name.
      boolean isGroup()
      Returns the isGroup.
      void setDescription​(java.lang.String description)
      Sets the description.
      void setGroup​(boolean isGroup)
      Sets the isGroup.
      void setName​(java.lang.String name)
      Sets the name.
      • Methods inherited from class java.lang.Object

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

      • CmsPrincipalBean

        public CmsPrincipalBean​(java.lang.String name,
                                java.lang.String description,
                                boolean isGruop)
        The public constructor.

        Parameters:
        name - the name of the principal
        description - the description
        isGruop - the group flag
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Returns the description.

        Returns:
        the description
      • getName

        public java.lang.String getName()
        Returns the name.

        Returns:
        the name
      • isGroup

        public boolean isGroup()
        Returns the isGroup.

        Returns:
        the isGroup
      • setDescription

        public void setDescription​(java.lang.String description)
        Sets the description.

        Parameters:
        description - the description to set
      • setGroup

        public void setGroup​(boolean isGroup)
        Sets the isGroup.

        Parameters:
        isGroup - the isGroup to set
      • setName

        public void setName​(java.lang.String name)
        Sets the name.

        Parameters:
        name - the name to set