|
|||||||||
| 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.VersionedObject.WebCacheVersionedObject
com.starteam.ViewMember.WebCacheViewMember
public static class ViewMember.WebCacheViewMember
ViewMember accessor for cached SDK ViewMembers contained objects are obtained from the artifact cache
| Method Summary | |
|---|---|
Content.WebCacheContent[] |
getAttachments()
Returns an array of attachments for this ViewMember or an empty array if there are none or if this ViewMember does not subscribe to the Attachment Service |
java.lang.String |
getComment()
returns the Comment attached to this view member |
java.lang.String |
getDisplayValue(Property.WebCacheProperty prop)
Gets the value of a property in a form suitable for display. |
ViewMember.WebCacheViewMember[] |
getHistory()
given a ViewMember from the cache, return the history of all revisions for this view member |
User.WebCacheUser |
getLocker()
Returns the User object of the user who has this item
exclusively locked, or null if no one has it locked. |
ACE.WebCacheACE[] |
getRights()
Return the access rights assigned to this filter |
Share.WebCacheShare[] |
getShareTree()
given a ViewMember from the cache, return it's share tree |
Trace.WebCacheTrace[] |
getTraces()
Given a ViewMember in this artifact cache, resolve it to a set of locally cached Traces. |
View.WebCacheView |
getView()
Gets the View containing this ViewMember. |
boolean |
isDeleted()
Determines whether or not this item has been deleted. |
boolean |
isFloating()
returns true if this artifact is floating |
boolean |
isPinned()
returns true if this artifact is pinned |
boolean |
isUnread()
Determines whether or not this artifact has been marked read in the current user context. |
void |
lock()
lock the underlying viewmember using a pooled connection An exclusive lock is acquired on this viewmember alone, and is not transacted In the process, break a lock owned by another user, if any. |
void |
lock(ViewMember.LockType lt,
boolean breakLock)
lock the underlying viewmember using a pooled connection The lock is acquired on this viewmember alone, and is not transacted |
void |
modifyReadStatus(boolean bSetAsRead)
Modifies this item's read status for the user in this context. |
void |
pinTo(DateTime dt)
Changes the behavior of this artifact such that it is pinned to the specified time. |
void |
setAttachments(Content.WebCacheContent[] content)
Save the attachments for this ViewMember in a StarTeam Transaction, perhaps as part of a larger set of view members which need to be saved Note that this call does not save the content. |
void |
setRights(ACE.WebCacheACE[] aces)
Assign the specified access rights to this view member |
void |
unlock()
unlock the underlying viewmember using a pooled connection The lock is released on this viewmember alone, and is not transacted |
void |
unpin()
Changes the behavior of this artifact such that it floats at the tip. |
void |
updateRevisionComent(java.lang.String comment)
Change the revision comment for this view member |
| Methods inherited from class com.starteam.VersionedObject.WebCacheVersionedObject |
|---|
getDotNotation, getRevisionNumber, getRootObjectID, getViewVersion, isFromHistory |
| Methods inherited from class com.starteam.TrackedObject.WebCacheTrackedObject |
|---|
getModifiedBy, getModifiedTime |
| Methods inherited from class com.starteam.LiveObject.WebCacheLiveObject |
|---|
equals, getContext, getCreatedBy, getCreatedTime, getDisplayName, getID, 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 |
|---|
public View.WebCacheView getView()
View containing this ViewMember.
WebCacheView containing this WebCacheViewMember.ViewMember.isDisembodied()
public void lock(ViewMember.LockType lt,
boolean breakLock)
lt - the type of Lock to acquire - the most common lock type is an exclusive lockbreakLock - true to break a lock owned by another userfor transacted locking
i.e. lock acquisition for a set of view members taken togetherpublic void lock()
for transacted locking
i.e. lock acquisition for a set of view members taken togetherpublic User.WebCacheUser getLocker()
User object of the user who has this item
exclusively locked, or null if no one has it locked.
User object of the exclusive locker of this
item.ViewMember.Type.ExclusiveLockerProperty.NAMEpublic java.lang.String getComment()
getComment in class VersionedObject.WebCacheVersionedObjectpublic void unlock()
for transacted unlocking
i.e. locks release for a set of view members taken togetherpublic void setRights(ACE.WebCacheACE[] aces)
aces - the rightspublic ACE.WebCacheACE[] getRights()
public ViewMember.WebCacheViewMember[] getHistory()
public Share.WebCacheShare[] getShareTree()
public void updateRevisionComent(java.lang.String comment)
comment - the new revision commentpublic Content.WebCacheContent[] getAttachments()
public void setAttachments(Content.WebCacheContent[] content)
content - an array of attachments to save in a transactionpublic Trace.WebCacheTrace[] getTraces()
public java.lang.String getDisplayValue(Property.WebCacheProperty prop)
prop - A property of this item.
public boolean isDeleted()
As of StarTeam 9.0, we can determine from a ViewMember's properties whether or not it has been deleted.
public boolean isFloating()
public boolean isPinned()
public void pinTo(DateTime dt)
dt - The time at which the configuration is pinned or
NULL for this artifact to float at the tipViewMember.WebCacheViewMember.isFloating(),
ViewMember.WebCacheViewMember.isPinned(),
ViewMember.WebCacheViewMember.unpin()public void unpin()
ViewMember.WebCacheViewMember.isFloating(),
ViewMember.WebCacheViewMember.isPinned(),
ViewMember.WebCacheViewMember.pinTo(DateTime)public boolean isUnread()
public void modifyReadStatus(boolean bSetAsRead)
File or Folder items cannot be marked as read.
bSetAsRead - this item's new read statusViewMember.Type.UnreadByUsersProperty.NAME
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||