public interface Task
| 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.
|
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 |
setClassification(Classification classification)
Sets the
Classification to specify this kind of task. |
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 |
setDescription(String description)
Sets the description of the task.
|
void |
setName(String name)
Sets the name of the current task.
|
void |
setOwner(String taskOwnerId)
Sets the ownerId of this task.
|
void |
setPlanned(Timestamp planned)
Sets the time when the work on this task should be started.
|
void |
setPrimaryObjRef(ObjectReference primaryObjRef)
Sets the
primaryObjectReference of the task. |
void |
setWorkbasketKey(String workbasketKey)
Sets the key of the Workbasket where the task should be stored in.
|
String getId()
Timestamp getCreated()
TaskState.READY.TimestampTimestamp getClaimed()
TaskState.CLAIMED by/to a user.TimestampTimestamp getCompleted()
TaskState.COMPLETED.TimestampTimestamp getModified()
TimestampTimestamp getPlanned()
Timestampvoid setPlanned(Timestamp planned)
planned - as exact TimestampTimestamp getDue()
TimestampString getName()
void setName(String name)
name - the name of the taskString getDescription()
void setDescription(String description)
description - the description of the taskint getPriority()
Classification getClassification()
Classification of the task.void setClassification(Classification classification)
Classification to specify this kind of task.classification - the classification of the taskString getWorkbasketKey()
void setWorkbasketKey(String workbasketKey)
workbasketKey - the key of the workbasketString getBusinessProcessId()
String getParentBusinessProcessId()
String getOwner()
void setOwner(String taskOwnerId)
taskOwnerId - the user id of the task's ownerObjectReference getPrimaryObjRef()
primaryObjectReference of the task.void setPrimaryObjRef(ObjectReference primaryObjRef)
primaryObjectReference of the task.primaryObjRef - to task main-subjectboolean isRead()
boolean isTransferred()
Map<String,Object> getCustomAttributes()
MapString getCustom1()
void setCustom1(String custom1)
custom1 - the custom1 property of the taskString getCustom2()
void setCustom2(String custom2)
custom2 - the custom2 property of the taskString getCustom3()
void setCustom3(String custom3)
custom3 - the custom3 property of the taskString getCustom4()
void setCustom4(String custom4)
custom4 - the custom4 property of the taskString getCustom5()
void setCustom5(String custom5)
custom5 - the custom5 property of the taskString getCustom6()
void setCustom6(String custom6)
custom6 - the custom6 property of the taskString getCustom7()
void setCustom7(String custom7)
custom7 - the custom7 property of the taskString getCustom8()
void setCustom8(String custom8)
custom8 - the custom8 property of the taskString getCustom9()
void setCustom9(String custom9)
custom9 - the custom9 property of the taskString getCustom10()
void setCustom10(String custom10)
custom10 - the custom10 property of the taskvoid addAttachment(Attachment attachment)
attachment - the attachment to be added to the taskList<Attachment> getAttachments()
list of attachments for this taskCopyright © 2018. All rights reserved.