Class TaskEntity
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
- 
- org.camunda.bpm.engine.impl.persistence.entity.TaskEntity
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- BpmnModelExecutionContext,- DelegateTask,- ProcessEngineServicesAware,- VariableScope,- VariableEventDispatcher,- VariableStore.VariablesProvider<VariableInstanceEntity>,- DbEntity,- HasDbReferences,- HasDbRevision,- CommandContextListener,- Task
 
 public class TaskEntity extends AbstractVariableScope implements Task, DelegateTask, java.io.Serializable, DbEntity, HasDbRevision, HasDbReferences, CommandContextListener, VariableStore.VariablesProvider<VariableInstanceEntity> - Author:
- Tom Baeyens, Joram Barrez, Falko Menge, Deivarayan Azhagappan
- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTaskEntity.TaskState
 - 
Field SummaryFields Modifier and Type Field Description protected java.lang.Stringassigneestatic java.lang.StringASSIGNEEprotected CamundaFormRefcamundaFormRefstatic java.lang.StringCASE_INSTANCE_IDprotected java.lang.StringcaseDefinitionIdprotected CaseExecutionEntitycaseExecutionprotected java.lang.StringcaseExecutionIdprotected java.lang.StringcaseInstanceIdprotected java.util.DatecreateTimeprotected java.util.List<VariableInstanceLifecycleListener<VariableInstanceEntity>>customLifecycleListenersprotected static java.util.List<VariableInstanceLifecycleListener<CoreVariableInstance>>DEFAULT_VARIABLE_LIFECYCLE_LISTENERSstatic java.lang.StringDELEGATIONprotected DelegationStatedelegationStatestatic java.lang.StringDELETEstatic java.lang.StringDELETE_REASON_COMPLETEDstatic java.lang.StringDELETE_REASON_DELETEDprotected java.lang.StringdeleteReasonprotected java.lang.Stringdescriptionstatic java.lang.StringDESCRIPTIONstatic java.lang.StringDUE_DATEprotected java.util.DatedueDateprotected java.lang.StringeventNameprotected ExecutionEntityexecutionprotected java.lang.StringexecutionIdstatic java.lang.StringFOLLOW_UP_DATEprotected java.util.DatefollowUpDateprotected java.lang.StringformKeyprotected java.lang.Stringidprotected java.util.List<PropertyChange>identityLinkChangesprotected booleanisDeletedprotected booleanisFormKeyInitializedprotected booleanisIdentityLinksInitializedprotected java.util.DatelastUpdatedprotected TaskEntity.TaskStatelifecycleStateprotected static EnginePersistenceLoggerLOGprotected java.lang.Stringnamestatic java.lang.StringNAMEprotected java.lang.Stringownerstatic java.lang.StringOWNERstatic java.lang.StringPARENT_TASKprotected TaskEntityparentTaskprotected java.lang.StringparentTaskIdprotected intprioritystatic java.lang.StringPRIORITYprotected java.lang.StringprocessDefinitionIdprotected ExecutionEntityprocessInstanceprotected java.lang.StringprocessInstanceIdprotected java.util.Map<java.lang.String,PropertyChange>propertyChangescontains all changed properties of this entityprotected intrevisionprotected booleanskipCustomListenersprotected intsuspensionStateprotected TaskDefinitiontaskDefinitionprotected java.lang.StringtaskDefinitionKeyprotected java.util.List<IdentityLinkEntity>taskIdentityLinkEntitiesprotected java.lang.StringtenantIdprotected VariableStore<VariableInstanceEntity>variableStore- 
Fields inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScopecachedElContext
 - 
