Class TaskEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
org.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
org.flowable.task.service.impl.persistence.entity.AbstractTaskServiceVariableScopeEntity
org.flowable.task.service.impl.persistence.entity.TaskEntityImpl
- All Implemented Interfaces:
Serializable,VariableContainer,HasRevision,Entity,Task,TaskInfo,DelegateTask,CountingTaskEntity,TaskEntity,VariableScope
public class TaskEntityImpl
extends AbstractTaskServiceVariableScopeEntity
implements TaskEntity, CountingTaskEntity, Serializable
- Author:
- Tom Baeyens, Joram Barrez, Falko Menge, Tijs Rademakers
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected intprotected Stringprotected Stringprotected Dateprotected Dateprotected DelegationStatestatic final Stringstatic final Stringprotected Stringprotected Dateprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected intprotected Dateprotected Stringprotected Dateprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected intprotected Stringprotected Stringprotected Stringprotected List<IdentityLinkEntity>protected List<VariableInstanceEntity>protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected intprotected Stringprotected Dateprotected intprotected Stringprotected Stringprotected List<IdentityLinkEntity>protected Stringprotected Stringprotected intFields inherited from class org.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
cachedElContext, transientVariables, usedVariablesCache, variableInstancesFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revisionFields inherited from interface org.flowable.task.api.Task
CLAIMED, COMPLETED, CREATED, DEFAULT_PRIORITY, IN_PROGRESS, SUSPENDED, TERMINATED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCandidateGroup(String groupId) Adds the given group as candidate group to this taskvoidaddCandidateGroups(Collection<String> candidateGroups) Adds multiple groups as candidate group to this task.voidaddCandidateUser(String userId) Adds the given user as a candidate user to this task.voidaddCandidateUsers(Collection<String> candidateUsers) Adds multiple users as candidate user to this task.voidaddGroupIdentityLink(String groupId, String identityLinkType) Involves a group with group task.protected voidaddLoggingSessionInfo(com.fasterxml.jackson.databind.node.ObjectNode loggingNode) voidaddUserIdentityLink(String userId, String identityLinkType) Involves a user with a task.protected List<IdentityLink>convertToIdentityLinks(List<IdentityLinkEntity> identityLinks) protected VariableInstanceEntitycreateVariableInstance(String variableName, Object value) voiddeleteCandidateGroup(String groupId) Convenience shorthand forDelegateTask.deleteGroupIdentityLink(String, String); with typeIdentityLinkType.CANDIDATEvoiddeleteCandidateUser(String userId) Convenience shorthand forDelegateTask.deleteUserIdentityLink(String, String); with typeIdentityLinkType.CANDIDATEvoiddeleteGroupIdentityLink(String groupId, String identityLinkType) Removes the association between a group and a task for the given identityLinkType.voiddeleteUserIdentityLink(String userId, String identityLinkType) Removes the association between a user and a task for the given identityLinkType.protected voiddeleteVariableInstanceForExplicitUserCall(VariableInstanceEntity variableInstance) voidThe user id of the person to which this task is delegated.Retrieves the candidate users and groups associated with the task.Returns the case variables if requested in the task queryThe category of the task.The user reference that claimed this taskThe claim time of this taskThe date/time when this task was createdThe currentDelegationStatefor this task.Free text description of the task.Due date of the task.Returns the event handler identifier which triggered the task listener to fire for this task.Returns the event name which triggered the task listener to fire for this task.Reference to the path of execution or null if it is not related to a process instance.The form key for the user taskintReturns the identity links.protected IdentityLinkServiceConfigurationIn progress start due date of the task.The user reference that put this task in progressThe date/time when this task was put in progressbooleangetName()Name or title of the task.getOwner()The user id of the person that is responsible for this task.The parent task for which this task is a subtaskprotected VariableScopeImplReturns a representation of the object, as would be stored in the database.intIndication of how important/urgent this task isReference to the process definition or null if it is not related to a process.Reference to the process instance or null if it is not related to a process instance.Returns the process variables if requested in the task queryIf this task runs in the context of a case and stage, this method returns it's closest parent stage instance id (the stage plan item instance id to be precise).Reference to a scope definition identifier or null if none is set (e.g.Reference to a scope identifier or null if none is set (e.g.Reference to a scope type or null if none is set (e.g.protected VariableInstanceEntitygetSpecificVariable(String variableName) protected List<VariableInstanceEntity>getSpecificVariables(Collection<String> variableNames) getState()The state of this taskReference to a sub scope identifier or null if none is set (e.g.intThe user reference that suspended this taskThe suspended time of this taskintprotected InternalTaskAssignmentManagerReference to the task definition or null if it is not related to any task definition.The id of the activity in the process defining this task or null if this is not related to a processprotected AbstractEngineConfigurationReturns the local task variables if requested in the task queryprotected TaskServiceConfigurationThe tenant identifier of this taskintprotected VariableServiceConfigurationprotected voidinitializeVariableInstanceBackPointer(VariableInstance variableInstance) booleanbooleanbooleanbooleanprotected booleanReturn whether changes to the variables are propagated to the history storage.booleanIndicates whether this task is suspended or not.protected List<VariableInstanceEntity>voidsetAssignee(String assignee) The user id of the person to which this task is delegated.voidsetAssigneeValue(String assignee) voidsetCanceled(boolean isCanceled) voidsetCategory(String category) Change the category of the task.voidsetClaimedBy(String claimedBy) voidsetClaimTime(Date claimTime) voidsetCountEnabled(boolean isCountEnabled) voidsetCreateTime(Date createTime) voidsetDelegationState(DelegationState delegationState) The currentDelegationStatefor this task.voidsetDelegationStateString(String delegationStateString) voidsetDeleted(boolean isDeleted) voidsetDescription(String description) Change the description of the taskvoidsetDueDate(Date dueDate) Change due date of the task.voidsetEventHandlerId(String eventHandlerId) voidsetEventName(String eventName) voidsetExecutionId(String executionId) voidsetFormKey(String formKey) Change the form key of the taskvoidsetIdentityLinkCount(int identityLinkCount) voidsetInProgressStartDueDate(Date inProgressStartDueDate) Change the in progress start due date of the task.voidsetInProgressStartedBy(String inProgressStartedBy) voidsetInProgressStartTime(Date inProgressStartTime) voidsetIsCountEnabled(boolean isCountEnabled) voidsetLocalizedDescription(String localizedDescription) Sets an optional localized description for the task.voidsetLocalizedName(String localizedName) Sets an optional localized name for the task.voidName or title of the task.voidThe user id of the person that is responsible for this task.voidsetOwnerValue(String owner) voidsetParentTaskId(String parentTaskId) the parent task for which this task is a subtaskvoidsetPriority(int priority) Sets the indication of how important/urgent this task isvoidsetProcessDefinitionId(String processDefinitionId) voidsetProcessInstanceId(String processInstanceId) voidsetPropagatedStageInstanceId(String propagatedStageInstanceId) voidsetQueryIdentityLinks(List<IdentityLinkEntity> identityLinks) voidsetQueryVariables(List<VariableInstanceEntity> queryVariables) voidsetScopeDefinitionId(String scopeDefinitionId) voidsetScopeId(String scopeId) voidsetScopeType(String scopeType) voidvoidsetSubScopeId(String subScopeId) voidsetSubTaskCount(int subTaskCount) voidsetSuspendedBy(String suspendedBy) voidsetSuspendedTime(Date suspendedTime) voidsetSuspensionState(int suspensionState) voidsetTaskDefinitionId(String taskDefinitionId) voidsetTaskDefinitionKey(String taskDefinitionKey) voidsetTempCompletedBy(String tempCompletedBy) voidsetTenantId(String tenantId) Change the tenantId of the taskvoidsetVariableCount(int variableCount) toString()Methods inherited from class org.flowable.task.service.impl.persistence.entity.AbstractTaskServiceVariableScopeEntity
getIdPrefixMethods inherited from class org.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
collectTransientVariables, collectVariableInstances, collectVariableNames, collectVariables, createVariableLocal, createVariablesLocal, ensureVariableInstancesInitialized, getCachedElContext, getTransientVariable, getTransientVariableLocal, getTransientVariables, getTransientVariablesLocal, getUsedVariablesCache, getVariable, getVariable, getVariable, getVariableInstance, getVariableInstance, getVariableInstanceLocal, getVariableInstanceLocal, getVariableInstances, getVariableInstances, getVariableInstances, getVariableInstancesLocal, getVariableInstancesLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocal, getVariableNames, getVariableNamesLocal, getVariables, getVariables, getVariables, getVariablesLocal, getVariablesLocal, getVariablesLocal, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, internalSetVariableInstances, isExpression, removeTransientVariable, removeTransientVariableLocal, removeTransientVariables, removeTransientVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setCachedElContext, setTransientVariable, setTransientVariableLocal, setTransientVariables, setTransientVariablesLocal, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariables, setVariablesLocal, storeVariableLocal, updateVariableInstanceMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isInserted, isUpdated, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.flowable.task.service.delegate.DelegateTask
getIdMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isInserted, isUpdated, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevisionMethods inherited from interface org.flowable.variable.api.delegate.VariableScope
getTransientVariable, getTransientVariableLocal, getTransientVariables, getTransientVariablesLocal, getVariable, getVariable, getVariable, getVariableInstance, getVariableInstance, getVariableInstanceLocal, getVariableInstanceLocal, getVariableInstances, getVariableInstances, getVariableInstances, getVariableInstancesLocal, getVariableInstancesLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocal, getVariableNames, getVariableNamesLocal, getVariables, getVariables, getVariables, getVariablesLocal, getVariablesLocal, getVariablesLocal, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeTransientVariable, removeTransientVariableLocal, removeTransientVariables, removeTransientVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setTransientVariable, setTransientVariableLocal, setTransientVariables, setTransientVariablesLocal, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariables, setVariablesLocal
-
Field Details
-
DELETE_REASON_COMPLETED
- See Also:
-
DELETE_REASON_DELETED
- See Also:
-
owner
-
assigneeUpdatedCount
protected int assigneeUpdatedCount -
originalAssignee
-
assignee
-
delegationState
-
parentTaskId
-
name
-
localizedName
-
description
-
localizedDescription
-
priority
protected int priority -
state
-
createTime
-
inProgressStartTime
-
inProgressStartedBy
-
claimTime
-
claimedBy
-
suspendedTime
-
suspendedBy
-
inProgressStartDueDate
-
dueDate
-
suspensionState
protected int suspensionState -
category
-
isIdentityLinksInitialized
protected boolean isIdentityLinksInitialized -
taskIdentityLinkEntities
-
executionId
-
processInstanceId
-
processDefinitionId
-
taskDefinitionId
-
scopeId
-
subScopeId
-
scopeType
-
scopeDefinitionId
-
propagatedStageInstanceId
-
taskDefinitionKey
-
formKey
-
isCanceled
protected boolean isCanceled -
variableCount
protected int variableCount -
identityLinkCount
protected int identityLinkCount -
subTaskCount
protected int subTaskCount -
tenantId
-
eventName
-
eventHandlerId
-
tempCompletedBy
-
queryVariables
-
queryIdentityLinks
-
forcedUpdate
protected boolean forcedUpdate
-
-
Constructor Details
-
TaskEntityImpl
public TaskEntityImpl()
-
-
Method Details
-
getPersistentState
Description copied from interface:EntityReturns 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 interfaceEntity
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdatein interfaceTaskEntity
-
getParentVariableScope
- Specified by:
getParentVariableScopein classVariableScopeImpl
-
initializeVariableInstanceBackPointer
- Specified by:
initializeVariableInstanceBackPointerin classVariableScopeImpl
-
addLoggingSessionInfo
protected void addLoggingSessionInfo(com.fasterxml.jackson.databind.node.ObjectNode loggingNode) - Specified by:
addLoggingSessionInfoin classVariableScopeImpl
-
loadVariableInstances
- Specified by:
loadVariableInstancesin classVariableScopeImpl
-
createVariableInstance
- Overrides:
createVariableInstancein classVariableScopeImpl
-
deleteVariableInstanceForExplicitUserCall
- Overrides:
deleteVariableInstanceForExplicitUserCallin classVariableScopeImpl
-
getCandidates
Description copied from interface:DelegateTaskRetrieves the candidate users and groups associated with the task.- Specified by:
getCandidatesin interfaceDelegateTask- Returns:
- set of
IdentityLinks of typeIdentityLinkType.CANDIDATE.
-
getIdentityLinks
Description copied from interface:TaskInfoReturns the identity links.- Specified by:
getIdentityLinksin interfaceTaskEntity- Specified by:
getIdentityLinksin interfaceTaskInfo
-
setName
Description copied from interface:TaskName or title of the task.- Specified by:
setNamein interfaceDelegateTask- Specified by:
setNamein interfaceTask
-
setDescription
Description copied from interface:TaskChange the description of the task- Specified by:
setDescriptionin interfaceDelegateTask- Specified by:
setDescriptionin interfaceTask
-
setAssignee
Description copied from interface:TaskThe user id of the person to which this task is delegated.- Specified by:
setAssigneein interfaceDelegateTask- Specified by:
setAssigneein interfaceTask
-
setAssigneeValue
- Specified by:
setAssigneeValuein interfaceTaskEntity
-
setOwner
Description copied from interface:TaskThe user id of the person that is responsible for this task.- Specified by:
setOwnerin interfaceDelegateTask- Specified by:
setOwnerin interfaceTask
-
setOwnerValue
- Specified by:
setOwnerValuein interfaceTaskEntity
-
setInProgressStartDueDate
Description copied from interface:DelegateTaskChange the in progress start due date of the task.- Specified by:
setInProgressStartDueDatein interfaceDelegateTask
-
setDueDate
Description copied from interface:TaskChange due date of the task.- Specified by:
setDueDatein interfaceDelegateTask- Specified by:
setDueDatein interfaceTask
-
setPriority
public void setPriority(int priority) Description copied from interface:TaskSets the indication of how important/urgent this task is- Specified by:
setPriorityin interfaceDelegateTask- Specified by:
setPriorityin interfaceTask
-
setCategory
Description copied from interface:TaskChange the category of the task. This is an optional field and allows to 'tag' tasks as belonging to a certain category.- Specified by:
setCategoryin interfaceDelegateTask- Specified by:
setCategoryin interfaceTask
-
addUserIdentityLink
Description copied from interface:DelegateTaskInvolves a user with a task. The type of identity link is defined by the given identityLinkType.- Specified by:
addUserIdentityLinkin interfaceDelegateTask- Parameters:
userId- id of the user involve, cannot be null.identityLinkType- type of identityLink, cannot be null (@seeIdentityLinkType).
-
addGroupIdentityLink
Description copied from interface:DelegateTaskInvolves a group with group task. The type of identityLink is defined by the given identityLink.- Specified by:
addGroupIdentityLinkin interfaceDelegateTask- Parameters:
groupId- id of the group to involve, cannot be null.identityLinkType- type of identity, cannot be null (@seeIdentityLinkType).
-
deleteCandidateUser
Description copied from interface:DelegateTaskConvenience shorthand forDelegateTask.deleteUserIdentityLink(String, String); with typeIdentityLinkType.CANDIDATE- Specified by:
deleteCandidateUserin interfaceDelegateTask- Parameters:
userId- id of the user to use as candidate, cannot be null.
-
deleteCandidateGroup
Description copied from interface:DelegateTaskConvenience shorthand forDelegateTask.deleteGroupIdentityLink(String, String); with typeIdentityLinkType.CANDIDATE- Specified by:
deleteCandidateGroupin interfaceDelegateTask- Parameters:
groupId- id of the group to use as candidate, cannot be null.
-
deleteUserIdentityLink
Description copied from interface:DelegateTaskRemoves the association between a user and a task for the given identityLinkType.- Specified by:
deleteUserIdentityLinkin interfaceDelegateTask- Parameters:
userId- id of the user involve, cannot be null.identityLinkType- type of identityLink, cannot be null (@seeIdentityLinkType).
-
deleteGroupIdentityLink
Description copied from interface:DelegateTaskRemoves the association between a group and a task for the given identityLinkType.- Specified by:
deleteGroupIdentityLinkin interfaceDelegateTask- Parameters:
groupId- id of the group to involve, cannot be null.identityLinkType- type of identity, cannot be null (@seeIdentityLinkType).
-
setParentTaskId
Description copied from interface:Taskthe parent task for which this task is a subtask- Specified by:
setParentTaskIdin interfaceTask
-
getFormKey
Description copied from interface:TaskInfoThe form key for the user task- Specified by:
getFormKeyin interfaceDelegateTask- Specified by:
getFormKeyin interfaceTaskInfo
-
setFormKey
Description copied from interface:TaskChange the form key of the task- Specified by:
setFormKeyin interfaceDelegateTask- Specified by:
setFormKeyin interfaceTask
-
isPropagateToHistoricVariable
protected boolean isPropagateToHistoricVariable()Description copied from class:VariableScopeImplReturn whether changes to the variables are propagated to the history storage.- Specified by:
isPropagateToHistoricVariablein classVariableScopeImpl
-
getSpecificVariable
- Specified by:
getSpecificVariablein classVariableScopeImpl
-
getSpecificVariables
- Specified by:
getSpecificVariablesin classVariableScopeImpl
-
getName
Description copied from interface:TaskInfoName or title of the task.- Specified by:
getNamein interfaceDelegateTask- Specified by:
getNamein interfaceTaskInfo
-
getLocalizedName
-
setLocalizedName
Description copied from interface:TaskSets an optional localized name for the task.- Specified by:
setLocalizedNamein interfaceTask
-
getDescription
Description copied from interface:TaskInfoFree text description of the task.- Specified by:
getDescriptionin interfaceDelegateTask- Specified by:
getDescriptionin interfaceTaskInfo
-
getLocalizedDescription
-
setLocalizedDescription
Description copied from interface:TaskSets an optional localized description for the task.- Specified by:
setLocalizedDescriptionin interfaceTask
-
getInProgressStartDueDate
Description copied from interface:TaskInfoIn progress start due date of the task.- Specified by:
getInProgressStartDueDatein interfaceDelegateTask- Specified by:
getInProgressStartDueDatein interfaceTaskInfo
-
getDueDate
Description copied from interface:TaskInfoDue date of the task.- Specified by:
getDueDatein interfaceDelegateTask- Specified by:
getDueDatein interfaceTaskInfo
-
getPriority
public int getPriority()Description copied from interface:TaskInfoIndication of how important/urgent this task is- Specified by:
getPriorityin interfaceDelegateTask- Specified by:
getPriorityin interfaceTaskInfo
-
getState
Description copied from interface:TaskInfoThe state of this task- Specified by:
getStatein interfaceDelegateTask- Specified by:
getStatein interfaceTaskInfo
-
setState
- Specified by:
setStatein interfaceTaskEntity
-
getCreateTime
Description copied from interface:TaskInfoThe date/time when this task was created- Specified by:
getCreateTimein interfaceDelegateTask- Specified by:
getCreateTimein interfaceTaskInfo
-
setCreateTime
- Specified by:
setCreateTimein interfaceTaskEntity
-
getInProgressStartTime
Description copied from interface:TaskInfoThe date/time when this task was put in progress- Specified by:
getInProgressStartTimein interfaceDelegateTask- Specified by:
getInProgressStartTimein interfaceTaskInfo
-
setInProgressStartTime
- Specified by:
setInProgressStartTimein interfaceTaskEntity
-
getInProgressStartedBy
Description copied from interface:TaskInfoThe user reference that put this task in progress- Specified by:
getInProgressStartedByin interfaceDelegateTask- Specified by:
getInProgressStartedByin interfaceTaskInfo
-
setInProgressStartedBy
- Specified by:
setInProgressStartedByin interfaceTaskEntity
-
getClaimTime
Description copied from interface:TaskInfoThe claim time of this task- Specified by:
getClaimTimein interfaceDelegateTask- Specified by:
getClaimTimein interfaceTaskInfo
-
setClaimTime
- Specified by:
setClaimTimein interfaceTaskEntity
-
getClaimedBy
Description copied from interface:TaskInfoThe user reference that claimed this task- Specified by:
getClaimedByin interfaceDelegateTask- Specified by:
getClaimedByin interfaceTaskInfo
-
setClaimedBy
- Specified by:
setClaimedByin interfaceTaskEntity
-
getSuspendedTime
Description copied from interface:TaskInfoThe suspended time of this task- Specified by:
getSuspendedTimein interfaceDelegateTask- Specified by:
getSuspendedTimein interfaceTaskInfo
-
setSuspendedTime
- Specified by:
setSuspendedTimein interfaceTaskEntity
-
getSuspendedBy
Description copied from interface:TaskInfoThe user reference that suspended this task- Specified by:
getSuspendedByin interfaceDelegateTask- Specified by:
getSuspendedByin interfaceTaskInfo
-
setSuspendedBy
- Specified by:
setSuspendedByin interfaceTaskEntity
-
getExecutionId
Description copied from interface:TaskInfoReference to the path of execution or null if it is not related to a process instance.- Specified by:
getExecutionIdin interfaceDelegateTask- Specified by:
getExecutionIdin interfaceTaskInfo
-
getProcessInstanceId
Description copied from interface:TaskInfoReference to the process instance or null if it is not related to a process instance.- Specified by:
getProcessInstanceIdin interfaceDelegateTask- Specified by:
getProcessInstanceIdin interfaceTaskInfo
-
getProcessDefinitionId
Description copied from interface:TaskInfoReference to the process definition or null if it is not related to a process.- Specified by:
getProcessDefinitionIdin interfaceDelegateTask- Specified by:
getProcessDefinitionIdin interfaceTaskInfo
-
setProcessDefinitionId
- Specified by:
setProcessDefinitionIdin interfaceTaskEntity
-
getTaskDefinitionId
Description copied from interface:TaskInfoReference to the task definition or null if it is not related to any task definition.- Specified by:
getTaskDefinitionIdin interfaceTaskInfo
-
setTaskDefinitionId
- Specified by:
setTaskDefinitionIdin interfaceTaskEntity
-
getScopeId
Description copied from interface:TaskInfoReference to a scope identifier or null if none is set (e.g. for bpmn process task it is null)- Specified by:
getScopeIdin interfaceTaskInfo
-
setScopeId
- Specified by:
setScopeIdin interfaceTaskEntity
-
getSubScopeId
Description copied from interface:TaskInfoReference to a sub scope identifier or null if none is set (e.g. for bpmn process task it is null)- Specified by:
getSubScopeIdin interfaceTaskInfo
-
setSubScopeId
- Specified by:
setSubScopeIdin interfaceTaskEntity
-
getScopeType
Description copied from interface:TaskInfoReference to a scope type or null if none is set (e.g. for bpmn process task it is null)- Specified by:
getScopeTypein interfaceTaskInfo
-
setScopeType
- Specified by:
setScopeTypein interfaceTaskEntity
-
getScopeDefinitionId
Description copied from interface:TaskInfoReference to a scope definition identifier or null if none is set (e.g. for bpmn process task it is null)- Specified by:
getScopeDefinitionIdin interfaceTaskInfo
-
setScopeDefinitionId
- Specified by:
setScopeDefinitionIdin interfaceTaskEntity
-
setPropagatedStageInstanceId
- Specified by:
setPropagatedStageInstanceIdin interfaceTaskEntity
-
getPropagatedStageInstanceId
Description copied from interface:TaskInfoIf this task runs in the context of a case and stage, this method returns it's closest parent stage instance id (the stage plan item instance id to be precise). Even if the direct parent of the task is a process which itself might have been created out of a process task of a case, its stage instance is reflected in the task.- Specified by:
getPropagatedStageInstanceIdin interfaceTaskInfo- Returns:
- the stage instance id this task belongs to or null, if this task is not part of a case at all or is not a child element of a stage
-
getAssignee
Description copied from interface:TaskInfoThe user id of the person to which this task is delegated.- Specified by:
getAssigneein interfaceDelegateTask- Specified by:
getAssigneein interfaceTaskInfo
-
getOriginalAssignee
-
getTaskDefinitionKey
Description copied from interface:TaskInfoThe id of the activity in the process defining this task or null if this is not related to a process- Specified by:
getTaskDefinitionKeyin interfaceDelegateTask- Specified by:
getTaskDefinitionKeyin interfaceTaskInfo
-
setTaskDefinitionKey
- Specified by:
setTaskDefinitionKeyin interfaceTaskEntity
-
getEventName
Description copied from interface:DelegateTaskReturns the event name which triggered the task listener to fire for this task.- Specified by:
getEventNamein interfaceDelegateTask
-
setEventName
- Specified by:
setEventNamein interfaceTaskEntity
-
getEventHandlerId
Description copied from interface:DelegateTaskReturns the event handler identifier which triggered the task listener to fire for this task.- Specified by:
getEventHandlerIdin interfaceDelegateTask
-
setEventHandlerId
- Specified by:
setEventHandlerIdin interfaceTaskEntity
-
getTempCompletedBy
- Specified by:
getTempCompletedByin interfaceTaskEntity
-
setTempCompletedBy
- Specified by:
setTempCompletedByin interfaceTaskEntity
-
setExecutionId
- Specified by:
setExecutionIdin interfaceTaskEntity
-
setProcessInstanceId
- Specified by:
setProcessInstanceIdin interfaceTaskEntity
-
getOwner
Description copied from interface:TaskInfoThe user id of the person that is responsible for this task.- Specified by:
getOwnerin interfaceDelegateTask- Specified by:
getOwnerin interfaceTaskInfo
-
getDelegationState
Description copied from interface:TaskThe currentDelegationStatefor this task.- Specified by:
getDelegationStatein interfaceDelegateTask- Specified by:
getDelegationStatein interfaceTask
-
addCandidateUser
Description copied from interface:DelegateTaskAdds the given user as a candidate user to this task.- Specified by:
addCandidateUserin interfaceDelegateTask
-
addCandidateUsers
Description copied from interface:DelegateTaskAdds multiple users as candidate user to this task.- Specified by:
addCandidateUsersin interfaceDelegateTask
-
addCandidateGroup
Description copied from interface:DelegateTaskAdds the given group as candidate group to this task- Specified by:
addCandidateGroupin interfaceDelegateTask
-
addCandidateGroups
Description copied from interface:DelegateTaskAdds multiple groups as candidate group to this task.- Specified by:
addCandidateGroupsin interfaceDelegateTask
-
convertToIdentityLinks
-
getTaskAssignmentManager
-
getTaskServiceConfiguration
-
getIdentityLinkServiceConfiguration
-
getVariableServiceConfiguration
- Specified by:
getVariableServiceConfigurationin classVariableScopeImpl
-
getTaskEngineConfiguration
-
setDelegationState
Description copied from interface:TaskThe currentDelegationStatefor this task.- Specified by:
setDelegationStatein interfaceTask
-
getDelegationStateString
-
setDelegationStateString
-
isDeleted
public boolean isDeleted()- Specified by:
isDeletedin interfaceEntity- Overrides:
isDeletedin classAbstractEntity
-
setDeleted
public void setDeleted(boolean isDeleted) - Specified by:
setDeletedin interfaceEntity- Overrides:
setDeletedin classAbstractEntity
-
isCanceled
public boolean isCanceled()- Specified by:
isCanceledin interfaceTaskEntity
-
setCanceled
public void setCanceled(boolean isCanceled) - Specified by:
setCanceledin interfaceTaskEntity
-
getParentTaskId
Description copied from interface:TaskInfoThe parent task for which this task is a subtask- Specified by:
getParentTaskIdin interfaceTaskInfo
-
getVariableInstanceEntities
- Specified by:
getVariableInstanceEntitiesin interfaceTaskEntity- Overrides:
getVariableInstanceEntitiesin classVariableScopeImpl
-
getSuspensionState
public int getSuspensionState()- Specified by:
getSuspensionStatein interfaceTaskEntity
-
setSuspensionState
public void setSuspensionState(int suspensionState) - Specified by:
setSuspensionStatein interfaceTaskEntity
-
getCategory
Description copied from interface:TaskInfoThe category of the task. This is an optional field and allows to 'tag' tasks as belonging to a certain category.- Specified by:
getCategoryin interfaceDelegateTask- Specified by:
getCategoryin interfaceTaskInfo
-
isSuspended
public boolean isSuspended()Description copied from interface:TaskIndicates whether this task is suspended or not.- Specified by:
isSuspendedin interfaceDelegateTask- Specified by:
isSuspendedin interfaceTask
-
getTaskLocalVariables
Description copied from interface:TaskInfoReturns the local task variables if requested in the task query- Specified by:
getTaskLocalVariablesin interfaceTaskInfo
-
getProcessVariables
Description copied from interface:TaskInfoReturns the process variables if requested in the task query- Specified by:
getProcessVariablesin interfaceTaskInfo
-
getCaseVariables
Description copied from interface:TaskInfoReturns the case variables if requested in the task query- Specified by:
getCaseVariablesin interfaceTaskInfo
-
getTenantId
Description copied from interface:TaskInfoThe tenant identifier of this task- Specified by:
getTenantIdin interfaceDelegateTask- Specified by:
getTenantIdin interfaceTaskInfo- Specified by:
getTenantIdin interfaceVariableContainer
-
setTenantId
Description copied from interface:TaskChange the tenantId of the task- Specified by:
setTenantIdin interfaceTask
-
getQueryVariables
- Specified by:
getQueryVariablesin interfaceTaskEntity
-
setQueryVariables
-
getQueryIdentityLinks
-
setQueryIdentityLinks
-
toString
-
isCountEnabled
public boolean isCountEnabled()- Specified by:
isCountEnabledin interfaceCountingTaskEntity
-
getIsCountEnabled
public boolean getIsCountEnabled() -
setCountEnabled
public void setCountEnabled(boolean isCountEnabled) - Specified by:
setCountEnabledin interfaceCountingTaskEntity
-
setIsCountEnabled
public void setIsCountEnabled(boolean isCountEnabled) -
setVariableCount
public void setVariableCount(int variableCount) - Specified by:
setVariableCountin interfaceCountingTaskEntity
-
getVariableCount
public int getVariableCount()- Specified by:
getVariableCountin interfaceCountingTaskEntity
-
setIdentityLinkCount
public void setIdentityLinkCount(int identityLinkCount) - Specified by:
setIdentityLinkCountin interfaceCountingTaskEntity
-
getIdentityLinkCount
public int getIdentityLinkCount()- Specified by:
getIdentityLinkCountin interfaceCountingTaskEntity
-
getSubTaskCount
public int getSubTaskCount()- Specified by:
getSubTaskCountin interfaceCountingTaskEntity
-
setSubTaskCount
public void setSubTaskCount(int subTaskCount) - Specified by:
setSubTaskCountin interfaceCountingTaskEntity
-
isIdentityLinksInitialized
public boolean isIdentityLinksInitialized()- Specified by:
isIdentityLinksInitializedin interfaceTaskEntity
-