|
|||||||||
| 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
com.starteam.TreeItem.WebCacheTreeItem
com.starteam.Story.WebCacheStory
public static class Story.WebCacheStory
Item accessor for cached SDK Story items contained objects are obtained from the artifact cache
| Method Summary | |
|---|---|
static Story.WebCacheStory |
create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Creates a Story on the server. |
static Story.WebCacheStory |
create(ArtifactCacheManager.Context cntxt,
Story.WebCacheStory parent)
Creates a Story on the server. |
java.lang.String |
getAcceptanceCriteria()
Returns the text in the "AcceptanceCriteria" for this story. |
java.lang.String |
getDescription()
Returns the description of this story. |
double |
getEstimatedPoints()
Returns the estimated points indicating how long it might take for the story to be completed. |
EnumeratedValue[] |
getIncomingStreams()
returns the Incoming Streams, if any, attached to this story the returned array may be of size 0, but is never null |
TreeItem.MoSCoW |
getMoSCoW()
MoSCoW of the story |
java.lang.String |
getName()
Returns the Name of this story. |
java.lang.String |
getNotes()
Returns the text in the "Notes" for this story. |
double |
getOrder()
Returns the order in which the story should be executed. |
Sprint.WebCacheSprint |
getParentSprint()
|
double |
getRank()
Returns the rank in which the story should be viewed. |
Content.WebCacheContent |
getRichDescription()
Returns the rich description of this story. |
Story.Risk |
getRisk()
Returns the risk for the story |
User.WebCacheUser |
getSponsor()
Sponsor of the story |
Story.Status |
getStatus()
Gets the status of a story based on the statuses of the tasks under that story. |
int |
getStoryID()
Returns the story id. |
Story.StoryType |
getStoryType()
Returns the story type |
Story.StoryValue |
getStoryValue()
Returns the story value |
Story.StreamState |
getStreamState()
Returns the Stream State |
EnumeratedValue[] |
getTags()
returns the tags, if any, attached to this story the returned array may be of size 0, but is never null |
View.WebCacheView[] |
getTargetReleases()
return the target releases that this story may be mapped to |
Task.WebCacheTask[] |
getTasks()
Gets the tasks which are linked to this story. |
java.lang.String |
getTeam()
Returns the team for this story. |
void |
setAcceptanceCriteria(java.lang.String acceptanceCriteria)
Sets the text in the "AcceptanceCriteria" for this story. |
void |
setDescription(java.lang.String description)
Sets the description of this story. |
void |
setEstimatedPoints(double estmtdPnts)
Sets the estimated points indicating how long it might take for the story to be completed. |
void |
setIncomingStreams(EnumeratedValue[] streams)
sets the Incoming Streams to be assigned to this story 0, 1 or more Incoming Streams may be assigned or reassigned |
void |
setMoSCoW(TreeItem.MoSCoW moscow)
Set the MoSCoW of the story |
void |
setName(java.lang.String name)
Sets the Name of this story. |
void |
setNotes(java.lang.String notes)
Sets the text in the "Notes" for this story. |
void |
setOrder(double storyOrder)
Sets the order in which the story should be executed. |
void |
setRank(double rank)
Sets the rank in which the story should be viewed. |
void |
setRichDescription(Content.WebCacheContent description)
Sets the rich description of this story. |
void |
setRisk(Story.Risk risk)
Sets the the risk for the story |
void |
setSponsor(User.WebCacheUser sponsor)
Set the sponsor for the story. |
void |
setStatus(Story.Status sts)
Sets the status of the story |
void |
setStoryType(Story.StoryType storyType)
Sets the the story type for the story |
void |
setStoryValue(Story.StoryValue storyValue)
Sets the story value of the story |
void |
setStreamState(Story.StreamState streamState)
Sets the stream state of the story |
void |
setTags(EnumeratedValue[] tags)
sets the tags to be assigned to this story 0, 1 or more tags may be assigned or reassigned |
void |
setTargetReleases(View.WebCacheView[] ww)
set the target releases to which this story may map |
void |
setTeam(java.lang.String team)
Sets the new team for this story. |
| Methods inherited from class com.starteam.TreeItem.WebCacheTreeItem |
|---|
create, create, getChildren, getParent, hasChildren, moveTo, setAfter, setBefore, setBetween, setFirst, setLast |
| Methods inherited from class com.starteam.Item.WebCacheItem |
|---|
create, getLabels, getLinks, getParentFolder, moveTo, moveTo |
| 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 Story.WebCacheStory create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Story on the server.
This story may be saved by assigning the various properties and then calling
update() on the WebCacheStory 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 folder will be created.
The parent folder should be from the artifact cache
Story.WebCacheStory, wrapping a new Story
public static Story.WebCacheStory create(ArtifactCacheManager.Context cntxt,
Story.WebCacheStory parent)
Story on the server.
This item may be saved by assigning the various properties and then calling
update() on the WebCacheStory 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 Story to this new Story.
The parent Story should be from the artifact cache
Story, wrapping a new Storypublic java.lang.String getName()
Story.Type.PropertyCollection.NAMEpublic void setName(java.lang.String name)
name - the new Name for this story.Story.Type.PropertyCollection.NAMEpublic java.lang.String getDescription()
LiveObject.Type.DescriptionProperty.NAMEpublic void setDescription(java.lang.String description)
description - the new description for this story.LiveObject.Type.DescriptionProperty.NAMEpublic void setTeam(java.lang.String team)
team - The new team for this story.Story.Type.PropertyCollection.TEAMpublic java.lang.String getTeam()
Story.Type.PropertyCollection.TEAMpublic Content.WebCacheContent getRichDescription()
TreeItem.Type.RichDescriptionProperty.NAMEpublic void setRichDescription(Content.WebCacheContent description)
description - the new rich description for this story.TreeItem.Type.RichDescriptionProperty.NAMEpublic java.lang.String getAcceptanceCriteria()
Story.Type.PropertyCollection.ACCEPTANCE_CRITERIApublic void setAcceptanceCriteria(java.lang.String acceptanceCriteria)
acceptanceCriteria - The new AcceptanceCriteria text for this story.Story.Type.PropertyCollection.ACCEPTANCE_CRITERIApublic double getEstimatedPoints()
Story.Type.PropertyCollection.ESTIMATED_POINTSpublic void setEstimatedPoints(double estmtdPnts)
estmtdPnts - The new estimated points indicating how long it might take
for the story to be completed.public java.lang.String getNotes()
Story.Type.PropertyCollection.NOTESpublic void setNotes(java.lang.String notes)
notes - the new Notes text for this story.Story.Type.PropertyCollection.NOTESpublic Story.Risk getRisk()
Story.Type.RiskProperty.NAMEpublic void setRisk(Story.Risk risk)
risk - the risk for the storyStory.Type.RiskProperty.NAMEpublic int getStoryID()
Story.Type.PropertyCollection.STORY_IDpublic Story.StoryType getStoryType()
Story.Type.StoryTypeProperty.NAMEpublic void setStoryType(Story.StoryType storyType)
storyType - the story typeStory.Type.StoryTypeProperty.NAMEpublic Story.StoryValue getStoryValue()
Story.Type.StoryValueProperty.NAMEpublic void setStoryValue(Story.StoryValue storyValue)
storyValue - the story value of the storyStory.Type.StoryValueProperty.NAMEpublic Story.StreamState getStreamState()
Story.Type.StreamStateProperty.NAMEpublic void setStreamState(Story.StreamState streamState)
streamState - the stream state of the storyStory.Type.StreamStateProperty.NAMEpublic double getOrder()
Story.Type.PropertyCollection.STORY_ORDERpublic double getRank()
Story.Type.PropertyCollection.RANKpublic void setRank(double rank)
rank - the rank in which the story should be viewed.public void setOrder(double storyOrder)
storyOrder - the order in which the story should be executed.public User.WebCacheUser getSponsor()
public void setSponsor(User.WebCacheUser sponsor)
sponsor - - sponsor for the storypublic EnumeratedValue[] getTags()
public void setTags(EnumeratedValue[] tags)
tags - the tags to be assigned to this story instancepublic EnumeratedValue[] getIncomingStreams()
public void setIncomingStreams(EnumeratedValue[] streams)
streams - the Incoming Streams to be assigned to this story instancepublic Story.Status getStatus()
public void setStatus(Story.Status sts)
sts - The status of the storypublic Task.WebCacheTask[] getTasks()
public View.WebCacheView[] getTargetReleases()
public void setTargetReleases(View.WebCacheView[] ww)
ww - the target releases to which this story may mappublic Sprint.WebCacheSprint getParentSprint()
nullpublic TreeItem.MoSCoW getMoSCoW()
public void setMoSCoW(TreeItem.MoSCoW moscow)
moscow - MoSCoW
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||