|
|||||||||
| 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.Requirement.WebCacheRequirement
public static class Requirement.WebCacheRequirement
Item accessor for cached SDK Requirement items contained objects are obtained from the artifact cache
| Method Summary | |
|---|---|
static Requirement.WebCacheRequirement |
create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Creates a Requirement on the server. |
static Requirement.WebCacheRequirement |
create(ArtifactCacheManager.Context cntxt,
Requirement.WebCacheRequirement parent)
Creates a Requirement on the server. |
int |
getAmbiguitiesCount()
Return the number of ambiguities found for the requirement. |
java.lang.String |
getComments()
Comments recorded for the requirement |
int |
getExpectedEffort()
The estimated effort expected for completing the requirement. |
int |
getHighEffort()
The Highest effort expected for completing the requirement. |
int |
getLowEffort()
The lowest effort expected for completing the requirement. |
java.lang.String |
getName()
The name of the requirement |
java.lang.String |
getNotes()
Notes recorded for the requirement |
User.WebCacheUser |
getOwner()
Owner of the requirement |
Requirement.Priority |
getPriority()
Priority of the requirement |
int |
getRequirementNumber()
Requirement number |
Requirement.RequirementType |
getRequirementType()
Type of the requirement |
User.WebCacheUser[] |
getResponsibleUsers()
The users responsible for the requirement. |
User.WebCacheUser[] |
getReviewedBy()
Users who reviewed the requirement |
java.lang.String |
getRevisedDescription()
Revised description for the requirement |
Requirement.Status |
getStatus()
Returns the status (Draft, Submitted, Pending, Accepted, etc.) of the requirement. |
Requirement.StreamState |
getStreamState()
Returns the Stream State |
void |
setAmbiguitiesCount(int numAmbiguities)
Set the number of ambiguities for the requirement. |
void |
setComments(java.lang.String comments)
Set the comments recorded for the requirement |
void |
setExpectedEffort(int effort)
The estimated effort expected for completing the requirement. |
void |
setHighEffort(int effort)
The highest effort expected for completing the requirement. |
void |
setLowEffort(int effort)
Set the lowest effort expected for completing the requirement. |
void |
setName(java.lang.String name)
Set the name for the requirement |
void |
setNotes(java.lang.String notes)
Set the notes recorded for the requirement |
void |
setOwner(User.WebCacheUser owner)
Set the owner for the requirement |
void |
setPriority(Requirement.Priority priority)
Set the priority of the requirement |
void |
setRequirementType(Requirement.RequirementType reqType)
Set the type of the requirement |
void |
setResponsibleUsers(User.WebCacheUser[] responsibleUsers)
Set the users responsible for the requirement. |
void |
setReviewedBy(User.WebCacheUser[] users)
Set the users who reviewed the requirement |
void |
setRevisedDescription(java.lang.String revisedDesc)
Set the revised description for the requirement |
void |
setStatus(Requirement.Status status)
Sets the status of the requirement. |
void |
setStreamState(Requirement.StreamState streamState)
Sets the stream state of the Requirement |
| 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, getHistory, getLocker, getRights, getShareTree, getTraces, getView, isDeleted, isFloating, isPinned, isUnread, lock, lock, modifyReadStatus, pinTo, setAttachments, setRights, unlock, unpin, updateRevisionComent |
| Methods inherited from class com.starteam.VersionedObject.WebCacheVersionedObject |
|---|
getDotNotation, getRevisionNumber, getRootObjectID, getViewVersion, isFromHistory |
| Methods inherited from class com.starteam.TrackedObject.WebCacheTrackedObject |
|---|
getModifiedBy, getModifiedTime |
| Methods inherited from class com.starteam.LiveObject.WebCacheLiveObject |
|---|
equals, getContext, getCreatedBy, getCreatedTime, getDisplayName, getID, getObjectID, getServer, getType, getValue, getValue, hashCode, isDirty, isNew, refresh, remove, setValue, setValue, toStarTeamURL, update |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Requirement.WebCacheRequirement create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Requirement on the server.
This requirement may be saved by assigning the various properties and then calling
update() on the WebCacheRequirement 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
Requirement.WebCacheRequirement, wrapping a new Requirement
public static Requirement.WebCacheRequirement create(ArtifactCacheManager.Context cntxt,
Requirement.WebCacheRequirement parent)
Requirement on the server.
This item may be saved by assigning the various properties and then calling
update() on the WebCacheRequirement 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 Requirement to this new Requirement .
The parent Requirement should be from the artifact cache
Requirement.WebCacheRequirement, wrapping a new Requirementpublic void setNotes(java.lang.String notes)
notes - - notes recorded for the requirementpublic java.lang.String getNotes()
public User.WebCacheUser[] getResponsibleUsers()
public void setResponsibleUsers(User.WebCacheUser[] responsibleUsers)
responsibleUsers - the users responsible for the requirementpublic int getAmbiguitiesCount()
public void setAmbiguitiesCount(int numAmbiguities)
numAmbiguities - the number of ambiguities found for the requirement.public int getExpectedEffort()
public void setExpectedEffort(int effort)
effort - the estimated effort expected for completing the requirement.public int getHighEffort()
public void setHighEffort(int effort)
effort - the estimated effort expected.public int getLowEffort()
public void setLowEffort(int effort)
effort - the minimum effort expected.public java.lang.String getName()
public void setName(java.lang.String name)
name - the name for the requirementpublic java.lang.String getComments()
public void setComments(java.lang.String comments)
comments - - comments recorded for the requirementpublic User.WebCacheUser getOwner()
public void setOwner(User.WebCacheUser owner)
owner - - owner for the requirementpublic Requirement.Priority getPriority()
public void setPriority(Requirement.Priority priority)
priority - - priority of the requirementpublic int getRequirementNumber()
public Requirement.RequirementType getRequirementType()
public void setRequirementType(Requirement.RequirementType reqType)
reqType - requirement typepublic User.WebCacheUser[] getReviewedBy()
public void setReviewedBy(User.WebCacheUser[] users)
users - who reviewed the requirementpublic java.lang.String getRevisedDescription()
public void setRevisedDescription(java.lang.String revisedDesc)
revisedDesc - revised description.public Requirement.Status getStatus()
Requirement.Status,
Requirement.Type.StatusProperty,
Requirement.Type.PropertyCollection.STATUSpublic void setStatus(Requirement.Status status)
status - The new status for the requirement.public Requirement.StreamState getStreamState()
Requirement.Type.StreamStateProperty.NAMEpublic void setStreamState(Requirement.StreamState streamState)
streamState - the stream state of the RequirementRequirement.Type.StreamStateProperty.NAME
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||