|
|||||||||
| 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. |
DotNotation |
getDotNotation()
Gets the dot notation identification of this resource version. |
java.lang.String |
getExternalID()
Gets the external ID describing this revision of the item. |
java.lang.String |
getExternalURL()
Gets the external URL describing this revision of the item. |
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. |
int |
getPresentationID()
Returns the unique integer identifier for this resource. |
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 |
setExternalID(java.lang.String externalID)
Sets the external ID describing this revision of the item. |
void |
setExternalURL(java.lang.String externalURL)
Sets the external URL describing this revision of the item. |
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 |
updateRevisionComment(java.lang.String comment)
Change the revision comment for this view member |
| Methods inherited from class com.starteam.VersionedObject.WebCacheVersionedObject |
|---|
getRevisionNumber, getRootObjectID, getViewVersion, isFromHistory |
| Methods inherited from class com.starteam.TrackedObject.WebCacheTrackedObject |
|---|
getModifiedBy, getModifiedTime |
| Methods inherited from class com.starteam.LiveObject.WebCacheLiveObject |
|---|
addTo, equals, getContext, getCreatedBy, getCreatedTime, getDisplayName, getID, 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 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 DotNotation getDotNotation()
The first version added to the repository will have a dot notation of
"1.0". Each new revision will increment the version number
portion so the second revision would be "1.1".
When an item branches a new branch number will be issued and revision
will start counting from 0 again. For example, branching from version
"1.2" might result in "1.2.5.0" after which the
next version will be "1.2.5.1".
The value 5 in the previous example was assigned by the server based on the number of branches already made from the revision being branched.
public int getPresentationID()
public java.lang.String getComment()
public java.lang.String getExternalID()
public void setExternalID(java.lang.String externalID)
externalID - The external ID for the next revision of this item.public java.lang.String getExternalURL()
public void setExternalURL(java.lang.String externalURL)
externalURL - The external URL for the next revision of this item.public 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 updateRevisionComment(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 | ||||||||