|
|||||||||
| 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
public static class Principal.WebCachePrincipal
Base accessor for cached SDK objects encapsulating the statefulness of objects obtained from the artifact cache.
| Method Summary | |
|---|---|
boolean |
canAccessContainerForReading(ArtifactCacheManager.Securable s)
returns true if this securable's container is accessible for reading by this Principal |
boolean |
canAccessForReading(ArtifactCacheManager.Securable s)
returns true if this securable's container is accessible for reading by this Principal |
boolean |
canCreateArtifactType(ArtifactCacheManager.SecurableContainer sc,
Type.WebCacheType t)
true if this principal has the right to create types in the securable container for the type |
int |
getID()
Returns this principal's server wide unique integer identifier. |
java.lang.String |
getName()
Returns the name of this principal |
boolean |
hasContainerRight(ArtifactCacheManager.SecurableContainer sc,
Type.WebCacheType t,
Permission p)
true if the securable container has the selected rights for this Principal and specified Type |
boolean |
hasContainerRight(ArtifactCacheManager.Securable s,
Permission p)
true if the securable's container has the selected right for this Principal |
boolean |
hasContainerRights(ArtifactCacheManager.Securable s,
PermissionCollection pc)
true if this securable's container has the selected rights for the specified Principal |
boolean |
hasRight(ArtifactCacheManager.Securable s,
Permission p)
returns true if this securable has the selected right for the specified Principal |
boolean |
hasRights(ArtifactCacheManager.Securable s,
PermissionCollection pc)
returns true if the securable has the selected rights for this Principal |
boolean |
isDeleted()
Determines whether or not this item has been deleted. |
| 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 boolean canAccessContainerForReading(ArtifactCacheManager.Securable s)
s - the securable whose container object (artifact) is being
tested
public boolean canAccessForReading(ArtifactCacheManager.Securable s)
s - the securable whose container object (artifact) is being
tested
public boolean canCreateArtifactType(ArtifactCacheManager.SecurableContainer sc,
Type.WebCacheType t)
sc - the securable container being testedt - the type to check create permissions for
public boolean hasContainerRight(ArtifactCacheManager.Securable s,
Permission p)
s - the securable whose container object (artifact) is being
testedp - the permission (access right) in question
public boolean hasContainerRights(ArtifactCacheManager.Securable s,
PermissionCollection pc)
principal - the principal whose rights are being checkeds - the securable whose container object (artifact) is being
testedpc - the permissions (access rights) in question
public boolean hasContainerRight(ArtifactCacheManager.SecurableContainer sc,
Type.WebCacheType t,
Permission p)
sc - the securable container being testedt - the type to check permissions for in the securable containerp - the permission (access right) in question
public boolean hasRight(ArtifactCacheManager.Securable s,
Permission p)
s - the securable object (artifact) being testedp - the permission (access right) in question
public boolean hasRights(ArtifactCacheManager.Securable s,
PermissionCollection pc)
s - the securable object (artifact) being testedpc - the permissions (access rights) in question
public boolean isDeleted()
As of StarTeam 9.0, we can determine from a ViewMember's properties whether or not it has been deleted.
public int getID()
getID in class LiveObject.WebCacheLiveObjectpublic java.lang.String getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||