Fields inherited from interface org.camunda.bpm.engine.task.TaskPRIORITY_MAXIMUM, PRIORITY_MINIUM, PRIORITY_NORMAL
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description TaskEntity()Mybatis constructorTaskEntity(java.lang.String id)Standalone task constructorTaskEntity(CaseExecutionEntity caseExecution)CMMN execution constructorTaskEntity(ExecutionEntity execution)BPMN execution constructorprotectedTaskEntity(TaskEntity.TaskState initialState)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCandidateGroup(java.lang.String groupId)Adds the given group as candidate group to this taskvoidaddCandidateGroups(java.util.Collection<java.lang.String> candidateGroups)Adds multiple groups as candidate group to this task.voidaddCandidateUser(java.lang.String userId)Adds the given user as a candidate user to this task.voidaddCandidateUsers(java.util.Collection<java.lang.String> candidateUsers)Adds multiple users as candidate user to this task.voidaddCustomLifecycleListener(VariableInstanceLifecycleListener<VariableInstanceEntity> customLifecycleListener)voidaddGroupIdentityLink(java.lang.String groupId, java.lang.String identityLinkType)Involves a group with group task.IdentityLinkEntityaddIdentityLink(java.lang.String userId, java.lang.String groupId, java.lang.String type)voidaddIdentityLinkChanges(java.lang.String type, java.lang.String oldProperty, java.lang.String newProperty)voidaddUserIdentityLink(java.lang.String userId, java.lang.String identityLinkType)Involves a user with a task.voidbpmnError(java.lang.String errorCode, java.lang.String errorMessage, java.util.Map<java.lang.String,java.lang.Object> variables)voidcaseExecutionCompleted()voidcomplete()set status to complete.voiddelegate(java.lang.String userId)delegates this task to the given user and sets thedelegationStatetoDelegationState.PENDING.voiddelete(java.lang.String deleteReason, boolean cascade)voiddelete(java.lang.String deleteReason, boolean cascade, boolean skipCustomListeners)protected voiddeleteAuthorizations(AuthorizationEntity[] authorizations)voiddeleteCandidateGroup(java.lang.String groupId)Convenience shorthand for#deleteGroupIdentityLink(String, String, String); with typeIdentityLinkType.CANDIDATEvoiddeleteCandidateUser(java.lang.String userId)Convenience shorthand forDelegateTask.deleteUserIdentityLink(String, String); with typeIdentityLinkType.CANDIDATEvoiddeleteGroupIdentityLink(java.lang.String groupId, java.lang.String identityLinkType)Removes the association between a group and a task for the given identityLinkType.voiddeleteIdentityLink(java.lang.String userId, java.lang.String groupId, java.lang.String type)voiddeleteIdentityLinks()voiddeleteUserIdentityLink(java.lang.String userId, java.lang.String identityLinkType)Removes the association between a user and a task for the given identityLinkType.voiddispatchEvent(VariableEvent variableEvent)protected voidensureCaseExecutionInitialized()voidensureParentTaskActive()protected voidensureTaskActive()protected voidensureTenantIdNotChanged()booleanequals(java.lang.Object obj)voidescalation(java.lang.String escalationCode, java.util.Map<java.lang.String,java.lang.Object> variables)voidexecuteMetrics(java.lang.String metricsName, CommandContext commandContext)protected voidfireAddIdentityLinkAuthorizationProvider(java.lang.String type, java.lang.String userId, java.lang.String groupId)protected voidfireAssigneeAuthorizationProvider(java.lang.String oldAssignee, java.lang.String newAssignee)protected booleanfireAssignmentEvent()voidfireAuthorizationProvider()protected voidfireAuthorizationProvider(java.lang.String property, java.lang.String oldValue, java.lang.String newValue)protected voidfireDeleteIdentityLinkAuthorizationProvider(java.lang.String type, java.lang.String userId, java.lang.String groupId)booleanfireEvent(java.lang.String taskEventName)voidfireHistoricIdentityLinks()voidfireIdentityLinkHistoryEvents(java.lang.String userId, java.lang.String groupId, java.lang.String type, HistoryEventTypes historyEventType)protected voidfireOwnerAuthorizationProvider(java.lang.String oldOwner, java.lang.String newOwner)java.util.Map<java.lang.String,java.lang.Object>getActivityInstanceVariables()java.lang.StringgetAssignee()UserTaskgetBpmnModelElementInstance()Provides access to the currentUserTaskElement from the Bpmn Model.BpmnModelInstancegetBpmnModelInstance()Returns theBpmnModelInstancefor the currently executed Bpmn ModelCamundaFormRefgetCamundaFormRef()Provides the form binding reference to the Camunda Form for the task.java.util.Set<IdentityLink>getCandidates()Retrieves the candidate users and groups associated with the task.CaseDefinitionEntitygetCaseDefinition()java.lang.StringgetCaseDefinitionId()Reference to the case definition or null if it is not related to a case.CaseExecutionEntitygetCaseExecution()Returns the case execution currently at the task.java.lang.StringgetCaseExecutionId()Reference to the path of case execution or null if it is not related to a case instance.java.lang.StringgetCaseInstanceId()Reference to the case instance or null if it is not related to a case instance.java.util.DategetCreateTime()The date/time when this task was createdDelegationStategetDelegationState()The currentDelegationStatefor this task.java.lang.StringgetDelegationStateString()java.lang.StringgetDeleteReason()Get delete reason of the task.java.lang.StringgetDescription()Free text description of the task.java.util.DategetDueDate()Due date of the task.java.lang.StringgetEventName()Returns the event name which triggered the task listener to fire for this task.ExecutionEntitygetExecution()Returns the execution currently at the task.java.lang.StringgetExecutionId()Reference to the path of execution or null if it is not related to a process instance.java.util.DategetFollowUpDate()Follow-up date of the task.java.lang.StringgetFormKey()Provides the form key for the task.java.lang.StringgetId()DB id of the task.java.util.List<IdentityLinkEntity>getIdentityLinks()java.util.DategetLastUpdated()The date/time when this task was last updated.protected java.util.List<TaskListener>getListenersForEvent(java.lang.String event)java.lang.StringgetName()Name or title of the task.java.lang.StringgetOwner()TheuserIdof the person that is responsible for this task.TaskEntitygetParentTask()java.lang.StringgetParentTaskId()the parent task for which this task is a subtaskAbstractVariableScopegetParentVariableScope()java.lang.ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.intgetPriority()indication of how important/urgent this task is with a number between 0 and 100 where higher values mean a higher priority and lower values mean lower priority: [0..19] lowest, [20..39] low, [40..59] normal, [60..79] high [80..100] highestProcessDefinitionEntitygetProcessDefinition()java.lang.StringgetProcessDefinitionId()Reference to the process definition or null if it is not related to a process.ProcessEnginegetProcessEngine()Returns theProcessEngineproviding access to the public API of the process engine.ProcessEngineServicesgetProcessEngineServices()Returns theProcessEngineServicesproviding access to the public API of the process engine.ExecutionEntitygetProcessInstance()java.lang.StringgetProcessInstanceId()Reference to the process instance or null if it is not related to a process instance.java.util.Map<java.lang.String,PropertyChange>getPropertyChanges()java.util.Map<java.lang.String,java.lang.Class>getReferencedEntitiesIdAndClass()Scope: IN-MEMORY referencesjava.util.Set<java.lang.String>getReferencedEntityIds()Scope: IN-MEMORY referencesprotected ResourceAuthorizationProvidergetResourceAuthorizationProvider()intgetRevision()intgetRevisionNext()intgetSuspensionState()TaskDefinitiongetTaskDefinition()java.lang.StringgetTaskDefinitionKey()The id of the activity in the process defining this task or null if this is not related to a processjava.lang.StringgetTenantId()Returns the task's tenant id or null in case this task does not belong to a tenant.protected TaskListenergetTimeoutListener(java.lang.String timeoutId)protected VariableInstanceFactory<CoreVariableInstance>getVariableInstanceFactory()protected java.util.List<VariableInstanceLifecycleListener<CoreVariableInstance>>getVariableInstanceLifecycleListeners()java.lang.StringgetVariableScopeKey()java.util.Collection<VariableInstanceEntity>getVariablesInternal()protected VariableStore<CoreVariableInstance>getVariableStore()inthashCode()voidinitializeFormKey()voidinsert()protected booleaninvokeListener(java.lang.String taskEventName, TaskListener taskListener)protected booleaninvokeListener(CoreExecution currentExecution, java.lang.String eventName, TaskListener taskListener)protected booleanisAuthorizationEnabled()booleanisDeleted()booleanisStandaloneTask()booleanisSuspended()Indicated whether this task is suspended or not.voidlogUserOperation(java.lang.String operation)IdentityLinkEntitynewIdentityLink(java.lang.String userId, java.lang.String groupId, java.lang.String type)voidonCommandContextClose(CommandContext commandContext)voidonCommandFailed(CommandContext commandContext, java.lang.Throwable t)protected voidpropagateExecutionTenantId(ExecutionEntity execution)voidpropagateParentTaskTenantId()protected voidpropertyChanged(java.lang.String propertyName, java.lang.Object orgValue, java.lang.Object newValue)Tracks a property change.java.util.Collection<VariableInstanceEntity>provideVariables()java.util.Collection<VariableInstanceEntity>provideVariables(java.util.Collection<java.lang.String> variableNames)protected voidregisterCommandContextCloseListener()VariableInstanceLifecycleListener<VariableInstanceEntity>removeCustomLifecycleListener(VariableInstanceLifecycleListener<VariableInstanceEntity> customLifecycleListener)voidresolve()protected voidsaveAuthorizations(AuthorizationEntity[] authorizations)voidsetAssignee(java.lang.String assignee)voidsetAssigneeWithoutCascade(java.lang.String assignee)voidsetCaseDefinitionId(java.lang.String caseDefinitionId)voidsetCaseExecution(CaseExecutionEntity caseExecution)voidsetCaseExecutionId(java.lang.String caseExecutionId)voidsetCaseInstanceId(java.lang.String caseInstanceId)The case instance id for which this task is associated for.voidsetCaseInstanceIdWithoutCascade(java.lang.String caseInstanceId)voidsetCreateTime(java.util.Date createTime)voidsetDelegationState(DelegationState delegationState)The currentDelegationStatefor this task.voidsetDelegationStateString(java.lang.String delegationState)Setter for mybatis mapper.voidsetDelegationStateWithoutCascade(DelegationState delegationState)voidsetDeleted(boolean isDeleted)voidsetDescription(java.lang.String description)Change the description of the taskvoidsetDescriptionWithoutCascade(java.lang.String description)voidsetDueDate(java.util.Date dueDate)Change due date of the task.voidsetDueDateWithoutCascade(java.util.Date dueDate)voidsetEventName(java.lang.String eventName)voidsetExecution(PvmExecutionImpl execution)voidsetExecutionId(java.lang.String executionId)voidsetExecutionVariables(java.util.Map<java.lang.String,java.lang.Object> parameters)voidsetFollowUpDate(java.util.Date followUpDate)Change follow-up date of the task.voidsetFollowUpDateWithoutCascade(java.util.Date followUpDate)voidsetId(java.lang.String id)voidsetLastUpdated(java.util.Date lastUpdated)voidsetName(java.lang.String taskName)Name or title of the task.voidsetNameWithoutCascade(java.lang.String taskName)voidsetOwner(java.lang.String owner)TheuserIdof the person that is responsible for this task.voidsetOwnerWithoutCascade(java.lang.String owner)voidsetParentTaskId(java.lang.String parentTaskId)the parent task for which this task is a subtaskvoidsetParentTaskIdWithoutCascade(java.lang.String parentTaskId)voidsetPriority(int priority)indication of how important/urgent this task is with a number between 0 and 100 where higher values mean a higher priority and lower values mean lower priority: [0..19] lowest, [20..39] low, [40..59] normal, [60..79] high [80..100] highestvoidsetPriorityWithoutCascade(int priority)voidsetProcessDefinitionId(java.lang.String processDefinitionId)voidsetProcessInstance(ExecutionEntity processInstance)voidsetProcessInstanceId(java.lang.String processInstanceId)voidsetRevision(int revision)voidsetSuspensionState(int suspensionState)voidsetTaskDefinition(TaskDefinition taskDefinition)voidsetTaskDefinitionKey(java.lang.String taskDefinitionKey)voidsetTaskDefinitionKeyWithoutCascade(java.lang.String taskDefinitionKey)voidsetTenantId(java.lang.String tenantId)Sets the tenant id for this task.voidsetVariablesLocal(java.util.Map<java.lang.String,?> variables, boolean skipJavaSerializationFormatCheck)protected booleantenantIdIsSame(TaskEntity otherTask)java.lang.StringtoString()booleantransitionTo(TaskEntity.TaskState state)booleantriggerTimeoutEvent(java.lang.String timeoutId)booleantriggerUpdateEvent()voidupdate()- 
Methods inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScopecollectVariableNames, collectVariables, getCachedElContext, getSourceActivityVariableScope, getValueFromVariableInstance, getVariable, getVariable, getVariableInstance, getVariableInstanceLocal, getVariableInstancesLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, initializeVariableStore, invokeVariableLifecycleListenersCreate, invokeVariableLifecycleListenersCreate, invokeVariableLifecycleListenersDelete, invokeVariableLifecycleListenersDelete, invokeVariableLifecycleListenersUpdate, invokeVariableLifecycleListenersUpdate, removeVariable, removeVariable, removeVariableLocal, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setCachedElContext, setVariable, setVariable, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariableLocal, setVariables, setVariables, setVariablesLocal
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.camunda.bpm.engine.impl.db.HasDbReferencesgetDependentEntities
 - 
