|
|||||||||
| 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.Task.WebCacheTask
public static class Task.WebCacheTask
Item accessor for cached SDK Tasks contained objects are obtained from the artifact cache
| Method Summary | |
|---|---|
void |
addPredecessorLink(int predecessorID,
int lagTime,
int depType)
Adds a new predecessor to this task. |
void |
addResource(User.WebCacheUser user)
Adds the specified User object as a resource for this Task. |
static Task.WebCacheTask |
create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Creates a Task on the server. |
static Task.WebCacheTask |
create(ArtifactCacheManager.Context cntxt,
Task.WebCacheTask parent)
Creates a Task on the server. |
WorkRecord.WebCacheWorkRecord |
createWorkRecord(User.WebCacheUser user)
Creates a new WorkRecord for the specified Task and user. |
Date |
getActualFinishDate()
Returns the actual finish date of this task. |
Date |
getActualStartDate()
Returns the actual start date of this task. |
TimeSpan |
getActualWorkToDate()
Returns the actual number of hours spent on this task. |
java.lang.String |
getAttentionNotes()
Returns the text in the "Needs Attention" note for this task. |
Task.Constraint |
getConstraint()
Returns the MS Project Constraint Type of this task. |
DateTime |
getConstraintDate()
Returns the task's Constraint Date from MS Project. |
java.lang.String |
getDescription()
Returns the description for this task. |
Date |
getEstimatedFinishDate()
Returns the estimated date at which this task will be completed. |
Date |
getEstimatedStartDate()
Returns the estimated start date of this task. |
TimeSpan |
getEstimatedTotalWork()
Returns an estimate of the number of hours that will be spent completing this task. |
Task.LifeCycleType |
getLifeCycleType()
Returns a value indicating the life cycle type (e.g. |
java.lang.String |
getMSProjectFileName()
Returns the MS Project FileName of this task. |
DateTime |
getMSProjectLastUpdate()
Returns the date that this task was last updated from MS Project. |
java.lang.String |
getName()
Returns the Name of this task. |
java.lang.String |
getNotes()
Returns the text in the "Notes" for this task. |
int |
getNumber()
Returns the number assigned to this task. |
double |
getOrder()
Returns the order in which the task should be worked on. |
Story.WebCacheStory |
getParentStory()
|
int |
getPercentComplete()
Returns a percentage indicating how much of the task has been completed. |
TaskDependency.WebCacheTaskDependency[] |
getPredecessorLinks()
Returns the predecessor tasks to this this task. |
Task.Priority |
getPriority()
Returns the Priority of this task. |
User.WebCacheUser[] |
getResources()
Returns the User objects assigned as resources of this task. |
User.WebCacheUser |
getResponsibility()
Returns The User object who is responsible for this task. |
Content.WebCacheContent |
getRichDescription()
Returns the rich description of this task. |
Task.Status |
getStatus()
Returns the Status of this task. |
TaskDependency.WebCacheTaskDependency[] |
getSuccessorLinks()
Returns the successor tasks to this task. |
java.lang.String |
getTeam()
Returns the team for this task. |
int |
getUniqueID()
Returns the MS Project UniqueID of this task. |
WorkRecord.WebCacheWorkRecord[] |
getWorkRecords()
Returns the work records associates with this task. |
boolean |
isBlocked()
Returns a value indicating whether or not this task is blocked and needs further attention to resolve. |
void |
removeDependency(TaskDependency.WebCacheTaskDependency dependency)
Removed the specified task dependency from this task. |
void |
removeResource(User.WebCacheUser user)
Removes the specified User object as a resource from this
task. |
void |
removeWorkRecord(WorkRecord.WebCacheWorkRecord record)
Removes the work record from this task. |
void |
setActualFinishDate(Date ActualFinish)
Sets the actual finish date of this task. |
void |
setActualStartDate(Date ActualStart)
Sets the actual start date of this task. |
void |
setAttentionNotes(java.lang.String AttentionNotes)
Sets the text in the "Needs Attention" note for this task. |
void |
setBlocked(boolean blocked)
Sets the value indicating whether or not this task is blocked. |
void |
setDescription(java.lang.String description)
Sets the new description for this task. |
void |
setEstimatedFinishDate(Date EstimatedFinish)
Sets the estimated date at which this task will be completed. |
void |
setEstimatedStartDate(Date EstimatedStart)
Sets the estimated start date of this task. |
void |
setEstimatedTotalWork(TimeSpan ts)
Set the estimate of the number of hours that will be spent completing this task |
void |
setLifeCycleType(Task.LifeCycleType lifeCycleType)
Sets the value indicating the life cycle type (e.g. |
void |
setName(java.lang.String Name)
Sets the Name of this task. |
void |
setNotes(java.lang.String Notes)
Sets the text in the "Notes" for this task. |
void |
setOrder(double order)
Sets the new order in which the task should be worked on. |
void |
setPercentComplete(int PercentComplete)
Sets the percentage indicating how much of the task has been completed. |
void |
setPriority(Task.Priority priority)
Sets the Priority of this task. |
void |
setResponsibility(User.WebCacheUser user)
Sets the User who is responsible for this task. |
void |
setRichDescription(Content.WebCacheContent description)
Sets the rich description of this task. |
void |
setStatus(Task.Status status)
Sets the Status of this task. |
void |
setTeam(java.lang.String team)
Sets the new team for this task. |
| 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 Task.WebCacheTask create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Task on the server.
This task may be saved by assigning the various properties and then calling
update() on the WebCacheTask 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
Task.WebCacheTask, wrapping a new Task
public static Task.WebCacheTask create(ArtifactCacheManager.Context cntxt,
Task.WebCacheTask parent)
Task on the server.
This item may be saved by assigning the various properties and then calling
update() on the WebCacheTask 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 Task to this new task .
The parent task should be from the artifact cache
Task.WebCacheTask, wrapping a new Task
public void addPredecessorLink(int predecessorID,
int lagTime,
int depType)
predecessorID - the task id of the predecessor tasklagTime - the lag time for this dependencydepType - the dependency type.public WorkRecord.WebCacheWorkRecord createWorkRecord(User.WebCacheUser user)
user - the the user that performs the workpublic void removeResource(User.WebCacheUser user)
User object as a resource from this
task.
user - the User object resource to remove from this
task.public User.WebCacheUser[] getResources()
User objects assigned as resources of this task.
User assigned as resources of this task.Task.Type.ResourcesProperty.NAMEpublic void addResource(User.WebCacheUser user)
User object as a resource for this Task.
user - the User object to add as a resource for this
task,public TaskDependency.WebCacheTaskDependency[] getPredecessorLinks()
TaskDependency object.
public TaskDependency.WebCacheTaskDependency[] getSuccessorLinks()
TaskDependency object.
public WorkRecord.WebCacheWorkRecord[] getWorkRecords()
public void removeWorkRecord(WorkRecord.WebCacheWorkRecord record)
record - the work record to be removed.public void removeDependency(TaskDependency.WebCacheTaskDependency dependency)
dependency - the task dependency to removepublic java.lang.String getName()
Task.Type.PropertyCollection.NAMEpublic void setDescription(java.lang.String description)
description - The new description for this task.Task.Type.PropertyCollection.DESCRIPTIONpublic java.lang.String getDescription()
Task.Type.PropertyCollection.DESCRIPTIONpublic void setTeam(java.lang.String team)
team - The new team for this task.Task.Type.PropertyCollection.TEAMpublic java.lang.String getTeam()
Task.Type.PropertyCollection.TEAMpublic Content.WebCacheContent getRichDescription()
TreeItem.Type.RichDescriptionProperty.NAMEpublic void setRichDescription(Content.WebCacheContent description)
description - the new rich description for this task.TreeItem.Type.RichDescriptionProperty.NAMEpublic void setName(java.lang.String Name)
Name - The new Name for this task.Task.Type.PropertyCollection.NAMEpublic java.lang.String getAttentionNotes()
Task.Type.PropertyCollection.ATTENTION_NOTESpublic java.lang.String getMSProjectFileName()
Task.Type.MSProjectFileNameProperty.NAMEpublic TimeSpan getActualWorkToDate()
Task.Type.ActualHoursProperty.NAMEpublic DateTime getMSProjectLastUpdate()
Task.Type.MSProjectLastUpdateProperty.NAMEpublic Date getActualStartDate()
Task.Type.ActualStartProperty.NAMEpublic void setActualStartDate(Date ActualStart)
ActualStart - The actual start date of this task.public Date getActualFinishDate()
Task.Type.ActualFinishProperty.NAMEpublic void setActualFinishDate(Date ActualFinish)
ActualFinish - The actual start date of this task.public Date getEstimatedFinishDate()
Task.Type.EstimatedFinishProperty.NAMEpublic Date getEstimatedStartDate()
Task.Type.EstimatedStartProperty.NAMEpublic void setEstimatedStartDate(Date EstimatedStart)
EstimatedStart - The new estimated start date of this task.public void setEstimatedFinishDate(Date EstimatedFinish)
EstimatedFinish - The new estimated date at which this task will be completed.public void setAttentionNotes(java.lang.String AttentionNotes)
AttentionNotes - The text in the "Needs Attention" note for this task.Task.Type.PropertyCollection.ATTENTION_NOTESpublic java.lang.String getNotes()
Task.Type.PropertyCollection.NOTESpublic void setNotes(java.lang.String Notes)
Notes - The new Notes text for this task.Task.Type.PropertyCollection.NOTESpublic Task.Priority getPriority()
Task.Type.PriorityProperty.NAMEpublic User.WebCacheUser getResponsibility()
User object who is responsible for this task.
User object who is responsible for this task.Task.Type.ResponsibilityProperty.NAMEpublic void setResponsibility(User.WebCacheUser user)
User who is responsible for this task.
user - The User who is responsible for this task.public void setPriority(Task.Priority priority)
priority - The new Priority for this task.public Task.Status getStatus()
Task.Type.StatusProperty.NAMEpublic void setStatus(Task.Status status)
status - the new Status for this task.Task.Type.StatusProperty.NAMEpublic Story.WebCacheStory getParentStory()
nullpublic Task.LifeCycleType getLifeCycleType()
public void setLifeCycleType(Task.LifeCycleType lifeCycleType)
lifeCycleType - the LifecycleType of this taskTask.WebCacheTask.getLifeCycleType()public int getPercentComplete()
Task.Type.PropertyCollection.PERCENT_COMPLETEpublic void setPercentComplete(int PercentComplete)
PercentComplete - The new percentage indicating how much of the task has been
completed.public boolean isBlocked()
Task.Type.PropertyCollection.BLOCKEDpublic void setBlocked(boolean blocked)
blocked - The new value indicating whether or not this task is blockedpublic void setOrder(double order)
order - The new order for this task.Task.Type.PropertyCollection.ORDERpublic double getOrder()
Task.Type.PropertyCollection.ORDERpublic int getNumber()
public int getUniqueID()
public Task.Constraint getConstraint()
Task.Type.ConstraintProperty.NAMEpublic DateTime getConstraintDate()
Task.Type.ConstraintDateProperty.NAMEpublic TimeSpan getEstimatedTotalWork()
Task.Type.PropertyCollection.ESTIMATED_HOURSpublic void setEstimatedTotalWork(TimeSpan ts)
ts - an estimate of the number of hours
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||