|
Restlet Framework 2.2.3 Android |
|||||||||
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(java.lang.String name,
java.lang.String description)
Constructor. |
|
Group(java.lang.String name,
java.lang.String description,
boolean inheritingRoles)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the description. |
java.util.List<Group> |
getMemberGroups()
Returns the modifiable list of member groups. |
java.util.List<User> |
getMemberUsers()
|
java.lang.String |
getName()
Returns the display name. |
boolean |
isInheritingRoles()
Indicates if the roles of the parent group should be inherited. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setInheritingRoles(boolean inheritingRoles)
Indicates if the roles of the parent group should be inherited. |
void |
setMemberGroups(java.util.List<Group> memberGroups)
Sets the modifiable list of member groups. |
void |
setMemberUsers(java.util.List<User> memberUsers)
Sets the modifiable list of member user references. |
void |
setName(java.lang.String name)
Sets the display name. |
java.lang.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(java.lang.String name, java.lang.String description)
name
- The display name.description
- The description.public Group(java.lang.String name, java.lang.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 java.lang.String getDescription()
public java.util.List<Group> getMemberGroups()
public java.util.List<User> getMemberUsers()
public java.lang.String getName()
public boolean isInheritingRoles()
public void setDescription(java.lang.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(java.util.List<Group> memberGroups)
memberGroups
- A list of member groups.public void setMemberUsers(java.util.List<User> memberUsers)
memberUsers
- A list of member user references.public void setName(java.lang.String name)
name
- The display name.public java.lang.String toString()
toString
in class java.lang.Object
|
Restlet Framework 2.2.3 Android |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |