Class CmsPrincipalBean

java.lang.Object
org.opencms.gwt.shared.CmsPrincipalBean
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsPrincipalBean extends 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 Details

    • CmsPrincipalBean

      The default constructor.

    • CmsPrincipalBean

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

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

    • getDescription

      Returns the description.

      Returns:
      the description
    • getName

      public String getName()
      Returns the name.

      Returns:
      the name
    • isGroup

      public boolean isGroup()
      Returns the isGroup.

      Returns:
      the isGroup
    • setDescription

      public void setDescription(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(String name)
      Sets the name.

      Parameters:
      name - the name to set