|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.starbase.starteam.CacheRef
|
+--com.starbase.starteam.Group
Represents a StarTeam Group. Only a limited subset of the whole group information is available. The GroupAccount class has the full group information but it is only accessible to user's with the appropriate permissions.
GroupAccount,
Permission.SERVER_ADMIN_USER_ACCOUNTS| Method Summary | |
Group |
copy()
Creates a copy of this Group object. |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
int[] |
fetchMemberUserIDs(boolean bDescendants)
Returns the IDs of all of the users that belong to this group. |
int |
getID()
Returns the integer idenitifier for this group. |
java.lang.String |
getName()
Returns the group's name. |
Server |
getServer()
Returns the Server object to which this group belongs. |
int |
hashCode()
returns a unique hash for all instances of this type |
boolean |
isDeleted()
Returns true if the Group has been deleted. |
boolean |
isEqualTo(Group group)
Compares two Group objects, and their member User IDs. |
boolean |
isMember(int userID)
Return true if the specified user can be considered a member of this Group. |
java.lang.String |
toString()
Returns the group name. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public Group copy()
The copied group will have the same parent server as the original group. The Server object is not copied.
Group.isEqualTo(Group)public boolean isEqualTo(Group group)
The parent Servers are not compared.
group - The Group to be compared with this one.
Group.copy()public Server getServer()
public int getID()
public int[] fetchMemberUserIDs(boolean bDescendants)
bDescendants - true = plus all descendants of group; false = this group only
public boolean isMember(int userID)
userID - the user ID being checked for group membership
public java.lang.String getName()
public boolean isDeleted()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object source)
equals in class java.lang.Objectsource - Object the source to comapre with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||