public abstract class AbstractHistoryManager extends AbstractManager implements HistoryManager
| Modifier and Type | Field and Description |
|---|---|
protected HistoryLevel |
historyLevel |
processEngineConfiguration| Constructor and Description |
|---|
AbstractHistoryManager(ProcessEngineConfigurationImpl processEngineConfiguration,
HistoryLevel historyLevel) |
| Modifier and Type | Method and Description |
|---|---|
void |
createAttachmentComment(String taskId,
String processInstanceId,
String attachmentName,
boolean create)
Creates a new comment to indicate a new attachment has been created or deleted, if history is enabled.
|
void |
createGroupIdentityLinkComment(String taskId,
String groupId,
String type,
boolean create)
Creates a new comment to indicate a new group
IdentityLink has been created or deleted, if history is enabled. |
protected HistoricActivityInstanceEntity |
createHistoricActivityInstanceEntity(ExecutionEntity execution) |
void |
createIdentityLinkComment(String taskId,
String userId,
String groupId,
String type,
boolean create)
Creates a new comment to indicate a new
IdentityLink has been created or deleted, if history is enabled. |
void |
createIdentityLinkComment(String taskId,
String userId,
String groupId,
String type,
boolean create,
boolean forceNullUserId)
Creates a new comment to indicate a new
IdentityLink has been created or deleted, if history is enabled. |
void |
createProcessInstanceIdentityLinkComment(String processInstanceId,
String userId,
String groupId,
String type,
boolean create)
Creates a new comment to indicate a new
IdentityLink has been created or deleted, if history is enabled. |
void |
createProcessInstanceIdentityLinkComment(String processInstanceId,
String userId,
String groupId,
String type,
boolean create,
boolean forceNullUserId)
Creates a new comment to indicate a new
IdentityLink has been created or deleted, if history is enabled. |
void |
createUserIdentityLinkComment(String taskId,
String userId,
String type,
boolean create)
Creates a new comment to indicate a new user
IdentityLink has been created or deleted, if history is enabled. |
void |
createUserIdentityLinkComment(String taskId,
String userId,
String type,
boolean create,
boolean forceNullUserId)
Creates a new comment to indicate a new user
IdentityLink has been created or deleted, if history is enabled. |
HistoricActivityInstanceEntity |
findActivityInstance(ExecutionEntity execution,
boolean createOnNotFound,
boolean endTimeMustBeNull)
Finds the
HistoricActivityInstanceEntity that is active in the given execution. |
protected HistoricActivityInstanceEntity |
findActivityInstance(ExecutionEntity execution,
String activityId,
boolean createOnNotFound,
boolean endTimeMustBeNull) |
protected String |
getActivityIdForExecution(ExecutionEntity execution) |
protected EntityCache |
getEntityCache() |
protected HistoricActivityInstanceEntity |
getHistoricActivityInstanceFromCache(String executionId,
String activityId,
boolean endTimeMustBeNull) |
HistoryLevel |
getHistoryLevel() |
boolean |
isHistoryEnabled() |
boolean |
isHistoryLevelAtLeast(HistoryLevel level) |
protected String |
parseActivityType(org.flowable.bpmn.model.FlowElement element) |
void |
setHistoryLevel(HistoryLevel historyLevel) |
getAsyncExecutor, getAttachmentEntityManager, getByteArrayEntityManager, getClock, getCommandContext, getCommandExecutor, getCommentEntityManager, getDeploymentEntityManager, getEventDispatcher, getEventSubscriptionEntityManager, getExecutionEntityManager, getHistoricActivityInstanceEntityManager, getHistoricDetailEntityManager, getHistoricProcessInstanceEntityManager, getHistoryManager, getModelEntityManager, getProcessDefinitionEntityManager, getProcessDefinitionInfoEntityManager, getProcessEngineConfiguration, getResourceEntityManager, getSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrecordActivityEnd, recordActivityStart, recordDeleteHistoricProcessInstancesByProcessDefinitionId, recordFormPropertiesSubmitted, recordHistoricDetailVariableCreate, recordIdentityLinkCreated, recordIdentityLinkDeleted, recordProcessDefinitionChange, recordProcessInstanceDeleted, recordProcessInstanceEnd, recordProcessInstanceNameChange, recordProcessInstanceStart, recordSubProcessInstanceStart, recordTaskCreated, recordTaskEnd, recordTaskInfoChange, recordVariableCreate, recordVariableRemoved, recordVariableUpdate, updateProcessBusinessKeyInHistoryprotected HistoryLevel historyLevel
public AbstractHistoryManager(ProcessEngineConfigurationImpl processEngineConfiguration, HistoryLevel historyLevel)
public boolean isHistoryLevelAtLeast(HistoryLevel level)
isHistoryLevelAtLeast in interface HistoryManagerpublic boolean isHistoryEnabled()
isHistoryEnabled in interface HistoryManagerpublic void createIdentityLinkComment(String taskId, String userId, String groupId, String type, boolean create)
HistoryManagerIdentityLink has been created or deleted, if history is enabled.createIdentityLinkComment in interface HistoryManagerpublic void createUserIdentityLinkComment(String taskId, String userId, String type, boolean create)
HistoryManagerIdentityLink has been created or deleted, if history is enabled.createUserIdentityLinkComment in interface HistoryManagerpublic void createGroupIdentityLinkComment(String taskId, String groupId, String type, boolean create)
HistoryManagerIdentityLink has been created or deleted, if history is enabled.createGroupIdentityLinkComment in interface HistoryManagerpublic void createUserIdentityLinkComment(String taskId, String userId, String type, boolean create, boolean forceNullUserId)
HistoryManagerIdentityLink has been created or deleted, if history is enabled.createUserIdentityLinkComment in interface HistoryManagerpublic void createIdentityLinkComment(String taskId, String userId, String groupId, String type, boolean create, boolean forceNullUserId)
HistoryManagerIdentityLink has been created or deleted, if history is enabled.createIdentityLinkComment in interface HistoryManagerpublic void createProcessInstanceIdentityLinkComment(String processInstanceId, String userId, String groupId, String type, boolean create)
HistoryManagerIdentityLink has been created or deleted, if history is enabled.createProcessInstanceIdentityLinkComment in interface HistoryManagerpublic void createProcessInstanceIdentityLinkComment(String processInstanceId, String userId, String groupId, String type, boolean create, boolean forceNullUserId)
HistoryManagerIdentityLink has been created or deleted, if history is enabled.createProcessInstanceIdentityLinkComment in interface HistoryManagerpublic void createAttachmentComment(String taskId, String processInstanceId, String attachmentName, boolean create)
HistoryManagercreateAttachmentComment in interface HistoryManagerprotected HistoricActivityInstanceEntity getHistoricActivityInstanceFromCache(String executionId, String activityId, boolean endTimeMustBeNull)
public HistoricActivityInstanceEntity findActivityInstance(ExecutionEntity execution, boolean createOnNotFound, boolean endTimeMustBeNull)
HistoryManagerHistoricActivityInstanceEntity that is active in the given execution.findActivityInstance in interface HistoryManagerprotected String getActivityIdForExecution(ExecutionEntity execution)
protected HistoricActivityInstanceEntity findActivityInstance(ExecutionEntity execution, String activityId, boolean createOnNotFound, boolean endTimeMustBeNull)
protected HistoricActivityInstanceEntity createHistoricActivityInstanceEntity(ExecutionEntity execution)
protected String parseActivityType(org.flowable.bpmn.model.FlowElement element)
protected EntityCache getEntityCache()
public HistoryLevel getHistoryLevel()
public void setHistoryLevel(HistoryLevel historyLevel)
Copyright © 2017 Flowable. All rights reserved.