|
||||||||||
| 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 Grouppublic String getId()
getId in class Grouppublic String getName()
getName in class Grouppublic int getNbUsers()
getNbUsers in class Grouppublic int getTotalNbUsers()
getTotalNbUsers in class Grouppublic String getSpecificId()
getSpecificId in class Grouppublic void setDescription(String newDescription)
setDescription in class Grouppublic void setId(String newId)
setId in class Grouppublic void setName(String newName)
setName in class Grouppublic String getDomainId()
getDomainId in class Grouppublic String getSuperGroupId()
getSuperGroupId in class Grouppublic void setDomainId(String newDomainId)
setDomainId in class Grouppublic void setSpecificId(String newSpecificId)
setSpecificId in class Grouppublic void setSuperGroupId(String newSuperGroupId)
setSuperGroupId in class Grouppublic String getDomainName()
public List<? extends Group> getSubGroups()
getSubGroups in class Grouppublic void traceGroup()
traceGroup in class Grouppublic void setUserIds(String[] sUserIds)
setUserIds in class Grouppublic void setRule(String rule)
setRule in class Grouppublic boolean isSynchronized()
isSynchronized in class Grouppublic boolean isRoot()
isRoot in class Grouppublic String[] getUserIds()
getUserIds in class Grouppublic String getRule()
getRule in class Grouppublic int compareTo(Group o)
compareTo in interface Comparable<Group>compareTo in class Grouppublic boolean equals(Object obj)
equals in class Grouppublic int hashCode()
hashCode in class Grouppublic URI getURI()
Exposable
getURI in interface Exposable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||