|
|||||||||
| 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.Trace.WebCacheTrace
public static class Trace.WebCacheTrace
Trace accessor for cached SDK Traces contained objects are obtained from the artifact cache
| Method Summary | |
|---|---|
static Trace.WebCacheTrace |
create(ArtifactCacheManager.Context cntxt,
View.WebCacheView parent)
Creates a Trace on the server. |
java.lang.String |
getDescription()
Gets the description of this trace. |
ViewMember.WebCacheViewMember |
getSource()
Gets the source endpoint of this trace or NULL if the endpoint viewmember is not cached in this ArtifactCache |
LinkValue.WebCacheLinkValue |
getSourceLink()
Gets the source endpoint of this trace. |
Trace.Status |
getStatus()
Gets the Status of this Trace. |
ViewMember.WebCacheViewMember |
getTarget()
Gets the target endpoint of this trace or NULL if the endpoint viewmember is not cached in this ArtifactCache |
LinkValue.WebCacheLinkValue |
getTargetLink()
Gets the target endpoint of this trace. |
Trace.TraceType |
getTraceType()
Gets the TraceType of this Trace. |
boolean |
isSuspect()
Determines whether the trace is suspect |
void |
pinSource()
Set the source end-point of this trace to pinned. |
void |
pinTarget()
Set the target end-point of this trace to pinned. |
void |
setDescription(java.lang.String description)
Sets the description of this trace. |
void |
setSource(LinkValue.WebCacheLinkValue source)
Sets the source endpoint of this trace. |
void |
setSource(ViewMember.WebCacheViewMember source)
Sets the source endpoint of this trace. |
void |
setStatus(Trace.Status status)
Set the status of the trace |
void |
setSuspect(boolean isSuspect)
Mark the trace as suspect |
void |
setTarget(LinkValue.WebCacheLinkValue target)
Sets the target endpoint of this trace. |
void |
setTarget(ViewMember.WebCacheViewMember target)
Sets the target endpoint of this trace. |
void |
setTraceType(Trace.TraceType type)
Set the trace type of the trace |
void |
unpinSource()
Set the source end-point of this trace to float. |
void |
unpinTarget()
Set the target end-point of this trace to float. |
| 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 Trace.WebCacheTrace create(ArtifactCacheManager.Context cntxt,
View.WebCacheView parent)
Trace on the server.
This trace may be saved by assigning the various properties and then calling
update() on the WebCacheTrace 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 view in which this new trace will be created.
The parent view should be from the artifact cache
Trace.WebCacheTrace, wrapping a new Tracepublic ViewMember.WebCacheViewMember getSource()
public LinkValue.WebCacheLinkValue getSourceLink()
public void setSource(ViewMember.WebCacheViewMember source)
source - The source view member of this trace. May be from this server
or any other; the resulting source LinkValue will be an
internal link or an external link as appropriate.
java.lang.IllegalArgumentException - () if the source ViewMember is itself a Tracepublic void setSource(LinkValue.WebCacheLinkValue source)
source - The source linkvalue of this trace. May be from this server
or any other; or may be a URL.
the resulting source LinkValue will be an
internal or external link as appropriate.
java.lang.IllegalArgumentException - () if the source is nullpublic ViewMember.WebCacheViewMember getTarget()
public LinkValue.WebCacheLinkValue getTargetLink()
public void setTarget(ViewMember.WebCacheViewMember target)
target - The target view member of this trace. May be from this server
or any other; the resulting source LinkValue will be an
internal link or an external link as appropriate.
java.lang.IllegalArgumentException - () if the target ViewMember is itself a Tracepublic void setTarget(LinkValue.WebCacheLinkValue target)
target - The target linkvalue of this trace. May be from this server
or any other; or may be a URL.
the resulting source LinkValue will be an
internal or external link as appropriate.
java.lang.IllegalArgumentException - () if the source is nullpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The description of this trace.public boolean isSuspect()
public void setSuspect(boolean isSuspect)
isSuspect - the suspect flagpublic Trace.TraceType getTraceType()
public void setTraceType(Trace.TraceType type)
type - the trace type to setpublic Trace.Status getStatus()
public void setStatus(Trace.Status status)
status - the status to setpublic void unpinSource()
public void pinSource()
public void unpinTarget()
public void pinTarget()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||