|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.beans.admin.Group
com.silverpeas.profile.web.UserGroupProfileEntity
public class UserGroupProfileEntity
The profile of the user group exposable in the WEB. It is a web entity representing a group of users that can be serialized into a given media type (JSON, XML). It is a decorator that decorates a Group object with additional properties concerning its exposition in the WEB.
Constructor Summary | |
---|---|
protected |
UserGroupProfileEntity()
|
Method Summary | |
---|---|
int |
compareTo(Group o)
|
boolean |
equals(Object obj)
|
static UserGroupProfileEntity |
fromGroup(Group group)
Decorates the specified user group with the required WEB exposition features. |
static UserGroupProfileEntity[] |
fromGroups(List<? extends Group> groups,
URI groupsURI)
Decorates the specified user groups with required WEB exposition features. |
URI |
getChildrenUri()
Gets the URI at which its direct children groups can be retrieved. |
String |
getDescription()
|
String |
getDomainId()
|
String |
getDomainName()
|
String |
getId()
|
String |
getName()
|
int |
getNbUsers()
|
URI |
getParentUri()
Gets the URI of its parent group. |
String |
getRule()
|
String |
getSpecificId()
|
List<? extends Group> |
getSubGroups()
|
String |
getSuperGroupId()
|
int |
getTotalNbUsers()
|
URI |
getURI()
Gets the URI at which this resource is published and can be accessed. |
String[] |
getUserIds()
|
URI |
getUsersUri()
|
int |
hashCode()
|
boolean |
isRoot()
|
boolean |
isSynchronized()
|
void |
setDescription(String newDescription)
|
void |
setDomainId(String newDomainId)
|
void |
setId(String newId)
|
void |
setName(String newName)
|
void |
setRule(String rule)
|
void |
setSpecificId(String newSpecificId)
|
void |
setSuperGroupId(String newSuperGroupId)
|
void |
setUserIds(String[] sUserIds)
|
void |
traceGroup()
|
UserGroupProfileEntity |
withAsUri(URI groupUri)
|
Methods inherited from class com.stratelia.webactiv.beans.admin.Group |
---|
getAllRoots, getAllRootsInDomain, getAllUsers, getById, getOrganisationController, setTotalNbUsers |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected UserGroupProfileEntity()
Method Detail |
---|
public static UserGroupProfileEntity fromGroup(Group group)
group
- the user group to decorate.
public static UserGroupProfileEntity[] fromGroups(List<? extends Group> groups, URI groupsURI)
groups
- a list of user groups to decorate.groupsURI
- the URI at which the specified groups are defined.
public UserGroupProfileEntity withAsUri(URI groupUri)
public URI getParentUri()
public URI getChildrenUri()
public URI getUsersUri()
public String getDescription()
getDescription
in class Group
public String getId()
getId
in class Group
public String getName()
getName
in class Group
public int getNbUsers()
getNbUsers
in class Group
public int getTotalNbUsers()
getTotalNbUsers
in class Group
public String getSpecificId()
getSpecificId
in class Group
public void setDescription(String newDescription)
setDescription
in class Group
public void setId(String newId)
setId
in class Group
public void setName(String newName)
setName
in class Group
public String getDomainId()
getDomainId
in class Group
public String getSuperGroupId()
getSuperGroupId
in class Group
public void setDomainId(String newDomainId)
setDomainId
in class Group
public void setSpecificId(String newSpecificId)
setSpecificId
in class Group
public void setSuperGroupId(String newSuperGroupId)
setSuperGroupId
in class Group
public String getDomainName()
public List<? extends Group> getSubGroups()
getSubGroups
in class Group
public void traceGroup()
traceGroup
in class Group
public void setUserIds(String[] sUserIds)
setUserIds
in class Group
public void setRule(String rule)
setRule
in class Group
public boolean isSynchronized()
isSynchronized
in class Group
public boolean isRoot()
isRoot
in class Group
public String[] getUserIds()
getUserIds
in class Group
public String getRule()
getRule
in class Group
public int compareTo(Group o)
compareTo
in interface Comparable<Group>
compareTo
in class Group
public boolean equals(Object obj)
equals
in class Group
public int hashCode()
hashCode
in class Group
public URI getURI()
Exposable
getURI
in interface Exposable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |