com.starteam
Class Principal.WebCachePrincipal

java.lang.Object
  extended by com.starteam.LiveObject.WebCacheLiveObject
      extended by com.starteam.TrackedObject.WebCacheTrackedObject
          extended by com.starteam.Principal.WebCachePrincipal
Direct Known Subclasses:
Group.WebCacheGroup, User.WebCacheUser
Enclosing class:
Principal

public static class Principal.WebCachePrincipal
extends TrackedObject.WebCacheTrackedObject

Base accessor for cached SDK objects encapsulating the statefulness of objects obtained from the artifact cache.


Method Summary
 int getID()
          Returns this principal's server wide unique integer identifier.
 java.lang.String getName()
          Returns the name of 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
equals, getContext, getCreatedBy, getCreatedTime, getDisplayName, getObjectID, getServer, getType, getValue, getValue, hashCode, isDirty, isNew, refresh, remove, setValue, setValue, toStarTeamURL, update
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isDeleted

public boolean isDeleted()
Determines whether or not this item has been deleted.

As of StarTeam 9.0, we can determine from a ViewMember's properties whether or not it has been deleted.

Returns:
True if this view member is known to have been deleted; false otherwise.

getID

public int getID()
Returns this principal's server wide unique integer identifier.

Overrides:
getID in class LiveObject.WebCacheLiveObject
Returns:
this principal's server wide unique integer identifier.

getName

public java.lang.String getName()
Returns the name of this principal

Returns:
the name of this principal


StarTeam SDK 13.0, Build 31
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.