Package org.opencms.gwt.shared
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 Summary
ConstructorDescriptionThe default constructor.CmsPrincipalBean
(String name, String description, boolean isGruop) The public constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the description.getName()
Returns the name.boolean
isGroup()
Returns the isGroup.void
setDescription
(String description) Sets the description.void
setGroup
(boolean isGroup) Sets the isGroup.void
Sets the name.
-
Constructor Details
-
CmsPrincipalBean
public CmsPrincipalBean()The default constructor. -
CmsPrincipalBean
The public constructor.- Parameters:
name
- the name of the principaldescription
- the descriptionisGruop
- the group flag
-
-
Method Details
-
getDescription
Returns the description.- Returns:
- the description
-
getName
Returns the name.- Returns:
- the name
-
isGroup
Returns the isGroup.- Returns:
- the isGroup
-
setDescription
Sets the description.- Parameters:
description
- the description to set
-
setGroup
Sets the isGroup.- Parameters:
isGroup
- the isGroup to set
-
setName
Sets the name.- Parameters:
name
- the name to set
-