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,org.flowable.variable.api.delegate.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<org.flowable.identitylink.api.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.Set<org.flowable.identitylink.api.IdentityLink> Retrieves the candidate users and groups associated with the task.The category of the task.The user reference that claimed the task.The date/time when this task was claimedThe 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 taskintprotected IdentityLinkServiceConfigurationDue date of the in progress start of the task.The user reference that started the task.The date/time when this task was put in progressbooleangetName()Name or title of the task.getOwner()The user id of the person responsible for this task.protected VariableScopeImplintindication 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] highestReference 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.protected VariableInstanceEntitygetSpecificVariable(String variableName) protected List<VariableInstanceEntity> getSpecificVariables(Collection<String> variableNames) getState()The current state of the task.intThe user reference that suspended the task.The date/time when this task was suspendedintprotected InternalTaskAssignmentManagerThe id of the activity in the process defining this task or null if this is not related to a processprotected AbstractEngineConfigurationprotected TaskServiceConfigurationThe tenant identifier of this taskintprotected VariableServiceConfigurationprotected voidinitializeVariableInstanceBackPointer(org.flowable.variable.api.persistence.entity.VariableInstance variableInstance) booleanbooleanbooleanbooleanprotected booleanbooleanIndicated 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) 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) voidsetLocalizedName(String localizedName) voidChange the name of the task.voidThe user id of the person responsible for this task.voidsetOwnerValue(String owner) voidsetParentTaskId(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] highestvoidsetProcessDefinitionId(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) voidsetVariableCount(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
- Specified by:
getPersistentStatein interfaceEntity
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdatein interfaceTaskEntity
-
getParentVariableScope
- Specified by:
getParentVariableScopein classVariableScopeImpl
-
initializeVariableInstanceBackPointer
protected void initializeVariableInstanceBackPointer(org.flowable.variable.api.persistence.entity.VariableInstance variableInstance) - 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
- Specified by:
getIdentityLinksin interfaceTaskEntity- Specified by:
getIdentityLinksin interfaceTaskInfo
-
setName
Description copied from interface:DelegateTaskChange the name of the task.- Specified by:
setNamein interfaceDelegateTask- Specified by:
setNamein interfaceTask
-
setDescription
Description copied from interface:DelegateTaskChange the description of the task- Specified by:
setDescriptionin interfaceDelegateTask- Specified by:
setDescriptionin interfaceTask
-
setAssignee
Description copied from interface:DelegateTaskThe 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:DelegateTaskThe user id of the person 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:DelegateTaskChange due date of the task.- Specified by:
setDueDatein interfaceDelegateTask- Specified by:
setDueDatein interfaceTask
-
setPriority
public void setPriority(int priority) Description copied from interface:DelegateTaskindication 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 interfaceDelegateTask- Specified by:
setPriorityin interfaceTask
-
setCategory
Description copied from interface:DelegateTaskChange 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
- Specified by:
setParentTaskIdin interfaceTask
-
getFormKey
Description copied from interface:DelegateTaskThe form key for the user task- Specified by:
getFormKeyin interfaceDelegateTask- Specified by:
getFormKeyin interfaceTaskInfo
-
setFormKey
Description copied from interface:DelegateTaskChange the form key of the task- Specified by:
setFormKeyin interfaceDelegateTask- Specified by:
setFormKeyin interfaceTask
-
isPropagateToHistoricVariable
protected boolean isPropagateToHistoricVariable()- Specified by:
isPropagateToHistoricVariablein classVariableScopeImpl
-
getSpecificVariable
- Specified by:
getSpecificVariablein classVariableScopeImpl
-
getSpecificVariables
- Specified by:
getSpecificVariablesin classVariableScopeImpl
-
getName
Description copied from interface:DelegateTaskName or title of the task.- Specified by:
getNamein interfaceDelegateTask- Specified by:
getNamein interfaceTaskInfo
-
getLocalizedName
-
setLocalizedName
- Specified by:
setLocalizedNamein interfaceTask
-
getDescription
Description copied from interface:DelegateTaskFree text description of the task.- Specified by:
getDescriptionin interfaceDelegateTask- Specified by:
getDescriptionin interfaceTaskInfo
-
getLocalizedDescription
-
setLocalizedDescription
- Specified by:
setLocalizedDescriptionin interfaceTask
-
getInProgressStartDueDate
Description copied from interface:DelegateTaskDue date of the in progress start of the task.- Specified by:
getInProgressStartDueDatein interfaceDelegateTask- Specified by:
getInProgressStartDueDatein interfaceTaskInfo
-
getDueDate
Description copied from interface:DelegateTaskDue date of the task.- Specified by:
getDueDatein interfaceDelegateTask- Specified by:
getDueDatein interfaceTaskInfo
-
getPriority
public int getPriority()Description copied from interface:DelegateTaskindication 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 interfaceDelegateTask- Specified by:
getPriorityin interfaceTaskInfo
-
getState
Description copied from interface:DelegateTaskThe current state of the task.- Specified by:
getStatein interfaceDelegateTask- Specified by:
getStatein interfaceTaskInfo
-
setState
- Specified by:
setStatein interfaceTaskEntity
-
getCreateTime
Description copied from interface:DelegateTaskThe 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:DelegateTaskThe 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:DelegateTaskThe user reference that started the task.- Specified by:
getInProgressStartedByin interfaceDelegateTask- Specified by:
getInProgressStartedByin interfaceTaskInfo
-
setInProgressStartedBy
- Specified by:
setInProgressStartedByin interfaceTaskEntity
-
getClaimTime
Description copied from interface:DelegateTaskThe date/time when this task was claimed- Specified by:
getClaimTimein interfaceDelegateTask- Specified by:
getClaimTimein interfaceTaskInfo
-
setClaimTime
- Specified by:
setClaimTimein interfaceTaskEntity
-
getClaimedBy
Description copied from interface:DelegateTaskThe user reference that claimed the task.- Specified by:
getClaimedByin interfaceDelegateTask- Specified by:
getClaimedByin interfaceTaskInfo
-
setClaimedBy
- Specified by:
setClaimedByin interfaceTaskEntity
-
getSuspendedTime
Description copied from interface:DelegateTaskThe date/time when this task was suspended- Specified by:
getSuspendedTimein interfaceDelegateTask- Specified by:
getSuspendedTimein interfaceTaskInfo
-
setSuspendedTime
- Specified by:
setSuspendedTimein interfaceTaskEntity
-
getSuspendedBy
Description copied from interface:DelegateTaskThe user reference that suspended the task.- Specified by:
getSuspendedByin interfaceDelegateTask- Specified by:
getSuspendedByin interfaceTaskInfo
-
setSuspendedBy
- Specified by:
setSuspendedByin interfaceTaskEntity
-
getExecutionId
Description copied from interface:DelegateTaskReference 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:DelegateTaskReference 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:DelegateTaskReference 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
- Specified by:
getTaskDefinitionIdin interfaceTaskInfo
-
setTaskDefinitionId
- Specified by:
setTaskDefinitionIdin interfaceTaskEntity
-
getScopeId
- Specified by:
getScopeIdin interfaceTaskInfo
-
setScopeId
- Specified by:
setScopeIdin interfaceTaskEntity
-
getSubScopeId
- Specified by:
getSubScopeIdin interfaceTaskInfo
-
setSubScopeId
- Specified by:
setSubScopeIdin interfaceTaskEntity
-
getScopeType
- Specified by:
getScopeTypein interfaceTaskInfo
-
setScopeType
- Specified by:
setScopeTypein interfaceTaskEntity
-
getScopeDefinitionId
- Specified by:
getScopeDefinitionIdin interfaceTaskInfo
-
setScopeDefinitionId
- Specified by:
setScopeDefinitionIdin interfaceTaskEntity
-
setPropagatedStageInstanceId
- Specified by:
setPropagatedStageInstanceIdin interfaceTaskEntity
-
getPropagatedStageInstanceId
- Specified by:
getPropagatedStageInstanceIdin interfaceTaskInfo
-
getAssignee
Description copied from interface:DelegateTaskThe 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:DelegateTaskThe 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:DelegateTaskThe user id of the person responsible for this task.- Specified by:
getOwnerin interfaceDelegateTask- Specified by:
getOwnerin interfaceTaskInfo
-
getDelegationState
Description copied from interface:DelegateTaskThe 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
protected List<org.flowable.identitylink.api.IdentityLink> convertToIdentityLinks(List<IdentityLinkEntity> identityLinks) -
getTaskAssignmentManager
-
getTaskServiceConfiguration
-
getIdentityLinkServiceConfiguration
-
getVariableServiceConfiguration
- Specified by:
getVariableServiceConfigurationin classVariableScopeImpl
-
getTaskEngineConfiguration
-
setDelegationState
- 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
- 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:DelegateTaskThe 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:DelegateTaskIndicated whether this task is suspended or not.- Specified by:
isSuspendedin interfaceDelegateTask- Specified by:
isSuspendedin interfaceTask
-
getTaskLocalVariables
- Specified by:
getTaskLocalVariablesin interfaceTaskInfo
-
getProcessVariables
- Specified by:
getProcessVariablesin interfaceTaskInfo
-
getCaseVariables
- Specified by:
getCaseVariablesin interfaceTaskInfo
-
getTenantId
Description copied from interface:DelegateTaskThe tenant identifier of this task- Specified by:
getTenantIdin interfaceDelegateTask- Specified by:
getTenantIdin interfaceTaskInfo- Specified by:
getTenantIdin interfaceVariableContainer
-
setTenantId
- 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
-