|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.beans.admin.Group
public class Group
Constructor Summary | |
---|---|
Group()
Constructor |
|
Group(Group toClone)
|
Method Summary | |
---|---|
int |
compareTo(Group o)
|
boolean |
equals(Object obj)
|
static List<Group> |
getAllRoots()
Gets all root groups available in Silverpeas, whatever their domain. |
static List<Group> |
getAllRootsInDomain(String domainId)
Gets all root groups available in the specified domain in Silverpeas. |
List<? extends UserDetail> |
getAllUsers()
Gets the detail about all the users that are in this group (and in the subgroups of this group). |
static Group |
getById(String id)
Gets the group with the specified unique identifier. |
String |
getDescription()
Get the group description |
String |
getDomainId()
Get the domain id where the group is stored |
String |
getId()
Get the group id |
String |
getName()
Get the group name |
int |
getNbUsers()
Gets the number of direct users in this group; the users from its subgroups aren't counted. |
protected static OrganisationController |
getOrganisationController()
|
String |
getRule()
|
String |
getSpecificId()
Get the group specific id |
List<? extends Group> |
getSubGroups()
Gets the direct subgroups of this user group. |
String |
getSuperGroupId()
Get the father group id |
int |
getTotalNbUsers()
Gets the total number of users in this group and in its subgroups. |
String[] |
getUserIds()
Get the list of users in the group |
int |
hashCode()
|
boolean |
isRoot()
Is this group is a root one? |
boolean |
isSynchronized()
|
void |
setDescription(String newDescription)
Set the group description |
void |
setDomainId(String newDomainId)
Set the domain id where the group is stored |
void |
setId(String newId)
Set the group id |
void |
setName(String newName)
Set the group name |
void |
setRule(String rule)
|
void |
setSpecificId(String newSpecificId)
Set the group specific id |
void |
setSuperGroupId(String newSuperGroupId)
Set the father group id |
protected void |
setTotalNbUsers(int nbUsers)
|
void |
setUserIds(String[] sUserIds)
Set the list of users in the group |
void |
traceGroup()
Trace the group's values |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Group()
public Group(Group toClone)
Method Detail |
---|
public static Group getById(String id)
id
- the unique identifier of the group to get.
public static List<Group> getAllRoots()
public static List<Group> getAllRootsInDomain(String domainId)
domainId
- the unique identifier of the domain to which the root groups belong.
public String getId()
public void setId(String newId)
public String getSpecificId()
public void setSpecificId(String newSpecificId)
public String getDomainId()
public void setDomainId(String newDomainId)
public String getSuperGroupId()
public void setSuperGroupId(String newSuperGroupId)
public String getName()
public void setName(String newName)
public String getDescription()
public void setDescription(String newDescription)
public void setUserIds(String[] sUserIds)
public String[] getUserIds()
public void traceGroup()
public int compareTo(Group o)
compareTo
in interface Comparable<Group>
public String getRule()
public void setRule(String rule)
public boolean isSynchronized()
public int getNbUsers()
com.stratelia.webactiv.beans.admin.Group#getTotalNbUsers
method instead.
public int getTotalNbUsers()
protected void setTotalNbUsers(int nbUsers)
protected static OrganisationController getOrganisationController()
public boolean isRoot()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public List<? extends Group> getSubGroups()
public List<? extends UserDetail> getAllUsers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |