public class PlatformProcessHistoryManager extends Object implements org.flowable.engine.impl.history.HistoryManager
Modifier and Type | Field and Description |
---|---|
protected PlatformEngineConfiguration |
engineConfiguration |
Constructor and Description |
---|
PlatformProcessHistoryManager(PlatformEngineConfiguration engineConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
createAttachmentComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task,
org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance,
String attachmentName,
boolean create) |
void |
createGroupIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task,
String groupId,
String type,
boolean create) |
void |
createHistoricActivityInstance(org.flowable.engine.runtime.ActivityInstance activityInstance) |
void |
createIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task,
String userId,
String groupId,
String type,
boolean create) |
void |
createIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task,
String userId,
String groupId,
String type,
boolean create,
boolean forceNullUserId) |
void |
createProcessInstanceIdentityLinkComment(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance,
String userId,
String groupId,
String type,
boolean create) |
void |
createProcessInstanceIdentityLinkComment(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance,
String userId,
String groupId,
String type,
boolean create,
boolean forceNullUserId) |
void |
createUserIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task,
String userId,
String type,
boolean create) |
void |
createUserIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task,
String userId,
String type,
boolean create,
boolean forceNullUserId) |
void |
deleteHistoryUserTaskLog(long logNumber) |
org.flowable.engine.impl.persistence.entity.HistoricActivityInstanceEntity |
findHistoricActivityInstance(org.flowable.engine.impl.persistence.entity.ExecutionEntity execution,
boolean validateEndTimeNull) |
boolean |
isHistoryEnabled() |
boolean |
isHistoryEnabled(String processDefinitionId) |
boolean |
isHistoryLevelAtLeast(org.flowable.common.engine.impl.history.HistoryLevel level) |
boolean |
isHistoryLevelAtLeast(org.flowable.common.engine.impl.history.HistoryLevel level,
String processDefinitionId) |
void |
recordActivityEnd(org.flowable.engine.runtime.ActivityInstance activityInstance) |
void |
recordActivityEnd(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity,
String deleteReason,
Date endTime) |
void |
recordActivityStart(org.flowable.engine.runtime.ActivityInstance activityInstance) |
void |
recordDeleteHistoricProcessInstancesByProcessDefinitionId(String processDefinitionId) |
void |
recordEntityLinkCreated(org.flowable.entitylink.service.impl.persistence.entity.EntityLinkEntity entityLink) |
void |
recordEntityLinkDeleted(org.flowable.entitylink.service.impl.persistence.entity.EntityLinkEntity entityLink) |
void |
recordFormPropertiesSubmitted(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance,
Map<String,String> properties,
String taskId,
Date createTime) |
void |
recordHistoricDetailVariableCreate(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable,
org.flowable.engine.impl.persistence.entity.ExecutionEntity sourceActivityExecution,
boolean useActivityId,
String activityInstanceId,
Date createTime) |
void |
recordHistoricUserTaskLogEntry(org.flowable.task.api.history.HistoricTaskLogEntryBuilder taskLogEntryBuilder) |
void |
recordIdentityLinkCreated(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLink) |
void |
recordIdentityLinkDeleted(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLink) |
void |
recordProcessDefinitionChange(String processInstanceId,
String processDefinitionId) |
void |
recordProcessInstanceDeleted(String processInstanceId,
String processDefinitionId,
String tenantId) |
void |
recordProcessInstanceEnd(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance,
String deleteReason,
String activityId,
Date endTime) |
void |
recordProcessInstanceNameChange(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstanceExecution,
String newName) |
void |
recordProcessInstanceStart(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance) |
void |
recordTaskCreated(org.flowable.task.service.impl.persistence.entity.TaskEntity task,
org.flowable.engine.impl.persistence.entity.ExecutionEntity execution) |
void |
recordTaskEnd(org.flowable.task.service.impl.persistence.entity.TaskEntity task,
org.flowable.engine.impl.persistence.entity.ExecutionEntity execution,
String deleteReason,
Date endTime) |
void |
recordTaskInfoChange(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity,
String activityInstanceId,
Date changeTime) |
void |
recordVariableCreate(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable,
Date createTime) |
void |
recordVariableRemoved(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable) |
void |
recordVariableUpdate(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable,
Date updateTime) |
void |
updateActivity(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity,
String oldActivityId,
org.flowable.bpmn.model.FlowElement newFlowElement,
org.flowable.task.service.impl.persistence.entity.TaskEntity task,
Date updateTime) |
void |
updateHistoricActivityInstance(org.flowable.engine.runtime.ActivityInstance activityInstance) |
void |
updateProcessBusinessKeyInHistory(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance) |
void |
updateProcessDefinitionIdInHistory(org.flowable.engine.impl.persistence.entity.ProcessDefinitionEntity processDefinitionEntity,
org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance) |
protected PlatformEngineConfiguration engineConfiguration
public PlatformProcessHistoryManager(PlatformEngineConfiguration engineConfiguration)
public boolean isHistoryLevelAtLeast(org.flowable.common.engine.impl.history.HistoryLevel level)
isHistoryLevelAtLeast
in interface org.flowable.engine.impl.history.HistoryManager
public boolean isHistoryLevelAtLeast(org.flowable.common.engine.impl.history.HistoryLevel level, String processDefinitionId)
isHistoryLevelAtLeast
in interface org.flowable.engine.impl.history.HistoryManager
public boolean isHistoryEnabled()
isHistoryEnabled
in interface org.flowable.engine.impl.history.HistoryManager
public boolean isHistoryEnabled(String processDefinitionId)
isHistoryEnabled
in interface org.flowable.engine.impl.history.HistoryManager
public void recordProcessInstanceEnd(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, String deleteReason, String activityId, Date endTime)
recordProcessInstanceEnd
in interface org.flowable.engine.impl.history.HistoryManager
public void recordProcessInstanceStart(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance)
recordProcessInstanceStart
in interface org.flowable.engine.impl.history.HistoryManager
public void recordProcessInstanceNameChange(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstanceExecution, String newName)
recordProcessInstanceNameChange
in interface org.flowable.engine.impl.history.HistoryManager
public void recordProcessInstanceDeleted(String processInstanceId, String processDefinitionId, String tenantId)
recordProcessInstanceDeleted
in interface org.flowable.engine.impl.history.HistoryManager
public void recordDeleteHistoricProcessInstancesByProcessDefinitionId(String processDefinitionId)
recordDeleteHistoricProcessInstancesByProcessDefinitionId
in interface org.flowable.engine.impl.history.HistoryManager
public void recordActivityStart(org.flowable.engine.runtime.ActivityInstance activityInstance)
recordActivityStart
in interface org.flowable.engine.impl.history.HistoryManager
public void recordActivityEnd(org.flowable.engine.runtime.ActivityInstance activityInstance)
recordActivityEnd
in interface org.flowable.engine.impl.history.HistoryManager
public void recordActivityEnd(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, String deleteReason, Date endTime)
recordActivityEnd
in interface org.flowable.engine.impl.history.HistoryManager
public org.flowable.engine.impl.persistence.entity.HistoricActivityInstanceEntity findHistoricActivityInstance(org.flowable.engine.impl.persistence.entity.ExecutionEntity execution, boolean validateEndTimeNull)
findHistoricActivityInstance
in interface org.flowable.engine.impl.history.HistoryManager
public void recordProcessDefinitionChange(String processInstanceId, String processDefinitionId)
recordProcessDefinitionChange
in interface org.flowable.engine.impl.history.HistoryManager
public void recordTaskCreated(org.flowable.task.service.impl.persistence.entity.TaskEntity task, org.flowable.engine.impl.persistence.entity.ExecutionEntity execution)
recordTaskCreated
in interface org.flowable.engine.impl.history.HistoryManager
public void recordTaskEnd(org.flowable.task.service.impl.persistence.entity.TaskEntity task, org.flowable.engine.impl.persistence.entity.ExecutionEntity execution, String deleteReason, Date endTime)
recordTaskEnd
in interface org.flowable.engine.impl.history.HistoryManager
public void recordTaskInfoChange(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, String activityInstanceId, Date changeTime)
recordTaskInfoChange
in interface org.flowable.engine.impl.history.HistoryManager
public void recordVariableCreate(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable, Date createTime)
recordVariableCreate
in interface org.flowable.engine.impl.history.HistoryManager
public void recordHistoricDetailVariableCreate(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable, org.flowable.engine.impl.persistence.entity.ExecutionEntity sourceActivityExecution, boolean useActivityId, String activityInstanceId, Date createTime)
recordHistoricDetailVariableCreate
in interface org.flowable.engine.impl.history.HistoryManager
public void recordVariableUpdate(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable, Date updateTime)
recordVariableUpdate
in interface org.flowable.engine.impl.history.HistoryManager
public void recordVariableRemoved(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable)
recordVariableRemoved
in interface org.flowable.engine.impl.history.HistoryManager
public void createIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task, String userId, String groupId, String type, boolean create)
createIdentityLinkComment
in interface org.flowable.engine.impl.history.HistoryManager
public void createUserIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task, String userId, String type, boolean create)
createUserIdentityLinkComment
in interface org.flowable.engine.impl.history.HistoryManager
public void createGroupIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task, String groupId, String type, boolean create)
createGroupIdentityLinkComment
in interface org.flowable.engine.impl.history.HistoryManager
public void createIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task, String userId, String groupId, String type, boolean create, boolean forceNullUserId)
createIdentityLinkComment
in interface org.flowable.engine.impl.history.HistoryManager
public void createUserIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task, String userId, String type, boolean create, boolean forceNullUserId)
createUserIdentityLinkComment
in interface org.flowable.engine.impl.history.HistoryManager
public void createProcessInstanceIdentityLinkComment(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, String userId, String groupId, String type, boolean create)
createProcessInstanceIdentityLinkComment
in interface org.flowable.engine.impl.history.HistoryManager
public void createProcessInstanceIdentityLinkComment(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, String userId, String groupId, String type, boolean create, boolean forceNullUserId)
createProcessInstanceIdentityLinkComment
in interface org.flowable.engine.impl.history.HistoryManager
public void createAttachmentComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task, org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, String attachmentName, boolean create)
createAttachmentComment
in interface org.flowable.engine.impl.history.HistoryManager
public void recordFormPropertiesSubmitted(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, Map<String,String> properties, String taskId, Date createTime)
recordFormPropertiesSubmitted
in interface org.flowable.engine.impl.history.HistoryManager
public void recordIdentityLinkCreated(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLink)
recordIdentityLinkCreated
in interface org.flowable.engine.impl.history.HistoryManager
public void recordIdentityLinkDeleted(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLink)
recordIdentityLinkDeleted
in interface org.flowable.engine.impl.history.HistoryManager
public void recordEntityLinkCreated(org.flowable.entitylink.service.impl.persistence.entity.EntityLinkEntity entityLink)
recordEntityLinkCreated
in interface org.flowable.engine.impl.history.HistoryManager
public void recordEntityLinkDeleted(org.flowable.entitylink.service.impl.persistence.entity.EntityLinkEntity entityLink)
recordEntityLinkDeleted
in interface org.flowable.engine.impl.history.HistoryManager
public void updateProcessBusinessKeyInHistory(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance)
updateProcessBusinessKeyInHistory
in interface org.flowable.engine.impl.history.HistoryManager
public void updateProcessDefinitionIdInHistory(org.flowable.engine.impl.persistence.entity.ProcessDefinitionEntity processDefinitionEntity, org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance)
updateProcessDefinitionIdInHistory
in interface org.flowable.engine.impl.history.HistoryManager
public void updateActivity(org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, String oldActivityId, org.flowable.bpmn.model.FlowElement newFlowElement, org.flowable.task.service.impl.persistence.entity.TaskEntity task, Date updateTime)
updateActivity
in interface org.flowable.engine.impl.history.HistoryManager
public void updateHistoricActivityInstance(org.flowable.engine.runtime.ActivityInstance activityInstance)
updateHistoricActivityInstance
in interface org.flowable.engine.impl.history.HistoryManager
public void createHistoricActivityInstance(org.flowable.engine.runtime.ActivityInstance activityInstance)
createHistoricActivityInstance
in interface org.flowable.engine.impl.history.HistoryManager
public void recordHistoricUserTaskLogEntry(org.flowable.task.api.history.HistoricTaskLogEntryBuilder taskLogEntryBuilder)
recordHistoricUserTaskLogEntry
in interface org.flowable.engine.impl.history.HistoryManager
public void deleteHistoryUserTaskLog(long logNumber)
deleteHistoryUserTaskLog
in interface org.flowable.engine.impl.history.HistoryManager
Copyright © 2019. All rights reserved.