public abstract class Workitem extends ProjectAsset
STATE_ACTIVE, STATE_CLOSEDASSET_STATE_VALUE, ASSET_VALUE, CHANGE_DATE_UTC, CONTENT_TYPE_VALUE, CONTENT_VALUE, CREATE_DATE_UTC, DELETE_OPERATION, DESCRIPTION_VALUE, FILENAME_VALUE, NAME_VALUE| Modifier and Type | Method and Description |
|---|---|
boolean |
canTrack() |
Effort |
createEffort(double value)
Log an effort record against this workitem.
|
Effort |
createEffort(double value,
Map<String,Object> attributes)
Log an effort record against this workitem.
|
Effort |
createEffort(double value,
Member member)
Log an effort record against this workitem with the current day and time
and given member and value.
|
Effort |
createEffort(double value,
Member member,
DB.DateTime date)
Log an effort record against this workitem with the current day and time
and given member and value.
|
Effort |
createEffort(double value,
Member member,
DB.DateTime date,
Map<String,Object> attributes)
Log an effort record against this workitem with the current day and time
and given member and value.
|
Double |
getDetailEstimate() |
Double |
getDone() |
Collection<Effort> |
getEffortRecords(EffortFilter filter)
Gets Effort Records tracked against this Workitem.
|
Collection<Member> |
getOwners() |
String |
getReference() |
Double |
getToDo() |
void |
setDetailEstimate(Double detailEstimate) |
void |
setReference(String value) |
void |
setToDo(Double toDo) |
getDisplayID, getProject, setProjectcanClose, canDelete, canReactivate, close, createAttachment, createAttachment, createConversation, createConversation, createLink, createLink, createNote, createNote, delete, getAttachments, getCustomDropdown, getCustomField, getDescription, getLinks, getMentionedInExpressions, getName, getNotes, getURL, isActive, isClosed, reactivate, setDescription, setNameequals, get, getChangeComment, getChangeDate, getChangedBy, getCreateComment, getCreateDate, getCreatedBy, getID, getInstance, hashCode, save, save, toStringpublic boolean canTrack()
public Collection<Member> getOwners()
public Double getDetailEstimate()
public void setDetailEstimate(Double detailEstimate)
detailEstimate - Estimate of effort required to implement this item.IllegalStateException - If setting DetailEstimate is not allowed at
this level.public Double getDone()
public Double getToDo()
public void setToDo(Double toDo) throws IllegalStateException
toDo - Remaining effort required to complete implementation of this
item.IllegalStateException - if setting DetailEstimate is not allowed at
this level.public Collection<Effort> getEffortRecords(EffortFilter filter)
filter - Criteria to filter on. If null, all tasks and tests in the
project are returned.public String getReference()
public void setReference(String value)
value - Cross-reference of this item with an external system.public Effort createEffort(double value)
value - of the Effort.IllegalStateException - Effort Tracking is not enabled.public Effort createEffort(double value, Map<String,Object> attributes)
value - of the Effort.attributes - additional attributes for the Effort record.IllegalStateException - Effort Tracking is not enabled.public Effort createEffort(double value, Member member)
member - The subject of the Effort.value - if the Effort.IllegalStateException - if Effort tracking is not enabled.public Effort createEffort(double value, Member member, DB.DateTime date)
member - The subject of the Effort.value - if the Effort.date - of the Effort record.IllegalStateException - if Effort tracking is not enabled.public Effort createEffort(double value, Member member, DB.DateTime date, Map<String,Object> attributes)
member - The subject of the Effort.value - if the Effort.date - of the Effort record.attributes - additional attributes for the Effort record.IllegalStateException - if Effort tracking is not enabled.Copyright © 2013 Version One, Inc.. All rights reserved.