Class HistoricProcessInstanceEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineEntity
org.flowable.engine.impl.persistence.entity.HistoricScopeInstanceEntityImpl
org.flowable.engine.impl.persistence.entity.HistoricProcessInstanceEntityImpl
- All Implemented Interfaces:
Serializable
,HasRevision
,Entity
,HistoricProcessInstance
,HistoricProcessInstanceEntity
,HistoricScopeInstanceEntity
public class HistoricProcessInstanceEntityImpl
extends HistoricScopeInstanceEntityImpl
implements HistoricProcessInstanceEntity
- Author:
- Tom Baeyens, Christian Stettler, Joram Barrez
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Integer
protected String
protected List<HistoricVariableInstanceEntity>
protected String
protected String
protected String
protected String
protected String
protected String
Fields inherited from class org.flowable.engine.impl.persistence.entity.HistoricScopeInstanceEntityImpl
deleteReason, durationInMillis, endTime, processDefinitionId, processInstanceId, startTime
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe user provided unique reference to this process instance.The user provided business status for this process instance.The callback id for the process instance.The callback type for the process instance.The deployment id of the process definition of the process instance.The description for the process instance.Reference to the activity in which this process instance ended.getName()
The name for the process instance.Returns a representation of the object, as would be stored in the database.The category of the process definition of the process instance.The key of the process definition of the process instance.The name of the process definition of the process instance.The version of the process definition of the process instance.Returns the process variables if requested in the process instance queryIf this process instance 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).The reference id for the process instance.The reference type for the process instance.The start activity.The authenticated user that started this process instance.The process instance id of a potential super process instance or null if no super process instance existsThe tenant identifier for the process instance.void
setBusinessKey
(String businessKey) void
setBusinessStatus
(String businessStatus) void
setCallbackId
(String callbackId) void
setCallbackType
(String callbackType) void
setDeploymentId
(String deploymentId) void
setDescription
(String description) void
setEndActivityId
(String endActivityId) void
setLocalizedDescription
(String localizedDescription) void
setLocalizedName
(String localizedName) void
void
setProcessDefinitionCategory
(String processDefinitionCategory) void
setProcessDefinitionKey
(String processDefinitionKey) void
setProcessDefinitionName
(String processDefinitionName) void
setProcessDefinitionVersion
(Integer processDefinitionVersion) void
setPropagatedStageInstanceId
(String propagatedStageInstanceId) void
setQueryVariables
(List<HistoricVariableInstanceEntity> queryVariables) void
setReferenceId
(String referenceId) void
setReferenceType
(String referenceType) void
setStartActivityId
(String startUserId) void
setStartUserId
(String startUserId) void
setSuperProcessInstanceId
(String superProcessInstanceId) void
setTenantId
(String tenantId) toString()
Methods inherited from class org.flowable.engine.impl.persistence.entity.HistoricScopeInstanceEntityImpl
getDeleteReason, getDurationInMillis, getEndTime, getProcessDefinitionId, getProcessInstanceId, getStartTime, markEnded, setDeleteReason, setDurationInMillis, setEndTime, setProcessDefinitionId, setProcessInstanceId, setStartTime
Methods inherited from class org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
Methods inherited from interface org.flowable.engine.history.HistoricProcessInstance
getDeleteReason, getDurationInMillis, getEndTime, getId, getProcessDefinitionId, getStartTime
Methods inherited from interface org.flowable.engine.impl.persistence.entity.HistoricScopeInstanceEntity
getDeleteReason, getDurationInMillis, getEndTime, getProcessDefinitionId, getProcessInstanceId, getStartTime, markEnded, setDeleteReason, setDurationInMillis, setEndTime, setProcessDefinitionId, setProcessInstanceId, setStartTime
-
Field Details
-
endActivityId
-
businessKey
-
businessStatus
-
startUserId
-
startActivityId
-
superProcessInstanceId
-
tenantId
-
name
-
localizedName
-
description
-
localizedDescription
-
processDefinitionKey
-
processDefinitionName
-
processDefinitionVersion
-
processDefinitionCategory
-
deploymentId
-
callbackId
-
callbackType
-
referenceId
-
referenceType
-
propagatedStageInstanceId
-
queryVariables
-
-
Constructor Details
-
HistoricProcessInstanceEntityImpl
public HistoricProcessInstanceEntityImpl() -
HistoricProcessInstanceEntityImpl
-
-
Method Details
-
getPersistentState
Description copied from interface:Entity
Returns 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:
getPersistentState
in interfaceEntity
-
getEndActivityId
Description copied from interface:HistoricProcessInstance
Reference to the activity in which this process instance ended. Note that a process instance can have multiple end events, in this case it might not be deterministic which activity id will be referenced here. Use aHistoricActivityInstanceQuery
instead to query for end events of the process instance (use the activityTYpe attribute)- Specified by:
getEndActivityId
in interfaceHistoricProcessInstance
-
setEndActivityId
- Specified by:
setEndActivityId
in interfaceHistoricProcessInstanceEntity
-
getBusinessKey
Description copied from interface:HistoricProcessInstance
The user provided unique reference to this process instance.- Specified by:
getBusinessKey
in interfaceHistoricProcessInstance
-
setBusinessKey
- Specified by:
setBusinessKey
in interfaceHistoricProcessInstanceEntity
-
getBusinessStatus
Description copied from interface:HistoricProcessInstance
The user provided business status for this process instance.- Specified by:
getBusinessStatus
in interfaceHistoricProcessInstance
-
setBusinessStatus
- Specified by:
setBusinessStatus
in interfaceHistoricProcessInstanceEntity
-
getStartUserId
Description copied from interface:HistoricProcessInstance
The authenticated user that started this process instance.- Specified by:
getStartUserId
in interfaceHistoricProcessInstance
- See Also:
-
setStartUserId
- Specified by:
setStartUserId
in interfaceHistoricProcessInstanceEntity
-
getStartActivityId
Description copied from interface:HistoricProcessInstance
The start activity.- Specified by:
getStartActivityId
in interfaceHistoricProcessInstance
-
setStartActivityId
- Specified by:
setStartActivityId
in interfaceHistoricProcessInstanceEntity
-
getSuperProcessInstanceId
Description copied from interface:HistoricProcessInstance
The process instance id of a potential super process instance or null if no super process instance exists- Specified by:
getSuperProcessInstanceId
in interfaceHistoricProcessInstance
-
setSuperProcessInstanceId
- Specified by:
setSuperProcessInstanceId
in interfaceHistoricProcessInstanceEntity
-
getTenantId
Description copied from interface:HistoricProcessInstance
The tenant identifier for the process instance.- Specified by:
getTenantId
in interfaceHistoricProcessInstance
-
setTenantId
- Specified by:
setTenantId
in interfaceHistoricProcessInstanceEntity
-
getName
Description copied from interface:HistoricProcessInstance
The name for the process instance.- Specified by:
getName
in interfaceHistoricProcessInstance
-
setName
- Specified by:
setName
in interfaceHistoricProcessInstanceEntity
-
getLocalizedName
-
setLocalizedName
- Specified by:
setLocalizedName
in interfaceHistoricProcessInstanceEntity
-
getDescription
Description copied from interface:HistoricProcessInstance
The description for the process instance.- Specified by:
getDescription
in interfaceHistoricProcessInstance
-
setDescription
- Specified by:
setDescription
in interfaceHistoricProcessInstanceEntity
-
getLocalizedDescription
-
setLocalizedDescription
- Specified by:
setLocalizedDescription
in interfaceHistoricProcessInstanceEntity
-
getProcessDefinitionKey
Description copied from interface:HistoricProcessInstance
The key of the process definition of the process instance.- Specified by:
getProcessDefinitionKey
in interfaceHistoricProcessInstance
-
setProcessDefinitionKey
- Specified by:
setProcessDefinitionKey
in interfaceHistoricProcessInstanceEntity
-
getProcessDefinitionName
Description copied from interface:HistoricProcessInstance
The name of the process definition of the process instance.- Specified by:
getProcessDefinitionName
in interfaceHistoricProcessInstance
-
setProcessDefinitionName
- Specified by:
setProcessDefinitionName
in interfaceHistoricProcessInstanceEntity
-
getProcessDefinitionVersion
Description copied from interface:HistoricProcessInstance
The version of the process definition of the process instance.- Specified by:
getProcessDefinitionVersion
in interfaceHistoricProcessInstance
-
setProcessDefinitionVersion
- Specified by:
setProcessDefinitionVersion
in interfaceHistoricProcessInstanceEntity
-
getProcessDefinitionCategory
Description copied from interface:HistoricProcessInstance
The category of the process definition of the process instance.- Specified by:
getProcessDefinitionCategory
in interfaceHistoricProcessInstance
-
setProcessDefinitionCategory
- Specified by:
setProcessDefinitionCategory
in interfaceHistoricProcessInstanceEntity
-
getDeploymentId
Description copied from interface:HistoricProcessInstance
The deployment id of the process definition of the process instance.- Specified by:
getDeploymentId
in interfaceHistoricProcessInstance
-
setDeploymentId
- Specified by:
setDeploymentId
in interfaceHistoricProcessInstanceEntity
-
getCallbackId
Description copied from interface:HistoricProcessInstance
The callback id for the process instance.- Specified by:
getCallbackId
in interfaceHistoricProcessInstance
-
setCallbackId
- Specified by:
setCallbackId
in interfaceHistoricProcessInstanceEntity
-
getCallbackType
Description copied from interface:HistoricProcessInstance
The callback type for the process instance.- Specified by:
getCallbackType
in interfaceHistoricProcessInstance
-
setCallbackType
- Specified by:
setCallbackType
in interfaceHistoricProcessInstanceEntity
-
getReferenceId
Description copied from interface:HistoricProcessInstance
The reference id for the process instance.- Specified by:
getReferenceId
in interfaceHistoricProcessInstance
-
setReferenceId
- Specified by:
setReferenceId
in interfaceHistoricProcessInstanceEntity
-
getReferenceType
Description copied from interface:HistoricProcessInstance
The reference type for the process instance.- Specified by:
getReferenceType
in interfaceHistoricProcessInstance
-
setReferenceType
- Specified by:
setReferenceType
in interfaceHistoricProcessInstanceEntity
-
getPropagatedStageInstanceId
Description copied from interface:HistoricProcessInstance
If this process instance 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).- Specified by:
getPropagatedStageInstanceId
in interfaceHistoricProcessInstance
- Returns:
- the stage instance id this process instance belongs to or null, if it is not part of a case at all or is not a child element of a stage
-
setPropagatedStageInstanceId
- Specified by:
setPropagatedStageInstanceId
in interfaceHistoricProcessInstanceEntity
-
getProcessVariables
Description copied from interface:HistoricProcessInstance
Returns the process variables if requested in the process instance query- Specified by:
getProcessVariables
in interfaceHistoricProcessInstance
-
getQueryVariables
- Specified by:
getQueryVariables
in interfaceHistoricProcessInstanceEntity
-
setQueryVariables
- Specified by:
setQueryVariables
in interfaceHistoricProcessInstanceEntity
-
toString
-