|
|||||||||
| 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.Sprint.WebCacheSprint
public static class Sprint.WebCacheSprint
Item accessor for cached SDK Sprint items contained objects are obtained from the artifact cache
| Method Summary | |
|---|---|
static Sprint.WebCacheSprint |
create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Creates a Sprint on the server. |
double |
getCapacity(User.WebCacheUser u)
return the capacity for the specified user |
java.lang.String |
getDescription()
Returns the description of this sprint. |
Date |
getEndDate()
Returns the End Date of this sprint. |
java.lang.String |
getName()
Returns the name of this sprint. |
User.WebCacheUser |
getOwner()
Returns the User object who owns this sprint. |
int |
getSprintID()
Returns the sprint id. |
Date |
getStartDate()
Returns the Start Date of this sprint. |
Story.WebCacheStory[] |
getStories()
Gets the stories which are linked to this sprint. |
View.WebCacheView[] |
getTargetReleases()
return the target releases that this sprint may be mapped to |
java.lang.String |
getTeam()
Returns the team for this sprint. |
boolean |
hasCapacity(User.WebCacheUser u)
Return true if this sprint has an assigned capacity for the specified user |
void |
setCapacity(User.WebCacheUser u,
double capacity)
set the capacity for a given user note that setting a capacity of 0 removes the capacity for that user |
void |
setDescription(java.lang.String description)
set the description of the sprint |
void |
setEndDate(Date dt)
Set the End Date for this sprint. |
void |
setName(java.lang.String name)
set the name of the sprint |
void |
setOwner(User.WebCacheUser user)
Sets the User who owns this sprint. |
void |
setStartDate(Date dt)
Set the Start Date for this sprint. |
void |
setTargetReleases(View.WebCacheView[] ww)
set the target releases to which this sprint may map |
void |
setTeam(java.lang.String team)
Sets the new team for this sprint. |
| 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 Sprint.WebCacheSprint create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Sprint on the server.
This sprint may be saved by assigning the various properties and then calling
update() on the WebCacheSprint 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
Sprint.WebCacheSprint, wrapping a new Sprintpublic java.lang.String getName()
LiveObject.Type.NameProperty.NAMEpublic void setName(java.lang.String name)
name - set the name of the sprintpublic java.lang.String getDescription()
LiveObject.Type.DescriptionProperty.NAMEpublic void setDescription(java.lang.String description)
description - set the description of the sprintpublic Story.WebCacheStory[] getStories()
public User.WebCacheUser getOwner()
User object who owns this sprint.
User object who owns this sprint.Sprint.Type.OwnerProperty.NAMEpublic Date getStartDate()
Start Date of this sprint.
Start Date of this sprint.public void setStartDate(Date dt)
Start Date for this sprint.
dt - The start date of the sprintpublic Date getEndDate()
End Date of this sprint.
End Date of this sprint.public void setEndDate(Date dt)
End Date for this sprint.
dt - The end date of the sprintpublic void setOwner(User.WebCacheUser user)
User who owns this sprint.
user - the User who owns this sprint.public boolean hasCapacity(User.WebCacheUser u)
u - the user to test against
public double getCapacity(User.WebCacheUser u)
u - the user to test against
public void setCapacity(User.WebCacheUser u,
double capacity)
u - the usercapacity - the capacity to setpublic int getSprintID()
Sprint.Type.PropertyCollection.SPRINT_IDpublic void setTeam(java.lang.String team)
team - The new team for this sprint.Sprint.Type.PropertyCollection.TEAMpublic java.lang.String getTeam()
Sprint.Type.PropertyCollection.TEAMpublic View.WebCacheView[] getTargetReleases()
public void setTargetReleases(View.WebCacheView[] ww)
ww - the target releases to which this sprint may map
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||