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 Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Stringprotected List<HistoricVariableInstanceEntity>protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.flowable.engine.impl.persistence.entity.HistoricScopeInstanceEntityImpl
deleteReason, durationInMillis, endTime, processDefinitionId, processInstanceId, startTimeFields 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.voidsetBusinessKey(String businessKey) voidsetBusinessStatus(String businessStatus) voidsetCallbackId(String callbackId) voidsetCallbackType(String callbackType) voidsetDeploymentId(String deploymentId) voidsetDescription(String description) voidsetEndActivityId(String endActivityId) voidsetLocalizedDescription(String localizedDescription) voidsetLocalizedName(String localizedName) voidvoidsetProcessDefinitionCategory(String processDefinitionCategory) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessDefinitionName(String processDefinitionName) voidsetProcessDefinitionVersion(Integer processDefinitionVersion) voidsetPropagatedStageInstanceId(String propagatedStageInstanceId) voidsetQueryVariables(List<HistoricVariableInstanceEntity> queryVariables) voidsetReferenceId(String referenceId) voidsetReferenceType(String referenceType) voidsetStartActivityId(String startUserId) voidsetStartUserId(String startUserId) voidsetSuperProcessInstanceId(String superProcessInstanceId) voidsetTenantId(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, setStartTimeMethods inherited from class org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, 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.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevisionMethods inherited from interface org.flowable.engine.history.HistoricProcessInstance
getDeleteReason, getDurationInMillis, getEndTime, getId, getProcessDefinitionId, getStartTimeMethods 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: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
-
getEndActivityId
Description copied from interface:HistoricProcessInstanceReference 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 aHistoricActivityInstanceQueryinstead to query for end events of the process instance (use the activityTYpe attribute)- Specified by:
getEndActivityIdin interfaceHistoricProcessInstance
-
setEndActivityId
- Specified by:
setEndActivityIdin interfaceHistoricProcessInstanceEntity
-
getBusinessKey
Description copied from interface:HistoricProcessInstanceThe user provided unique reference to this process instance.- Specified by:
getBusinessKeyin interfaceHistoricProcessInstance
-
setBusinessKey
- Specified by:
setBusinessKeyin interfaceHistoricProcessInstanceEntity
-
getBusinessStatus
Description copied from interface:HistoricProcessInstanceThe user provided business status for this process instance.- Specified by:
getBusinessStatusin interfaceHistoricProcessInstance
-
setBusinessStatus
- Specified by:
setBusinessStatusin interfaceHistoricProcessInstanceEntity
-
getStartUserId
Description copied from interface:HistoricProcessInstanceThe authenticated user that started this process instance.- Specified by:
getStartUserIdin interfaceHistoricProcessInstance- See Also:
-
setStartUserId
- Specified by:
setStartUserIdin interfaceHistoricProcessInstanceEntity
-
getStartActivityId
Description copied from interface:HistoricProcessInstanceThe start activity.- Specified by:
getStartActivityIdin interfaceHistoricProcessInstance
-
setStartActivityId
- Specified by:
setStartActivityIdin interfaceHistoricProcessInstanceEntity
-
getSuperProcessInstanceId
Description copied from interface:HistoricProcessInstanceThe process instance id of a potential super process instance or null if no super process instance exists- Specified by:
getSuperProcessInstanceIdin interfaceHistoricProcessInstance
-
setSuperProcessInstanceId
- Specified by:
setSuperProcessInstanceIdin interfaceHistoricProcessInstanceEntity
-
getTenantId
Description copied from interface:HistoricProcessInstanceThe tenant identifier for the process instance.- Specified by:
getTenantIdin interfaceHistoricProcessInstance
-
setTenantId
- Specified by:
setTenantIdin interfaceHistoricProcessInstanceEntity
-
getName
Description copied from interface:HistoricProcessInstanceThe name for the process instance.- Specified by:
getNamein interfaceHistoricProcessInstance
-
setName
- Specified by:
setNamein interfaceHistoricProcessInstanceEntity
-
getLocalizedName
-
setLocalizedName
- Specified by:
setLocalizedNamein interfaceHistoricProcessInstanceEntity
-
getDescription
Description copied from interface:HistoricProcessInstanceThe description for the process instance.- Specified by:
getDescriptionin interfaceHistoricProcessInstance
-
setDescription
- Specified by:
setDescriptionin interfaceHistoricProcessInstanceEntity
-
getLocalizedDescription
-
setLocalizedDescription
- Specified by:
setLocalizedDescriptionin interfaceHistoricProcessInstanceEntity
-
getProcessDefinitionKey
Description copied from interface:HistoricProcessInstanceThe key of the process definition of the process instance.- Specified by:
getProcessDefinitionKeyin interfaceHistoricProcessInstance
-
setProcessDefinitionKey
- Specified by:
setProcessDefinitionKeyin interfaceHistoricProcessInstanceEntity
-
getProcessDefinitionName
Description copied from interface:HistoricProcessInstanceThe name of the process definition of the process instance.- Specified by:
getProcessDefinitionNamein interfaceHistoricProcessInstance
-
setProcessDefinitionName
- Specified by:
setProcessDefinitionNamein interfaceHistoricProcessInstanceEntity
-
getProcessDefinitionVersion
Description copied from interface:HistoricProcessInstanceThe version of the process definition of the process instance.- Specified by:
getProcessDefinitionVersionin interfaceHistoricProcessInstance
-
setProcessDefinitionVersion
- Specified by:
setProcessDefinitionVersionin interfaceHistoricProcessInstanceEntity
-
getProcessDefinitionCategory
Description copied from interface:HistoricProcessInstanceThe category of the process definition of the process instance.- Specified by:
getProcessDefinitionCategoryin interfaceHistoricProcessInstance
-
setProcessDefinitionCategory
- Specified by:
setProcessDefinitionCategoryin interfaceHistoricProcessInstanceEntity
-
getDeploymentId
Description copied from interface:HistoricProcessInstanceThe deployment id of the process definition of the process instance.- Specified by:
getDeploymentIdin interfaceHistoricProcessInstance
-
setDeploymentId
- Specified by:
setDeploymentIdin interfaceHistoricProcessInstanceEntity
-
getCallbackId
Description copied from interface:HistoricProcessInstanceThe callback id for the process instance.- Specified by:
getCallbackIdin interfaceHistoricProcessInstance
-
setCallbackId
- Specified by:
setCallbackIdin interfaceHistoricProcessInstanceEntity
-
getCallbackType
Description copied from interface:HistoricProcessInstanceThe callback type for the process instance.- Specified by:
getCallbackTypein interfaceHistoricProcessInstance
-
setCallbackType
- Specified by:
setCallbackTypein interfaceHistoricProcessInstanceEntity
-
getReferenceId
Description copied from interface:HistoricProcessInstanceThe reference id for the process instance.- Specified by:
getReferenceIdin interfaceHistoricProcessInstance
-
setReferenceId
- Specified by:
setReferenceIdin interfaceHistoricProcessInstanceEntity
-
getReferenceType
Description copied from interface:HistoricProcessInstanceThe reference type for the process instance.- Specified by:
getReferenceTypein interfaceHistoricProcessInstance
-
setReferenceType
- Specified by:
setReferenceTypein interfaceHistoricProcessInstanceEntity
-
getPropagatedStageInstanceId
Description copied from interface:HistoricProcessInstanceIf 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:
getPropagatedStageInstanceIdin 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:
setPropagatedStageInstanceIdin interfaceHistoricProcessInstanceEntity
-
getProcessVariables
Description copied from interface:HistoricProcessInstanceReturns the process variables if requested in the process instance query- Specified by:
getProcessVariablesin interfaceHistoricProcessInstance
-
getQueryVariables
- Specified by:
getQueryVariablesin interfaceHistoricProcessInstanceEntity
-
setQueryVariables
- Specified by:
setQueryVariablesin interfaceHistoricProcessInstanceEntity
-
toString
-