Methods inherited from interface org.camunda.bpm.engine.delegate.VariableScopegetVariable, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setVariable, setVariableLocal, setVariables, setVariablesLocal
 
- 
 
- 
- 
- 
Field Detail- 
LOGprotected static final EnginePersistenceLogger LOG 
 - 
DEFAULT_VARIABLE_LIFECYCLE_LISTENERSprotected static final java.util.List<VariableInstanceLifecycleListener<CoreVariableInstance>> DEFAULT_VARIABLE_LIFECYCLE_LISTENERS 
 - 
DELETE_REASON_COMPLETEDpublic static final java.lang.String DELETE_REASON_COMPLETED - See Also:
- Constant Field Values
 
 - 
DELETE_REASON_DELETEDpublic static final java.lang.String DELETE_REASON_DELETED - See Also:
- Constant Field Values
 
 - 
idprotected java.lang.String id 
 - 
revisionprotected int revision 
 - 
ownerprotected java.lang.String owner 
 - 
assigneeprotected java.lang.String assignee 
 - 
delegationStateprotected DelegationState delegationState 
 - 
parentTaskIdprotected java.lang.String parentTaskId 
 - 
parentTaskprotected transient TaskEntity parentTask 
 - 
nameprotected java.lang.String name 
 - 
descriptionprotected java.lang.String description 
 - 
priorityprotected int priority 
 - 
createTimeprotected java.util.Date createTime 
 - 
lastUpdatedprotected java.util.Date lastUpdated 
 - 
dueDateprotected java.util.Date dueDate 
 - 
followUpDateprotected java.util.Date followUpDate 
 - 
suspensionStateprotected int suspensionState 
 - 
lifecycleStateprotected TaskEntity.TaskState lifecycleState 
 - 
tenantIdprotected java.lang.String tenantId 
 - 
isIdentityLinksInitializedprotected boolean isIdentityLinksInitialized 
 - 
taskIdentityLinkEntitiesprotected transient java.util.List<IdentityLinkEntity> taskIdentityLinkEntities 
 - 
executionIdprotected java.lang.String executionId 
 - 
executionprotected transient ExecutionEntity execution 
 - 
processInstanceIdprotected java.lang.String processInstanceId 
 - 
processInstanceprotected transient ExecutionEntity processInstance 
 - 
processDefinitionIdprotected java.lang.String processDefinitionId 
 - 
