Class AbstractTaskDelegate
- java.lang.Object
-
- org.camunda.bpm.scenario.impl.delegate.AbstractProcessEngineServicesDelegate
-
- org.camunda.bpm.scenario.impl.AbstractExecutable<I>
-
- org.camunda.bpm.scenario.impl.WaitstateExecutable<org.camunda.bpm.engine.task.Task>
-
- org.camunda.bpm.scenario.impl.delegate.AbstractTaskDelegate
-
- All Implemented Interfaces:
Comparable<AbstractExecutable>,org.camunda.bpm.engine.task.Task,Deferrable,ProcessInstanceAwareDelegate,TaskDelegate,Executable<AbstractExecutable>
- Direct Known Subclasses:
UserTaskExecutable
public abstract class AbstractTaskDelegate extends WaitstateExecutable<org.camunda.bpm.engine.task.Task> implements TaskDelegate
- Author:
- Martin Schimak
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.camunda.bpm.scenario.impl.Executable
Executable.Deferreds, Executable.Helpers, Executable.Jobs, Executable.Waitstates
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.scenario.impl.WaitstateExecutable
historicDelegate
-
Fields inherited from class org.camunda.bpm.scenario.impl.AbstractExecutable
delegate, idComparator, runner
-
Fields inherited from class org.camunda.bpm.scenario.impl.delegate.AbstractProcessEngineServicesDelegate
processEngine
-
-
Constructor Summary
Constructors Constructor Description AbstractTaskDelegate(ProcessRunnerImpl runner, org.camunda.bpm.engine.history.HistoricActivityInstance instance)
-
Method Summary
-
Methods inherited from class org.camunda.bpm.scenario.impl.WaitstateExecutable
action, action, compareTo, defer, execute, getActivityId, getExecutionId, getProcessInstance, isExecutableAt
-
Methods inherited from class org.camunda.bpm.scenario.impl.AbstractExecutable
getDelegate
-
Methods inherited from class org.camunda.bpm.scenario.impl.delegate.AbstractProcessEngineServicesDelegate
getAuthorizationService, getCaseService, getDecisionService, getExternalTaskService, getFilterService, getFormService, getHistoryService, getIdentityService, getManagementService, getProcessEngine, getRepositoryService, getRuntimeService, getTaskService
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.scenario.defer.Deferrable
defer
-
Methods inherited from interface org.camunda.bpm.scenario.delegate.ProcessInstanceAwareDelegate
getProcessInstance
-
Methods inherited from interface org.camunda.bpm.scenario.delegate.TaskDelegate
complete, complete, handleBpmnError, handleBpmnError
-
-
-
-
Constructor Detail
-
AbstractTaskDelegate
public AbstractTaskDelegate(ProcessRunnerImpl runner, org.camunda.bpm.engine.history.HistoricActivityInstance instance)
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.camunda.bpm.engine.task.Task
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.camunda.bpm.engine.task.Task
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceorg.camunda.bpm.engine.task.Task
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceorg.camunda.bpm.engine.task.Task
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceorg.camunda.bpm.engine.task.Task
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceorg.camunda.bpm.engine.task.Task
-
setPriority
public void setPriority(int priority)
- Specified by:
setPriorityin interfaceorg.camunda.bpm.engine.task.Task
-
getOwner
public String getOwner()
- Specified by:
getOwnerin interfaceorg.camunda.bpm.engine.task.Task
-
setOwner
public void setOwner(String owner)
- Specified by:
setOwnerin interfaceorg.camunda.bpm.engine.task.Task
-
getAssignee
public String getAssignee()
- Specified by:
getAssigneein interfaceorg.camunda.bpm.engine.task.Task
-
setAssignee
public void setAssignee(String assignee)
- Specified by:
setAssigneein interfaceorg.camunda.bpm.engine.task.Task
-
getDelegationState
public org.camunda.bpm.engine.task.DelegationState getDelegationState()
- Specified by:
getDelegationStatein interfaceorg.camunda.bpm.engine.task.Task
-
setDelegationState
public void setDelegationState(org.camunda.bpm.engine.task.DelegationState delegationState)
- Specified by:
setDelegationStatein interfaceorg.camunda.bpm.engine.task.Task
-
getProcessInstanceId
public String getProcessInstanceId()
- Specified by:
getProcessInstanceIdin interfaceorg.camunda.bpm.engine.task.Task
-
getProcessDefinitionId
public String getProcessDefinitionId()
- Specified by:
getProcessDefinitionIdin interfaceorg.camunda.bpm.engine.task.Task
-
getCaseInstanceId
public String getCaseInstanceId()
- Specified by:
getCaseInstanceIdin interfaceorg.camunda.bpm.engine.task.Task
-
setCaseInstanceId
public void setCaseInstanceId(String caseInstanceId)
- Specified by:
setCaseInstanceIdin interfaceorg.camunda.bpm.engine.task.Task
-
getCaseExecutionId
public String getCaseExecutionId()
- Specified by:
getCaseExecutionIdin interfaceorg.camunda.bpm.engine.task.Task
-
getCaseDefinitionId
public String getCaseDefinitionId()
- Specified by:
getCaseDefinitionIdin interfaceorg.camunda.bpm.engine.task.Task
-
getCreateTime
public Date getCreateTime()
- Specified by:
getCreateTimein interfaceorg.camunda.bpm.engine.task.Task
-
getTaskDefinitionKey
public String getTaskDefinitionKey()
- Specified by:
getTaskDefinitionKeyin interfaceorg.camunda.bpm.engine.task.Task
-
getDueDate
public Date getDueDate()
- Specified by:
getDueDatein interfaceorg.camunda.bpm.engine.task.Task
-
setDueDate
public void setDueDate(Date dueDate)
- Specified by:
setDueDatein interfaceorg.camunda.bpm.engine.task.Task
-
getFollowUpDate
public Date getFollowUpDate()
- Specified by:
getFollowUpDatein interfaceorg.camunda.bpm.engine.task.Task
-
setFollowUpDate
public void setFollowUpDate(Date dueDate)
- Specified by:
setFollowUpDatein interfaceorg.camunda.bpm.engine.task.Task
-
delegate
public void delegate(String userId)
- Specified by:
delegatein interfaceorg.camunda.bpm.engine.task.Task
-
setParentTaskId
public void setParentTaskId(String parentTaskId)
- Specified by:
setParentTaskIdin interfaceorg.camunda.bpm.engine.task.Task
-
getParentTaskId
public String getParentTaskId()
- Specified by:
getParentTaskIdin interfaceorg.camunda.bpm.engine.task.Task
-
isSuspended
public boolean isSuspended()
- Specified by:
isSuspendedin interfaceorg.camunda.bpm.engine.task.Task
-
getFormKey
public String getFormKey()
- Specified by:
getFormKeyin interfaceorg.camunda.bpm.engine.task.Task
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceorg.camunda.bpm.engine.task.Task
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceorg.camunda.bpm.engine.task.Task
-
-