|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.security.Group
public class Group
Group that contains member groups and users.
| Constructor Summary | |
|---|---|
Group()
Default constructor. |
|
Group(String name,
String description)
Constructor. |
|
Group(String name,
String description,
boolean inheritingRoles)
Constructor. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Group()
public Group(String name,
String description)
name - The display name.description - The description.
public Group(String name,
String description,
boolean inheritingRoles)
name - The display name.description - The description.inheritingRoles - Indicates if the roles of the parent group should be
inherited.| Method Detail |
|---|
public String getDescription()
public List<Group> getMemberGroups()
public List<User> getMemberUsers()
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.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||