|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.LiveObject.WebCacheLiveObject
com.starteam.TrackedObject.WebCacheTrackedObject
com.starteam.Principal.WebCachePrincipal
com.starteam.Group.WebCacheGroup
public static class Group.WebCacheGroup
User accessor for cached SDK Users contained objects are obtained from the artifact cache
| Method Summary | |
|---|---|
static Group.WebCacheGroup |
create(ArtifactCacheManager.Context cntxt)
Create a new Group |
java.lang.String |
getDescription()
Returns the group description. |
java.lang.String |
getFullName()
Returns a qualified name for the group, showing both the group and its parents. |
Group.GroupType |
getGroupType()
Gets the type (Team, User, Unknown) of this Group. |
java.lang.String |
getName()
Returns the group name. |
Group.WebCacheGroup |
getParent()
Returns this groups's parent . |
int |
getPresentationID()
Returns the unique integer identifier for this group. |
Group.WebCacheGroup[] |
getSubGroups()
Returns all of the sub-Groups for which this Group is the parent. |
User.WebCacheUser[] |
getUsers()
Returns a list of User objects that directly belong to this group. |
boolean |
isAdministrator()
Return true if this is the 'Administrators' Group. |
boolean |
isBuiltin()
Return true if this is a builtin Group. |
boolean |
isMember(User.WebCacheUser user)
Return true if the specified user can be considered a member of this Group. |
boolean |
isRoot()
Returns true if this is a top-level group with no parent group. |
void |
setDescription(java.lang.String description)
Changes the group description. |
void |
setGroupType(Group.GroupType type)
Sets the type of this Group. |
void |
setName(java.lang.String name)
Changes the group name. |
void |
setParent(Group.WebCacheGroup parent)
Change/Assign the parent for this group. |
| Methods inherited from class com.starteam.Principal.WebCachePrincipal |
|---|
canAccessContainerForReading, canAccessForReading, canCreateArtifactType, getID, hasContainerRight, hasContainerRight, hasContainerRights, hasRight, hasRights, isDeleted |
| Methods inherited from class com.starteam.TrackedObject.WebCacheTrackedObject |
|---|
getModifiedBy, getModifiedTime |
| Methods inherited from class com.starteam.LiveObject.WebCacheLiveObject |
|---|
addTo, equals, getContext, getCreatedBy, getCreatedTime, getDisplayName, getObjectID, getServer, getType, getValue, getValue, hashCode, hasValue, isDirty, isNew, refresh, remove, removeFrom, setValue, setValue, toStarTeamURL, update |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Group.WebCacheGroup create(ArtifactCacheManager.Context cntxt)
cntxt - the User Web Session Context
public void setParent(Group.WebCacheGroup parent)
parent - the new parent for this grouppublic Group.WebCacheGroup getParent()
Group.WebCacheGroup.isRoot()public User.WebCacheUser[] getUsers()
public Group.WebCacheGroup[] getSubGroups()
ServerException - if the logged in user does not have appropriate permissionsGroup.WebCacheGroup.setParent(com.starteam.Group.WebCacheGroup),
ServerAdministration.getGroups()public boolean isMember(User.WebCacheUser user)
user - the user being checked for group membership
public java.lang.String getName()
getName in class Principal.WebCachePrincipalGroup.WebCacheGroup.getFullName()public int getPresentationID()
public java.lang.String getFullName()
Group.WebCacheGroup.getName(),
Group.WebCacheGroup.getParent()public void setName(java.lang.String name)
update to save this
change.
name - the new name for the group.LiveObject.WebCacheLiveObject.update()public java.lang.String getDescription()
ServerAdministration.getGroups()public void setDescription(java.lang.String description)
update to save
this change.
description - the new description for the group.LiveObject.WebCacheLiveObject.update()public Group.GroupType getGroupType()
Group.GroupType,
Group.Type.TypeProperty,
Group.Type.PropertyCollection.TYPEpublic void setGroupType(Group.GroupType type)
type - The new status value for this project.public boolean isRoot()
Group.WebCacheGroup.getParent()public boolean isBuiltin()
public boolean isAdministrator()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||