|
|||||||||
| 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.Label.WebCacheLabel
public static class Label.WebCacheLabel
View accessor for cached SDK views contained objects are obtained from the artifact cache
| Method Summary | |
|---|---|
static Label.WebCacheLabel |
create(ArtifactCacheManager.Context cntxt,
View.WebCacheView parent,
java.lang.String labelName,
java.lang.String labelDescription,
DateTime labelDateTime,
boolean frozen)
Creates a Label on the server. |
java.lang.String |
getDescription()
Returns the label's description. |
java.lang.String |
getName()
Return's the label's name. |
DateTime |
getRevisionTime()
Returns the label's revision time. |
boolean |
isBuildLabel()
Returns true if the label as being a StarTeam "Build" label. |
boolean |
isDeleted()
Returns true if this label has been deleted. |
boolean |
isLocked()
Return true if the label is locked or frozen. |
boolean |
isRevisionLabel()
Returns true if the label is a revision label. |
boolean |
isViewLabel()
Returns true if the label is a view label. |
void |
setDescription(java.lang.String description)
Sets the label's description. |
void |
setName(java.lang.String name)
Sets the label's name. |
| 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 Label.WebCacheLabel create(ArtifactCacheManager.Context cntxt,
View.WebCacheView parent,
java.lang.String labelName,
java.lang.String labelDescription,
DateTime labelDateTime,
boolean frozen)
Label on the server.
This label must be saved by assigning additional properties and then calling
update() on the WebCacheLabel object
Label creation is not transactable
cntxt - the ArtifactCacheManager User Session Contextparent - the parent view of this label.labelName - the name of the new labellabelDescription - the description of the new labellabelDateTime - time the view configuration time (may not be null)frozen - set true if the label is "frozen" (a frozen label can not be
moved from one revision to another)
Label.WebCacheLabel, wrapping a new Labelpublic java.lang.String getName()
public boolean isBuildLabel()
public DateTime getRevisionTime()
public boolean isViewLabel()
Label.WebCacheLabel.isRevisionLabel()public boolean isRevisionLabel()
public boolean isDeleted()
public boolean isLocked()
public void setName(java.lang.String name)
name - the new label namepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the new label description.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||