@ProviderType public interface WorkItem extends InboxItem, HasMetaData
A WorkItem
is the unit that is passed through an
instance of a
Workflow
.
WorkflowModel
It contains the
the instances acts on and
a reference to the WorkflowData
WorkflowNode
that describes the underlying
workflow step.
A WorkItem
can be considered as a token in a petri net that
flows through the net during execution.
InboxItem.Priority
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCurrentAssignee()
Returns the currently assigned user, respectively the info in which inbox the WorkItem "resides".
|
java.lang.String |
getId()
Returns the ID of the
WorkflowItem . |
WorkflowNode |
getNode()
Returns the current
the
WorkflowItem is attached to. |
java.util.Date |
getTimeEnded()
Returns the end time of the
WorkflowItem . |
java.util.Date |
getTimeStarted()
Returns the start time of the
WorkflowItem . |
Workflow |
getWorkflow()
Returns the
instance assigned with this
WorkflowItem . |
WorkflowData |
getWorkflowData()
Returns the
assigned to the
WorkflowItem . |
void |
setDueTime(java.util.Date dueTime)
Sets the due time of this workitem.
|
void |
setPriority(InboxItem.Priority priority)
Sets the priority for this workitem.
|
void |
setProgressBeginTime(java.util.Date progressBeginTime)
Sets the progress begin time for this workitem.
|
getContentPath, getDueTime, getItemSubType, getItemType, getPriority, getProgressBeginTime, getStatus
getMetaDataMap
java.util.Date getTimeStarted()
WorkflowItem
.getTimeStarted
in interface InboxItem
WorkflowItem
.java.util.Date getTimeEnded()
WorkflowItem
.getTimeEnded
in interface InboxItem
WorkflowItem
.Workflow getWorkflow()
Workflow
instance assigned with this
WorkflowItem
.Workflow
of the workflow instance assigned with
the WorkflowItem
.WorkflowNode getNode()
WorkflowNode
the
WorkflowItem
is attached to.WorkflowNode
of the
WorkflowItem
.java.lang.String getId()
WorkflowItem
.WorkflowData getWorkflowData()
WorkflowData
assigned to the
WorkflowItem
.WorkflowData
of the
WorkflowItem
.java.lang.String getCurrentAssignee()
getCurrentAssignee
in interface InboxItem
void setDueTime(java.util.Date dueTime)
dueTime
- the new due time of this workitemvoid setProgressBeginTime(java.util.Date progressBeginTime)
progressBeginTime
- the time for when progress should start on this workitem.void setPriority(InboxItem.Priority priority)
priority
- the priority of this task.for details
Copyright © 2010 - 2020 Adobe. All Rights Reserved