caseExecutionIdprotected java.lang.String caseExecutionId 
 - 
caseExecutionprotected transient CaseExecutionEntity caseExecution 
 - 
caseInstanceIdprotected java.lang.String caseInstanceId 
 - 
caseDefinitionIdprotected java.lang.String caseDefinitionId 
 - 
taskDefinitionprotected transient TaskDefinition taskDefinition 
 - 
taskDefinitionKeyprotected java.lang.String taskDefinitionKey 
 - 
isDeletedprotected boolean isDeleted 
 - 
deleteReasonprotected java.lang.String deleteReason 
 - 
eventNameprotected java.lang.String eventName 
 - 
isFormKeyInitializedprotected boolean isFormKeyInitialized 
 - 
formKeyprotected java.lang.String formKey 
 - 
camundaFormRefprotected CamundaFormRef camundaFormRef 
 - 
variableStoreprotected transient VariableStore<VariableInstanceEntity> variableStore 
 - 
skipCustomListenersprotected transient boolean skipCustomListeners 
 - 
propertyChangesprotected transient java.util.Map<java.lang.String,PropertyChange> propertyChanges contains all changed properties of this entity
 - 
identityLinkChangesprotected transient java.util.List<PropertyChange> identityLinkChanges 
 - 
customLifecycleListenersprotected java.util.List<VariableInstanceLifecycleListener<VariableInstanceEntity>> customLifecycleListeners 
 - 
ASSIGNEEpublic static final java.lang.String ASSIGNEE - See Also:
- Constant Field Values
 
 - 
DELEGATIONpublic static final java.lang.String DELEGATION - See Also:
- Constant Field Values
 
 - 
DELETEpublic static final java.lang.String DELETE - See Also:
- Constant Field Values
 
 - 
DESCRIPTIONpublic static final java.lang.String DESCRIPTION - See Also:
- Constant Field Values
 
 - 
DUE_DATEpublic static final java.lang.String DUE_DATE - See Also:
- Constant Field Values
 
 - 
FOLLOW_UP_DATEpublic static final java.lang.String FOLLOW_UP_DATE - See Also:
- Constant Field Values
 
 - 
NAMEpublic static final java.lang.String NAME - See Also:
- Constant Field Values
 
 - 
OWNERpublic static final java.lang.String OWNER - See Also:
- Constant Field Values
 
 - 
PARENT_TASKpublic static final java.lang.String PARENT_TASK - See Also:
- Constant Field Values
 
 - 
PRIORITYpublic static final java.lang.String PRIORITY - See Also:
- Constant Field Values
 
 - 
CASE_INSTANCE_IDpublic static final java.lang.String CASE_INSTANCE_ID - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
TaskEntitypublic TaskEntity() Mybatis constructor
 - 
TaskEntitypublic TaskEntity(java.lang.String id) Standalone task constructor
 - 
TaskEntityprotected TaskEntity(TaskEntity.TaskState initialState) 
 - 
TaskEntitypublic TaskEntity(ExecutionEntity execution) BPMN execution constructor
 - 
TaskEntitypublic TaskEntity(CaseExecutionEntity caseExecution) CMMN execution constructor
 
- 
 - 
Method Detail- 
insertpublic void insert() 
 - 
propagateExecutionTenantIdprotected void propagateExecutionTenantId(ExecutionEntity execution) 
 - 
propagateParentTaskTenantIdpublic void propagateParentTaskTenantId() 
 - 
updatepublic void update() 
 - 
ensureTenantIdNotChangedprotected void ensureTenantIdNotChanged() 
 - 
tenantIdIsSameprotected boolean tenantIdIsSame(TaskEntity otherTask) 
 - 
completepublic void complete() Description copied from interface:DelegateTaskset status to complete.- Specified by:
- completein interface- DelegateTask
 
 - 
caseExecutionCompletedpublic void caseExecutionCompleted() 
 - 
deletepublic void delete(java.lang.String deleteReason, boolean cascade)
 - 
deletepublic void delete(java.lang.String deleteReason, boolean cascade, boolean skipCustomListeners)
 - 
delegatepublic void delegate(java.lang.String userId) Description copied from interface:Taskdelegates this task to the given user and sets thedelegationStatetoDelegationState.PENDING. If no owner is set on the task, the owner is set to the current assignee of the task.
 - 
resolvepublic void resolve() 
 - 
getPersistentStatepublic java.lang.Object getPersistentState() Description copied from interface:DbEntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
- getPersistentStatein interface- DbEntity
 
 - 
getRevisionNextpublic int getRevisionNext() - Specified by:
- getRevisionNextin interface- HasDbRevision
 
 - 
ensureParentTaskActivepublic void ensureParentTaskActive() 
 - 
ensureTaskActiveprotected void ensureTaskActive() 
 - 
getBpmnModelElementInstancepublic UserTask getBpmnModelElementInstance() Description copied from interface:DelegateTaskProvides access to the currentUserTaskElement from the Bpmn Model.- Specified by:
- getBpmnModelElementInstancein interface- BpmnModelExecutionContext
- Specified by:
- getBpmnModelElementInstancein interface- DelegateTask
- Returns:
- the current UserTaskElement from the Bpmn Model.
 
 - 
getBpmnModelInstancepublic BpmnModelInstance getBpmnModelInstance() Description copied from interface:BpmnModelExecutionContextReturns theBpmnModelInstancefor the currently executed Bpmn Model- Specified by:
- getBpmnModelInstancein interface- BpmnModelExecutionContext
- Returns:
- the current BpmnModelInstance
 
 - 
getVariableStoreprotected VariableStore<CoreVariableInstance> getVariableStore() - Specified by:
- getVariableStorein class- AbstractVariableScope
 
 - 
getVariableInstanceFactoryprotected VariableInstanceFactory<CoreVariableInstance> getVariableInstanceFactory() - Specified by:
- getVariableInstanceFactoryin class- AbstractVariableScope
 
 - 
getVariableInstanceLifecycleListenersprotected java.util.List<VariableInstanceLifecycleListener<CoreVariableInstance>> getVariableInstanceLifecycleListeners() - Specified by:
- getVariableInstanceLifecycleListenersin class- AbstractVariableScope
 
 - 
addCustomLifecycleListenerpublic void addCustomLifecycleListener(VariableInstanceLifecycleListener<VariableInstanceEntity> customLifecycleListener) 
 - 
removeCustomLifecycleListenerpublic VariableInstanceLifecycleListener<VariableInstanceEntity> removeCustomLifecycleListener(VariableInstanceLifecycleListener<VariableInstanceEntity> customLifecycleListener) 
 - 
