| Modifier and Type | Method and Description |
|---|---|
void |
addAttachment(Attachment attachment)
Add an attachment.
|
List<Attachment> |
getAttachments()
Return the attachments for this task.
|
String |
getBusinessProcessId()
Returns the businessProcessId of a task.
|
Timestamp |
getClaimed()
Returns the time when the task was set to
TaskState.CLAIMED by/to a user. |
Classification |
getClassification()
Returns the
Classification of the task. |
Timestamp |
getCompleted()
Returns the time when the task was set into
TaskState.COMPLETED. |
Timestamp |
getCreated()
Returns the time when the task was
TaskState.READY. |
String |
getCustom1()
Return the value for the 1.
|
String |
getCustom10()
Return the value for the 10.
|
String |
getCustom2()
Return the value for the 2.
|
String |
getCustom3()
Return the value for the 3.
|
String |
getCustom4()
Return the value for the 4.
|
String |
getCustom5()
Return the value for the 5.
|
String |
getCustom6()
Return the value for the 6.
|
String |
getCustom7()
Return the value for the 7.
|
String |
getCustom8()
Return the value for the 8.
|
String |
getCustom9()
Return the value for the 9.
|
Map<String,Object> |
getCustomAttributes()
Returns a collection of customAttributes with a max.
|
String |
getDescription()
Return the task-description.
|
Timestamp |
getDue()
Returns the time when this task should be finished.
|
String |
getId()
Returns the current id of the task.
|
Timestamp |
getModified()
Returns the time when the task was modified the last time.
|
String |
getName()
Return the name of the current task.
|
String |
getOwner()
Return the id of the task-owner.
|
String |
getParentBusinessProcessId()
Returns the parentBusinessProcessId of a task.
|
Timestamp |
getPlanned()
Returns the time when the work on this task was planned to be started.
|
String |
getPorCompany() |
String |
getPorSystem() |
String |
getPorSystemInstance() |
String |
getPorType() |
String |
getPorValue() |
ObjectReference |
getPrimaryObjRef()
Returns the
primaryObjectReference of the task. |
int |
getPriority()
Returns the numeric priority of a task.
|
TaskState |
getState()
Returns the current
TaskState of the task. |
String |
getWorkbasketKey()
Returns the key of the Workbasket where the task is stored in.
|
boolean |
isRead()
Return the isRead-flag, which flags a task as viewed at least one time.
|
boolean |
isTransferred()
Return the isTransferred-flag, which flags a task as transfered into an other workbasket.
|
void |
setAttachments(List<Attachment> attachments) |
void |
setBusinessProcessId(String businessProcessId) |
void |
setClaimed(Timestamp claimed) |
void |
setClassification(Classification classification)
Sets the
Classification to specify this kind of task. |
void |
setCompleted(Timestamp completed) |
void |
setCreated(Timestamp created) |
void |
setCustom1(String custom1)
Sets the value for customAttribute1.
|
void |
setCustom10(String custom10)
Sets the value for customAttribute10.
|
void |
setCustom2(String custom2)
Sets the value for customAttribute2.
|
void |
setCustom3(String custom3)
Sets the value for customAttribute3.
|
void |
setCustom4(String custom4)
Sets the value for customAttribute4.
|
void |
setCustom5(String custom5)
Sets the value for customAttribute25.
|
void |
setCustom6(String custom6)
Sets the value for customAttribute6.
|
void |
setCustom7(String custom7)
Sets the value for customAttribute7.
|
void |
setCustom8(String custom8)
Sets the value for customAttribute8.
|
void |
setCustom9(String custom9)
Sets the value for customAttribute9.
|
void |
setCustomAttributes(Map<String,Object> customAttributes) |
void |
setDescription(String description)
Sets the description of the task.
|
void |
setDue(Timestamp due) |
void |
setId(String id) |
void |
setModified(Timestamp modified) |
void |
setName(String name)
Sets the name of the current task.
|
void |
setOwner(String owner)
Sets the ownerId of this task.
|
void |
setParentBusinessProcessId(String parentBusinessProcessId) |
void |
setPlanned(Timestamp planned)
Sets the time when the work on this task should be started.
|
void |
setPorCompany(String porCompany) |
void |
setPorSystem(String porSystem) |
void |
setPorSystemInstance(String porSystemInstance) |
void |
setPorType(String porType) |
void |
setPorValue(String porValue) |
void |
setPrimaryObjRef(ObjectReference primaryObjRef)
Sets the
primaryObjectReference of the task. |
void |
setPriority(int priority) |
void |
setRead(boolean isRead) |
void |
setState(TaskState state) |
void |
setTransferred(boolean isTransferred) |
void |
setWorkbasketKey(String workbasketKey)
Sets the key of the Workbasket where the task should be stored in.
|
String |
toString() |
public String getId()
Taskpublic void setId(String id)
public Timestamp getCreated()
TaskTaskState.READY.getCreated in interface TaskTimestamppublic void setCreated(Timestamp created)
public Timestamp getClaimed()
TaskTaskState.CLAIMED by/to a user.getClaimed in interface TaskTimestamppublic void setClaimed(Timestamp claimed)
public Timestamp getCompleted()
TaskTaskState.COMPLETED.getCompleted in interface TaskTimestamppublic void setCompleted(Timestamp completed)
public Timestamp getModified()
TaskgetModified in interface TaskTimestamppublic void setModified(Timestamp modified)
public Timestamp getPlanned()
TaskgetPlanned in interface TaskTimestamppublic void setPlanned(Timestamp planned)
TasksetPlanned in interface Taskplanned - as exact Timestamppublic Timestamp getDue()
Taskpublic void setDue(Timestamp due)
public String getName()
Taskpublic void setName(String name)
Taskpublic String getDescription()
TaskgetDescription in interface Taskpublic void setDescription(String description)
TasksetDescription in interface Taskdescription - the description of the taskpublic int getPriority()
TaskgetPriority in interface Taskpublic void setPriority(int priority)
public TaskState getState()
TaskTaskState of the task.public void setState(TaskState state)
public Classification getClassification()
TaskClassification of the task.getClassification in interface Taskpublic void setClassification(Classification classification)
TaskClassification to specify this kind of task.setClassification in interface Taskclassification - the classification of the taskpublic String getWorkbasketKey()
TaskgetWorkbasketKey in interface Taskpublic void setWorkbasketKey(String workbasketKey)
TasksetWorkbasketKey in interface TaskworkbasketKey - the key of the workbasketpublic String getBusinessProcessId()
TaskgetBusinessProcessId in interface Taskpublic void setBusinessProcessId(String businessProcessId)
public String getParentBusinessProcessId()
TaskgetParentBusinessProcessId in interface Taskpublic void setParentBusinessProcessId(String parentBusinessProcessId)
public String getOwner()
Taskpublic void setOwner(String owner)
Taskpublic ObjectReference getPrimaryObjRef()
TaskprimaryObjectReference of the task.getPrimaryObjRef in interface Taskpublic void setPrimaryObjRef(ObjectReference primaryObjRef)
TaskprimaryObjectReference of the task.setPrimaryObjRef in interface TaskprimaryObjRef - to task main-subjectpublic boolean isRead()
Taskpublic void setRead(boolean isRead)
public boolean isTransferred()
TaskisTransferred in interface Taskpublic void setTransferred(boolean isTransferred)
public Map<String,Object> getCustomAttributes()
TaskgetCustomAttributes in interface TaskMappublic String getCustom1()
TaskgetCustom1 in interface Taskpublic void setCustom1(String custom1)
TasksetCustom1 in interface Taskcustom1 - the custom1 property of the taskpublic String getCustom2()
TaskgetCustom2 in interface Taskpublic void setCustom2(String custom2)
TasksetCustom2 in interface Taskcustom2 - the custom2 property of the taskpublic String getCustom3()
TaskgetCustom3 in interface Taskpublic void setCustom3(String custom3)
TasksetCustom3 in interface Taskcustom3 - the custom3 property of the taskpublic String getCustom4()
TaskgetCustom4 in interface Taskpublic void setCustom4(String custom4)
TasksetCustom4 in interface Taskcustom4 - the custom4 property of the taskpublic String getCustom5()
TaskgetCustom5 in interface Taskpublic void setCustom5(String custom5)
TasksetCustom5 in interface Taskcustom5 - the custom5 property of the taskpublic String getCustom6()
TaskgetCustom6 in interface Taskpublic void setCustom6(String custom6)
TasksetCustom6 in interface Taskcustom6 - the custom6 property of the taskpublic String getCustom7()
TaskgetCustom7 in interface Taskpublic void setCustom7(String custom7)
TasksetCustom7 in interface Taskcustom7 - the custom7 property of the taskpublic String getCustom8()
TaskgetCustom8 in interface Taskpublic void setCustom8(String custom8)
TasksetCustom8 in interface Taskcustom8 - the custom8 property of the taskpublic String getCustom9()
TaskgetCustom9 in interface Taskpublic void setCustom9(String custom9)
TasksetCustom9 in interface Taskcustom9 - the custom9 property of the taskpublic String getCustom10()
TaskgetCustom10 in interface Taskpublic void setCustom10(String custom10)
TasksetCustom10 in interface Taskcustom10 - the custom10 property of the taskpublic void addAttachment(Attachment attachment)
TaskaddAttachment in interface Taskattachment - the attachment to be added to the taskpublic List<Attachment> getAttachments()
TaskgetAttachments in interface Tasklist of attachments for this taskpublic void setAttachments(List<Attachment> attachments)
public String getPorCompany()
public void setPorCompany(String porCompany)
public String getPorSystem()
public void setPorSystem(String porSystem)
public String getPorSystemInstance()
public void setPorSystemInstance(String porSystemInstance)
public String getPorType()
public void setPorType(String porType)
public String getPorValue()
public void setPorValue(String porValue)
Copyright © 2018. All rights reserved.