Daisy Open Source CMS

org.outerj.daisy.workflow
Interface WfTask


public interface WfTask


Method Summary
 long getActorId()
          The ID of the user to who this task is assigned.
 Date getCreated()
           
 WfTaskDefinition getDefinition()
           
 Date getDueDate()
          Time by which the task should be finished, can be null.
 Date getEnd()
          Returns null as long as the task is not ended.
 String getExecutionPath()
          Returns the execution path in the workflow to where this task was created.
 String getId()
           
 TaskPriority getPriority()
           
 String getProcessId()
          Returns the ID of the process instance to which this task belongs.
 WfVariable getVariable(String name)
           
 WfVariable getVariable(String name, VariableScope scope)
           
 List<WfVariable> getVariables()
           
 org.outerx.daisy.x10Workflow.TaskDocument getXml()
           
 boolean hasPools()
          Returns true if this task is associated with pools.
 boolean hasSwimlane()
          Returns true if this task is associated with a swimlane.
 

Method Detail

getId

String getId()

getCreated

Date getCreated()

getEnd

Date getEnd()
Returns null as long as the task is not ended.


getDueDate

Date getDueDate()
Time by which the task should be finished, can be null.


getPriority

TaskPriority getPriority()

getActorId

long getActorId()
The ID of the user to who this task is assigned. This is -1 if the task is not assigned to anyone (or assigned to a pool).


hasPools

boolean hasPools()
Returns true if this task is associated with pools. This is useful to know on beforehand if it is possible to unassign a task, so that it is assigned back to the pool(s).


hasSwimlane

boolean hasSwimlane()
Returns true if this task is associated with a swimlane. This is useful to know if the 'overwriteSwimlane' flag for the (re-)assignment of tasks will have any influence.


getProcessId

String getProcessId()
Returns the ID of the process instance to which this task belongs.


getExecutionPath

String getExecutionPath()
Returns the execution path in the workflow to where this task was created.


getVariable

WfVariable getVariable(String name)

getVariable

WfVariable getVariable(String name,
                       VariableScope scope)

getVariables

List<WfVariable> getVariables()

getDefinition

WfTaskDefinition getDefinition()

getXml

org.outerx.daisy.x10Workflow.TaskDocument getXml()

Daisy Open Source CMS