dispatchEventpublic void dispatchEvent(VariableEvent variableEvent) - Specified by:
- dispatchEventin interface- VariableEventDispatcher
- Overrides:
- dispatchEventin class- AbstractVariableScope
 
 - 
provideVariablespublic java.util.Collection<VariableInstanceEntity> provideVariables() - Specified by:
- provideVariablesin interface- VariableStore.VariablesProvider<VariableInstanceEntity>
 
 - 
provideVariablespublic java.util.Collection<VariableInstanceEntity> provideVariables(java.util.Collection<java.lang.String> variableNames) - Specified by:
- provideVariablesin interface- VariableStore.VariablesProvider<VariableInstanceEntity>
 
 - 
getParentVariableScopepublic AbstractVariableScope getParentVariableScope() - Specified by:
- getParentVariableScopein class- AbstractVariableScope
 
 - 
getVariableScopeKeypublic java.lang.String getVariableScopeKey() - Specified by:
- getVariableScopeKeyin interface- VariableScope
- Overrides:
- getVariableScopeKeyin class- AbstractVariableScope
 
 - 
getParentTaskpublic TaskEntity getParentTask() 
 - 
getExecutionpublic ExecutionEntity getExecution() Description copied from interface:DelegateTaskReturns the execution currently at the task.- Specified by:
- getExecutionin interface- DelegateTask
 
 - 
setExecutionpublic void setExecution(PvmExecutionImpl execution) 
 - 
getCaseExecutionpublic CaseExecutionEntity getCaseExecution() Description copied from interface:DelegateTaskReturns the case execution currently at the task.- Specified by:
- getCaseExecutionin interface- DelegateTask
 
 - 
ensureCaseExecutionInitializedprotected void ensureCaseExecutionInitialized() 
 - 
setCaseExecutionpublic void setCaseExecution(CaseExecutionEntity caseExecution) 
 - 
getCaseExecutionIdpublic java.lang.String getCaseExecutionId() Description copied from interface:TaskReference to the path of case execution or null if it is not related to a case instance.- Specified by:
- getCaseExecutionIdin interface- DelegateTask
- Specified by:
- getCaseExecutionIdin interface- Task
 
 - 
setCaseExecutionIdpublic void setCaseExecutionId(java.lang.String caseExecutionId) 
 - 
getCaseInstanceIdpublic java.lang.String getCaseInstanceId() Description copied from interface:TaskReference to the case instance or null if it is not related to a case instance.- Specified by:
- getCaseInstanceIdin interface- DelegateTask
- Specified by:
- getCaseInstanceIdin interface- Task
 
 - 
setCaseInstanceIdpublic void setCaseInstanceId(java.lang.String caseInstanceId) Description copied from interface:TaskThe case instance id for which this task is associated for.- Specified by:
- setCaseInstanceIdin interface- Task
 
 - 
getCaseDefinitionpublic CaseDefinitionEntity getCaseDefinition() 
 - 
getCaseDefinitionIdpublic java.lang.String getCaseDefinitionId() Description copied from interface:TaskReference to the case definition or null if it is not related to a case.- Specified by:
- getCaseDefinitionIdin interface- DelegateTask
- Specified by:
- getCaseDefinitionIdin interface- Task
 
 - 
setCaseDefinitionIdpublic void setCaseDefinitionId(java.lang.String caseDefinitionId) 
 - 
addIdentityLinkpublic IdentityLinkEntity addIdentityLink(java.lang.String userId, java.lang.String groupId, java.lang.String type) 
 - 
fireIdentityLinkHistoryEventspublic void fireIdentityLinkHistoryEvents(java.lang.String userId, java.lang.String groupId, java.lang.String type, HistoryEventTypes historyEventType)
 - 
newIdentityLinkpublic IdentityLinkEntity newIdentityLink(java.lang.String userId, java.lang.String groupId, java.lang.String type) 
 - 
deleteIdentityLinkpublic void deleteIdentityLink(java.lang.String userId, java.lang.String groupId, java.lang.String type)
 - 
deleteIdentityLinkspublic void deleteIdentityLinks() 
 - 
getCandidatespublic java.util.Set<IdentityLink> getCandidates() Description copied from interface:DelegateTaskRetrieves the candidate users and groups associated with the task.- Specified by:
- getCandidatesin interface- DelegateTask
- Returns:
- set of IdentityLinks of typeIdentityLinkType.CANDIDATE.
 
 - 
addCandidateUserpublic void addCandidateUser(java.lang.String userId) Description copied from interface:DelegateTaskAdds the given user as a candidate user to this task.- Specified by:
- addCandidateUserin interface- DelegateTask
 
 - 
addCandidateUserspublic void addCandidateUsers(java.util.Collection<java.lang.String> candidateUsers) Description copied from interface:DelegateTaskAdds multiple users as candidate user to this task.- Specified by:
- addCandidateUsersin interface- DelegateTask
 
 - 
addCandidateGrouppublic void addCandidateGroup(java.lang.String groupId) Description copied from interface:DelegateTaskAdds the given group as candidate group to this task- Specified by:
- addCandidateGroupin interface- DelegateTask
 
 - 
addCandidateGroupspublic void addCandidateGroups(java.util.Collection<java.lang.String> candidateGroups) Description copied from interface:DelegateTaskAdds multiple groups as candidate group to this task.- Specified by:
- addCandidateGroupsin interface- DelegateTask
 
 - 
addGroupIdentityLinkpublic void addGroupIdentityLink(java.lang.String groupId, java.lang.String identityLinkType)Description copied from interface:DelegateTaskInvolves a group with group task. The type of identityLink is defined by the given identityLink.- Specified by:
- addGroupIdentityLinkin interface- DelegateTask
- Parameters:
- groupId- id of the group to involve, cannot be null.
- identityLinkType- type of identity, cannot be null (@see- IdentityLinkType).
 
 - 
addUserIdentityLinkpublic void addUserIdentityLink(java.lang.String userId, java.lang.String identityLinkType)Description copied from interface:DelegateTaskInvolves a user with a task. The type of identity link is defined by the given identityLinkType.- Specified by:
- addUserIdentityLinkin interface- DelegateTask
- Parameters:
- userId- id of the user involve, cannot be null.
- identityLinkType- type of identityLink, cannot be null (@see- IdentityLinkType).
 
 - 
deleteCandidateGrouppublic void deleteCandidateGroup(java.lang.String groupId) Description copied from interface:DelegateTaskConvenience shorthand for#deleteGroupIdentityLink(String, String, String); with typeIdentityLinkType.CANDIDATE- Specified by:
- deleteCandidateGroupin interface- DelegateTask
- Parameters:
- groupId- id of the group to use as candidate, cannot be null.
 
 - 
