public class WorkItem extends Row
TheWorkItem
class represents a runtime work item data.
WorkItemDef
, Row
Constructor and Description |
---|
WorkItem() |
Modifier and Type | Method and Description |
---|---|
WorkItem |
createNew()
Creates a new work item instance based on the current one.
|
java.util.List<Row> |
getComments()
Sets a multi lines of comments for the work item.
|
java.util.Map |
getCustomWIFieldProperties() |
java.util.Map<java.lang.String,java.lang.Object> |
getCustomWIFieldProperties(java.lang.String fieldName)
Return the runtime properties.
|
java.lang.String |
getSubject()
Retrieves the subject text of the work item.
|
java.util.Map<java.lang.String,java.net.URL> |
getWebURLs()
Gets the list of URLs used by the work item fields.
|
static void |
replace(WorkItem destWI, WorkItem srcWI)
Copies data from one work item to another.
|
void |
setSubject(java.lang.String subject)
Sets the subject text for the work item.
|
display, getListData, getRowKey, getSubmittedValues, getValues, isDirty, isNew, setDirty, setListData, setNew, setRowKey, setSubmittedValue, setValue
public void setSubject(java.lang.String subject)
subject
- the text for work item subjectpublic java.lang.String getSubject()
public java.util.List<Row> getComments()
public java.util.Map<java.lang.String,java.net.URL> getWebURLs()
public java.util.Map getCustomWIFieldProperties()
public java.util.Map<java.lang.String,java.lang.Object> getCustomWIFieldProperties(java.lang.String fieldName)
public WorkItem createNew()