|
|||||||||
| 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
com.starteam.Item.WebCacheItem
public static class Item.WebCacheItem
Item accessor for cached SDK Items contained objects are obtained from the artifact cache
| Method Summary | |
|---|---|
static Item.WebCacheItem |
create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent,
Item.Type.WebCacheItemType typ)
Creates a Item on the server. |
Label.WebCacheLabel[] |
getLabels()
given a view member from the cache, return all labels attached to any version of this view member |
Trace.WebCacheTrace[] |
getLinks()
given a view member from the cache, return all Traces and (old style) internal Links (adapted as pseudo Traces) for which this view member is an end point. |
Folder.WebCacheFolder |
getParentFolder()
Returns the folder in which this item exists. |
void |
moveTo(Folder.WebCacheFolder parent)
Re-parent this item, moving it to the specified Folder as an immediate child This is an 'immediate' operation, executed using the connection pool Note that moving a leaf tree item to a folder has the effect of changing the tree item to a root in the new parent folder. |
void |
moveTo(View.WebCacheView parent)
Re-parent this item, moving it to the specified View as an immediate child This is an 'immediate' operation, executed using the connection pool |
| Methods inherited from class com.starteam.ViewMember.WebCacheViewMember |
|---|
getAttachments, getComment, getDisplayValue, getDotNotation, getExternalID, getExternalURL, getHistory, getLocker, getPresentationID, getRights, getShareTree, getTraces, getView, isDeleted, isFloating, isPinned, isUnread, lock, lock, modifyReadStatus, pinTo, setAttachments, setExternalID, setExternalURL, setRights, unlock, unpin, updateRevisionComment |
| 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 static Item.WebCacheItem create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent,
Item.Type.WebCacheItemType typ)
Item on the server.
This item may be saved by assigning the various properties and then calling
update() on the WebCacheItem object, or it may be added to a
WebCacheViewMemberCollection, which is then saved in a transacted context.
cntxt - the ArtifactCacheManager User Session Contextparent - the parent folder in which this new item will be created.
The parent folder should be from the artifact cachetyp - The type of item to create
Item.WebCacheItem, wrapping a new Itempublic void moveTo(Folder.WebCacheFolder parent)
parent - the new parentfor performing
transacted moves to folderspublic void moveTo(View.WebCacheView parent)
parent - the new parent view (really, the root folder of the specified view)for performing
transacted moves to views or folderspublic Label.WebCacheLabel[] getLabels()
public Trace.WebCacheTrace[] getLinks()
public Folder.WebCacheFolder getParentFolder()
DisembodiedException - if the Item is disembodiedViewMember.isDisembodied()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||