deleteCandidateUserpublic void deleteCandidateUser(java.lang.String userId) Description copied from interface:DelegateTaskConvenience shorthand forDelegateTask.deleteUserIdentityLink(String, String); with typeIdentityLinkType.CANDIDATE- Specified by:
- deleteCandidateUserin interface- DelegateTask
- Parameters:
- userId- id of the user to use as candidate, cannot be null.
 
 - 
deleteGroupIdentityLinkpublic void deleteGroupIdentityLink(java.lang.String groupId, java.lang.String identityLinkType)Description copied from interface:DelegateTaskRemoves the association between a group and a task for the given identityLinkType.- Specified by:
- deleteGroupIdentityLinkin interface- DelegateTask
- Parameters:
- groupId- id of the group to involve, cannot be null.
- identityLinkType- type of identity, cannot be null (@see- IdentityLinkType).
 
 - 
deleteUserIdentityLinkpublic void deleteUserIdentityLink(java.lang.String userId, java.lang.String identityLinkType)Description copied from interface:DelegateTaskRemoves the association between a user and a task for the given identityLinkType.- Specified by:
- deleteUserIdentityLinkin interface- DelegateTask
- Parameters:
- userId- id of the user involve, cannot be null.
- identityLinkType- type of identityLink, cannot be null (@see- IdentityLinkType).
 
 - 
getIdentityLinkspublic java.util.List<IdentityLinkEntity> getIdentityLinks() 
 - 
getActivityInstanceVariablespublic java.util.Map<java.lang.String,java.lang.Object> getActivityInstanceVariables() 
 - 
setExecutionVariablespublic void setExecutionVariables(java.util.Map<java.lang.String,java.lang.Object> parameters) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
setNamepublic void setName(java.lang.String taskName) Description copied from interface:TaskName or title of the task.- Specified by:
- setNamein interface- DelegateTask
- Specified by:
- setNamein interface- Task
 
 - 
setDescriptionpublic void setDescription(java.lang.String description) Description copied from interface:TaskChange the description of the task- Specified by:
- setDescriptionin interface- DelegateTask
- Specified by:
- setDescriptionin interface- Task
 
 - 
setAssigneepublic void setAssignee(java.lang.String assignee) Description copied from interface:Task- Specified by:
- setAssigneein interface- DelegateTask
- Specified by:
- setAssigneein interface- Task
 
 - 
setOwnerpublic void setOwner(java.lang.String owner) Description copied from interface:TaskTheuserIdof the person that is responsible for this task. This is used when a task isdelegated.- Specified by:
- setOwnerin interface- DelegateTask
- Specified by:
- setOwnerin interface- Task
 
 - 
setDueDatepublic void setDueDate(java.util.Date dueDate) Description copied from interface:TaskChange due date of the task.- Specified by:
- setDueDatein interface- DelegateTask
- Specified by:
- setDueDatein interface- Task
 
 - 
setPrioritypublic void setPriority(int priority) Description copied from interface:Taskindication of how important/urgent this task is with a number between 0 and 100 where higher values mean a higher priority and lower values mean lower priority: [0..19] lowest, [20..39] low, [40..59] normal, [60..79] high [80..100] highest- Specified by:
- setPriorityin interface- DelegateTask
- Specified by:
- setPriorityin interface- Task
 
 - 
setParentTaskIdpublic void setParentTaskId(java.lang.String parentTaskId) Description copied from interface:Taskthe parent task for which this task is a subtask- Specified by:
- setParentTaskIdin interface- Task
 
 - 
setNameWithoutCascadepublic void setNameWithoutCascade(java.lang.String taskName) 
 - 
setDescriptionWithoutCascadepublic void setDescriptionWithoutCascade(java.lang.String description) 
 - 
setAssigneeWithoutCascadepublic void setAssigneeWithoutCascade(java.lang.String assignee) 
 - 
setOwnerWithoutCascadepublic void setOwnerWithoutCascade(java.lang.String owner) 
 - 
setDueDateWithoutCascadepublic void setDueDateWithoutCascade(java.util.Date dueDate) 
 - 
setPriorityWithoutCascadepublic void setPriorityWithoutCascade(int priority) 
 - 
setCaseInstanceIdWithoutCascadepublic void setCaseInstanceIdWithoutCascade(java.lang.String caseInstanceId) 
 - 
setParentTaskIdWithoutCascadepublic void setParentTaskIdWithoutCascade(java.lang.String parentTaskId) 
 - 
setTaskDefinitionKeyWithoutCascadepublic void setTaskDefinitionKeyWithoutCascade(java.lang.String taskDefinitionKey) 
 - 
setDelegationStateWithoutCascadepublic void setDelegationStateWithoutCascade(DelegationState delegationState) 
 - 
setDelegationStateStringpublic void setDelegationStateString(java.lang.String delegationState) Setter for mybatis mapper.- Parameters:
- delegationState- the delegation state as string
 
 - 
setFollowUpDateWithoutCascadepublic void setFollowUpDateWithoutCascade(java.util.Date followUpDate) 
 - 
fireEventpublic boolean fireEvent(java.lang.String taskEventName) - Returns:
- true if invoking the listener was successful; if not successful, either false is returned (case: BPMN error propagation) or an exception is thrown
 
 - 
getListenersForEventprotected java.util.List<TaskListener> getListenersForEvent(java.lang.String event) 
 - 
getTimeoutListenerprotected TaskListener getTimeoutListener(java.lang.String timeoutId) 
 - 
invokeListenerprotected boolean invokeListener(java.lang.String taskEventName, TaskListener taskListener)
 - 
invokeListenerprotected boolean invokeListener(CoreExecution currentExecution, java.lang.String eventName, TaskListener taskListener) throws java.lang.Exception - Returns:
- true if the next listener can be invoked; false if not
- Throws:
- java.lang.Exception
 
 - 
propertyChangedprotected void propertyChanged(java.lang.String propertyName, java.lang.Object orgValue, java.lang.Object newValue)Tracks a property change. Therefore the original and new value are stored in a map. It tracks multiple changes and if a property finally is changed back to the original value, then the change is removed.- Parameters:
- propertyName-
- orgValue-
- newValue-
 
 - 
fireAuthorizationProviderpublic void fireAuthorizationProvider() 
 - 
transitionTopublic boolean transitionTo(TaskEntity.TaskState state) 
 - 
triggerUpdateEventpublic boolean triggerUpdateEvent() 
 - 
