org.opencms.gwt.shared
Class CmsPrincipalBean

java.lang.Object
  extended by 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 Summary
CmsPrincipalBean()
          The default constructor.
CmsPrincipalBean(String name, String description, boolean isGruop)
          The public constructor.
 
Method Summary
 String getDescription()
          Returns the description.
 String getName()
          Returns the name.
 boolean isGroup()
          Returns the isGroup.
 void setDescription(String description)
          Sets the description.
 void setGroup(boolean isGroup)
          Sets the isGroup.
 void setName(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()
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 Detail

getDescription

public String 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