public class Group extends Object
Constructor and Description |
---|
Group()
Default constructor.
|
Group(String name,
String description)
Constructor.
|
Group(String name,
String description,
boolean inheritingRoles)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description.
|
List<Group> |
getMemberGroups()
Returns the modifiable list of member groups.
|
List<User> |
getMemberUsers() |
String |
getName()
Returns the display name.
|
boolean |
isInheritingRoles()
Indicates if the roles of the parent group should be inherited.
|
void |
setDescription(String description)
Sets the description.
|
void |
setInheritingRoles(boolean inheritingRoles)
Indicates if the roles of the parent group should be inherited.
|
void |
setMemberGroups(List<Group> memberGroups)
Sets the modifiable list of member groups.
|
void |
setMemberUsers(List<User> memberUsers)
Sets the modifiable list of member user references.
|
void |
setName(String name)
Sets the display name.
|
String |
toString() |
public Group()
public Group(String name, String description)
name
- The display name.description
- The description.public String getDescription()
public List<Group> getMemberGroups()
public String getName()
public boolean isInheritingRoles()
public void setDescription(String description)
description
- The description.public void setInheritingRoles(boolean inheritingRoles)
inheritingRoles
- True if the roles of the parent group should be inherited.public void setMemberGroups(List<Group> memberGroups)
memberGroups
- A list of member groups.public void setMemberUsers(List<User> memberUsers)
memberUsers
- A list of member user references.public void setName(String name)
name
- The display name.Copyright © 2005–2016. All rights reserved.