triggerTimeoutEventpublic boolean triggerTimeoutEvent(java.lang.String timeoutId) - Returns:
- true if invoking the listener was successful; if not successful, either false is returned (case: BPMN error propagation) or an exception is thrown
 
 - 
fireAssignmentEventprotected boolean fireAssignmentEvent() 
 - 
fireAssigneeAuthorizationProviderprotected void fireAssigneeAuthorizationProvider(java.lang.String oldAssignee, java.lang.String newAssignee)
 - 
fireOwnerAuthorizationProviderprotected void fireOwnerAuthorizationProvider(java.lang.String oldOwner, java.lang.String newOwner)
 - 
fireAuthorizationProviderprotected void fireAuthorizationProvider(java.lang.String property, java.lang.String oldValue, java.lang.String newValue)
 - 
fireAddIdentityLinkAuthorizationProviderprotected void fireAddIdentityLinkAuthorizationProvider(java.lang.String type, java.lang.String userId, java.lang.String groupId)
 - 
fireDeleteIdentityLinkAuthorizationProviderprotected void fireDeleteIdentityLinkAuthorizationProvider(java.lang.String type, java.lang.String userId, java.lang.String groupId)
 - 
getResourceAuthorizationProviderprotected ResourceAuthorizationProvider getResourceAuthorizationProvider() 
 - 
saveAuthorizationsprotected void saveAuthorizations(AuthorizationEntity[] authorizations) 
 - 
deleteAuthorizationsprotected void deleteAuthorizations(AuthorizationEntity[] authorizations) 
 - 
isAuthorizationEnabledprotected boolean isAuthorizationEnabled() 
 - 
setTaskDefinitionpublic void setTaskDefinition(TaskDefinition taskDefinition) 
 - 
getTaskDefinitionpublic TaskDefinition getTaskDefinition() 
 - 
getIdpublic java.lang.String getId() Description copied from interface:TaskDB id of the task.
 - 
getRevisionpublic int getRevision() - Specified by:
- getRevisionin interface- HasDbRevision
 
 - 
setRevisionpublic void setRevision(int revision) - Specified by:
- setRevisionin interface- HasDbRevision
 
 - 
getNamepublic java.lang.String getName() Description copied from interface:TaskName or title of the task.- Specified by:
- getNamein interface- DelegateTask
- Specified by:
- getNamein interface- Task
 
 - 
getDescriptionpublic java.lang.String getDescription() Description copied from interface:TaskFree text description of the task.- Specified by:
- getDescriptionin interface- DelegateTask
- Specified by:
- getDescriptionin interface- Task
 
 - 
getDueDatepublic java.util.Date getDueDate() Description copied from interface:TaskDue date of the task.- Specified by:
- getDueDatein interface- DelegateTask
- Specified by:
- getDueDatein interface- Task
 
 - 
getPrioritypublic int getPriority() Description copied from interface:Taskindication of how important/urgent this task is with a number between 0 and 100 where higher values mean a higher priority and lower values mean lower priority: [0..19] lowest, [20..39] low, [40..59] normal, [60..79] high [80..100] highest- Specified by:
- getPriorityin interface- DelegateTask
- Specified by:
- getPriorityin interface- Task
 
 - 
getCreateTimepublic java.util.Date getCreateTime() Description copied from interface:TaskThe date/time when this task was created- Specified by:
- getCreateTimein interface- DelegateTask
- Specified by:
- getCreateTimein interface- Task
 
 - 
setCreateTimepublic void setCreateTime(java.util.Date createTime) 
 - 
getLastUpdatedpublic java.util.Date getLastUpdated() Description copied from interface:TaskThe date/time when this task was last updated. All operations that fireTaskListener.EVENTNAME_UPDATEcount as an update to the task. Returns null if the task was never updated before (i.e. it was only created).- Specified by:
- getLastUpdatedin interface- DelegateTask
- Specified by:
- getLastUpdatedin interface- Task
 
 - 
setLastUpdatedpublic void setLastUpdated(java.util.Date lastUpdated) 
 - 
getExecutionIdpublic java.lang.String getExecutionId() Description copied from interface:TaskReference to the path of execution or null if it is not related to a process instance.- Specified by:
- getExecutionIdin interface- DelegateTask
- Specified by:
- getExecutionIdin interface- Task
 
 - 
getProcessInstanceIdpublic java.lang.String getProcessInstanceId() Description copied from interface:TaskReference to the process instance or null if it is not related to a process instance.- Specified by:
- getProcessInstanceIdin interface- DelegateTask
- Specified by:
- getProcessInstanceIdin interface- Task
 
 - 
isStandaloneTaskpublic boolean isStandaloneTask() 
 - 
getProcessDefinitionpublic ProcessDefinitionEntity getProcessDefinition() 
 - 
getProcessDefinitionIdpublic java.lang.String getProcessDefinitionId() Description copied from interface:TaskReference to the process definition or null if it is not related to a process.- Specified by:
- getProcessDefinitionIdin interface- DelegateTask
- Specified by:
- getProcessDefinitionIdin interface- Task
 
 - 
initializeFormKeypublic void initializeFormKey() 
 - 
getFormKeypublic java.lang.String getFormKey() Description copied from interface:TaskProvides the form key for the task.NOTE: If the task instance is obtained through a query, this property is only populated in case the TaskQuery.initializeFormKeys()method is called. If this method is called without a prior call toTaskQuery.initializeFormKeys(), it will throw aBadUserRequestException.- Specified by:
- getFormKeyin interface- Task
- Returns:
- the form key for this task
 
 - 
getCamundaFormRefpublic CamundaFormRef getCamundaFormRef() Description copied from interface:TaskProvides the form binding reference to the Camunda Form for the task.NOTE: If the task instance is obtained through a query, this property is only populated in case the TaskQuery.initializeFormKeys()method is called. If this method is called without a prior call toTaskQuery.initializeFormKeys(), it will throw aBadUserRequestException.- Specified by:
- getCamundaFormRefin interface- Task
- Returns:
- the reference key, binding type and version (if type is version)
 
 - 
setProcessDefinitionIdpublic void setProcessDefinitionId(java.lang.String processDefinitionId) 
 - 
getAssigneepublic java.lang.String getAssignee() Description copied from interface:Task- Specified by:
- getAssigneein interface- DelegateTask
- Specified by:
- getAssigneein interface- Task
 
 - 
getTaskDefinitionKeypublic java.lang.String getTaskDefinitionKey() Description copied from interface:TaskThe id of the activity in the process defining this task or null if this is not related to a process- Specified by:
- getTaskDefinitionKeyin interface- DelegateTask
- Specified by:
- getTaskDefinitionKeyin interface- Task
 
 - 
setTaskDefinitionKeypublic void setTaskDefinitionKey(java.lang.String taskDefinitionKey) 
 - 
getEventNamepublic java.lang.String getEventName() Description copied from interface:DelegateTaskReturns the event name which triggered the task listener to fire for this task.- Specified by:
- getEventNamein interface- DelegateTask
 
 - 
setEventNamepublic void setEventName(java.lang.String eventName) 
 - 
setExecutionIdpublic void setExecutionId(java.lang.String executionId) 
 - 
getProcessInstancepublic ExecutionEntity getProcessInstance() 
 - 
setProcessInstancepublic void setProcessInstance(ExecutionEntity processInstance) 
 - 
setProcessInstanceIdpublic void setProcessInstanceId(java.lang.String processInstanceId) 
 - 
getOwnerpublic java.lang.String getOwner() Description copied from interface:TaskTheuserIdof the person that is responsible for this task. This is used when a task isdelegated.- Specified by:
- getOwnerin interface- DelegateTask
- Specified by:
- getOwnerin interface- Task
 
 - 
getDelegationStatepublic DelegationState getDelegationState() Description copied from interface:TaskThe currentDelegationStatefor this task.- Specified by:
- getDelegationStatein interface- Task
 
 - 
setDelegationStatepublic void setDelegationState(DelegationState delegationState) Description copied from interface:TaskThe currentDelegationStatefor this task.- Specified by:
- setDelegationStatein interface- Task
 
 - 
getDelegationStateStringpublic java.lang.String getDelegationStateString() 
 - 
isDeletedpublic boolean isDeleted() 
 - 
getDeleteReasonpublic java.lang.String getDeleteReason() Description copied from interface:DelegateTaskGet delete reason of the task.- Specified by:
- getDeleteReasonin interface- DelegateTask
 
 - 
setDeletedpublic void setDeleted(boolean isDeleted) 
 - 
getParentTaskIdpublic java.lang.String getParentTaskId() Description copied from interface:Taskthe parent task for which this task is a subtask- Specified by:
- getParentTaskIdin interface- Task
 
 - 
getSuspensionStatepublic int getSuspensionState() 
 - 
setSuspensionStatepublic void setSuspensionState(int suspensionState) 
 - 
isSuspendedpublic boolean isSuspended() Description copied from interface:TaskIndicated whether this task is suspended or not.- Specified by:
- isSuspendedin interface- Task
 
 - 
getFollowUpDatepublic java.util.Date getFollowUpDate() Description copied from interface:TaskFollow-up date of the task.- Specified by:
- getFollowUpDatein interface- DelegateTask
- Specified by:
- getFollowUpDatein interface- Task
 
 - 
getTenantIdpublic java.lang.String getTenantId() Description copied from interface:TaskReturns the task's tenant id or null in case this task does not belong to a tenant.- Specified by:
- getTenantIdin interface- DelegateTask
- Specified by:
- getTenantIdin interface- Task
- Returns:
- the task's tenant id or null
 
 - 
setTenantIdpublic void setTenantId(java.lang.String tenantId) Description copied from interface:TaskSets the tenant id for this task.- Specified by:
- setTenantIdin interface- Task
- Parameters:
- tenantId- the tenant id to set
 
 - 
setFollowUpDatepublic void setFollowUpDate(java.util.Date followUpDate) Description copied from interface:TaskChange follow-up date of the task.- Specified by:
- setFollowUpDatein interface- DelegateTask
- Specified by:
- setFollowUpDatein interface- Task
 
 - 
getVariablesInternalpublic java.util.Collection<VariableInstanceEntity> getVariablesInternal() 
 - 
onCommandContextClosepublic void onCommandContextClose(CommandContext commandContext) - Specified by:
- onCommandContextClosein interface- CommandContextListener
 
 - 
onCommandFailedpublic void onCommandFailed(CommandContext commandContext, java.lang.Throwable t) - Specified by:
- onCommandFailedin interface- CommandContextListener
 
 - 
registerCommandContextCloseListenerprotected void registerCommandContextCloseListener() 
 - 
getPropertyChangespublic java.util.Map<java.lang.String,PropertyChange> getPropertyChanges() 
 - 
logUserOperationpublic void logUserOperation(java.lang.String operation) 
 - 
fireHistoricIdentityLinkspublic void fireHistoricIdentityLinks() 
 - 
getProcessEngineServicespublic ProcessEngineServices getProcessEngineServices() Description copied from interface:ProcessEngineServicesAwareReturns theProcessEngineServicesproviding access to the public API of the process engine.- Specified by:
- getProcessEngineServicesin interface- ProcessEngineServicesAware
- Returns:
- the ProcessEngineServices.
 
 - 
getProcessEnginepublic ProcessEngine getProcessEngine() Description copied from interface:ProcessEngineServicesAwareReturns theProcessEngineproviding access to the public API of the process engine.- Specified by:
- getProcessEnginein interface- ProcessEngineServicesAware
- Returns:
- the ProcessEngine.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
executeMetricspublic void executeMetrics(java.lang.String metricsName, CommandContext commandContext)
 - 
addIdentityLinkChangespublic void addIdentityLinkChanges(java.lang.String type, java.lang.String oldProperty, java.lang.String newProperty)
 - 
setVariablesLocalpublic void setVariablesLocal(java.util.Map<java.lang.String,?> variables, boolean skipJavaSerializationFormatCheck)- Overrides:
- setVariablesLocalin class- AbstractVariableScope
 
 - 
getReferencedEntityIdspublic java.util.Set<java.lang.String> getReferencedEntityIds() Description copied from interface:HasDbReferencesScope: IN-MEMORY references - Specified by:
- getReferencedEntityIdsin interface- HasDbReferences
- Returns:
- the ids of the entities that this entity references. Should only return ids for entities of the same type
 
 - 
getReferencedEntitiesIdAndClasspublic java.util.Map<java.lang.String,java.lang.Class> getReferencedEntitiesIdAndClass() Description copied from interface:HasDbReferencesScope: IN-MEMORY references - Specified by:
- getReferencedEntitiesIdAndClassin interface- HasDbReferences
- Returns:
- a map of the ids and the entities' classes that this entity references. It's used when trying to determine if there was an Optimistic Locking occurrence on an INSERT or UPDATE of an object of this type.
 
 - 
bpmnErrorpublic void bpmnError(java.lang.String errorCode, java.lang.String errorMessage, java.util.Map<java.lang.String,java.lang.Object> variables)
 - 
escalationpublic void escalation(java.lang.String escalationCode, java.util.Map<java.lang.String,java.lang.Object> variables)
 
- 
 
-