Class LicenseInstanceCountingHistoryManager
java.lang.Object
com.flowable.core.service.process.LicenseInstanceCountingHistoryManager
- All Implemented Interfaces:
org.flowable.engine.impl.history.HistoryManager
public class LicenseInstanceCountingHistoryManager
extends Object
implements org.flowable.engine.impl.history.HistoryManager
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.flowable.license.LicenseCheckService
-
Constructor Summary
ConstructorsConstructorDescriptionLicenseInstanceCountingHistoryManager
(com.flowable.license.LicenseCheckService licenseCheckService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
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
recordActivityStart
(org.flowable.engine.runtime.ActivityInstance activityInstance) void
recordBulkDeleteProcessInstances
(Collection<String> processInstanceIds) 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
recordHistoricTaskDeleted
(org.flowable.task.api.history.HistoricTaskInstance task) 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 processTenantId) 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 userId, 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
updateProcessBusinessStatusInHistory
(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)
-
Field Details
-
licenseCheckService
protected final com.flowable.license.LicenseCheckService licenseCheckService
-
-
Constructor Details
-
LicenseInstanceCountingHistoryManager
public LicenseInstanceCountingHistoryManager(com.flowable.license.LicenseCheckService licenseCheckService)
-
-
Method Details
-
recordProcessInstanceStart
public void recordProcessInstanceStart(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance) - Specified by:
recordProcessInstanceStart
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
isHistoryLevelAtLeast
public boolean isHistoryLevelAtLeast(org.flowable.common.engine.impl.history.HistoryLevel level) - Specified by:
isHistoryLevelAtLeast
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
isHistoryLevelAtLeast
public boolean isHistoryLevelAtLeast(org.flowable.common.engine.impl.history.HistoryLevel level, String processDefinitionId) - Specified by:
isHistoryLevelAtLeast
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
isHistoryEnabled
public boolean isHistoryEnabled()- Specified by:
isHistoryEnabled
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
isHistoryEnabled
- Specified by:
isHistoryEnabled
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordProcessInstanceEnd
public void recordProcessInstanceEnd(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, String deleteReason, String activityId, Date endTime) - Specified by:
recordProcessInstanceEnd
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordProcessInstanceNameChange
public void recordProcessInstanceNameChange(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstanceExecution, String newName) - Specified by:
recordProcessInstanceNameChange
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordProcessInstanceDeleted
public void recordProcessInstanceDeleted(String processInstanceId, String processDefinitionId, String processTenantId) - Specified by:
recordProcessInstanceDeleted
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordDeleteHistoricProcessInstancesByProcessDefinitionId
- Specified by:
recordDeleteHistoricProcessInstancesByProcessDefinitionId
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordBulkDeleteProcessInstances
- Specified by:
recordBulkDeleteProcessInstances
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordActivityStart
public void recordActivityStart(org.flowable.engine.runtime.ActivityInstance activityInstance) - Specified by:
recordActivityStart
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordActivityEnd
public void recordActivityEnd(org.flowable.engine.runtime.ActivityInstance activityInstance) - Specified by:
recordActivityEnd
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
findHistoricActivityInstance
public org.flowable.engine.impl.persistence.entity.HistoricActivityInstanceEntity findHistoricActivityInstance(org.flowable.engine.impl.persistence.entity.ExecutionEntity execution, boolean validateEndTimeNull) - Specified by:
findHistoricActivityInstance
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordProcessDefinitionChange
- Specified by:
recordProcessDefinitionChange
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordTaskCreated
public void recordTaskCreated(org.flowable.task.service.impl.persistence.entity.TaskEntity task, org.flowable.engine.impl.persistence.entity.ExecutionEntity execution) - Specified by:
recordTaskCreated
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordTaskEnd
public void recordTaskEnd(org.flowable.task.service.impl.persistence.entity.TaskEntity task, org.flowable.engine.impl.persistence.entity.ExecutionEntity execution, String userId, String deleteReason, Date endTime) - Specified by:
recordTaskEnd
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordTaskInfoChange
public void recordTaskInfoChange(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, String activityInstanceId, Date changeTime) - Specified by:
recordTaskInfoChange
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordHistoricTaskDeleted
public void recordHistoricTaskDeleted(org.flowable.task.api.history.HistoricTaskInstance task) - Specified by:
recordHistoricTaskDeleted
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordVariableCreate
public void recordVariableCreate(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable, Date createTime) - Specified by:
recordVariableCreate
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordHistoricDetailVariableCreate
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) - Specified by:
recordHistoricDetailVariableCreate
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordVariableUpdate
public void recordVariableUpdate(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable, Date updateTime) - Specified by:
recordVariableUpdate
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordVariableRemoved
public void recordVariableRemoved(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable) - Specified by:
recordVariableRemoved
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
createIdentityLinkComment
public void createIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task, String userId, String groupId, String type, boolean create) - Specified by:
createIdentityLinkComment
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
createUserIdentityLinkComment
public void createUserIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task, String userId, String type, boolean create) - Specified by:
createUserIdentityLinkComment
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
createGroupIdentityLinkComment
public void createGroupIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task, String groupId, String type, boolean create) - Specified by:
createGroupIdentityLinkComment
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
createIdentityLinkComment
public void createIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task, String userId, String groupId, String type, boolean create, boolean forceNullUserId) - Specified by:
createIdentityLinkComment
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
createUserIdentityLinkComment
public void createUserIdentityLinkComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task, String userId, String type, boolean create, boolean forceNullUserId) - Specified by:
createUserIdentityLinkComment
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
createProcessInstanceIdentityLinkComment
public void createProcessInstanceIdentityLinkComment(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, String userId, String groupId, String type, boolean create) - Specified by:
createProcessInstanceIdentityLinkComment
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
createProcessInstanceIdentityLinkComment
public void createProcessInstanceIdentityLinkComment(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, String userId, String groupId, String type, boolean create, boolean forceNullUserId) - Specified by:
createProcessInstanceIdentityLinkComment
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
createAttachmentComment
public void createAttachmentComment(org.flowable.task.service.impl.persistence.entity.TaskEntity task, org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, String attachmentName, boolean create) - Specified by:
createAttachmentComment
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordFormPropertiesSubmitted
public void recordFormPropertiesSubmitted(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance, Map<String, String> properties, String taskId, Date createTime) - Specified by:
recordFormPropertiesSubmitted
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordIdentityLinkCreated
public void recordIdentityLinkCreated(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLink) - Specified by:
recordIdentityLinkCreated
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordIdentityLinkDeleted
public void recordIdentityLinkDeleted(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLink) - Specified by:
recordIdentityLinkDeleted
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordEntityLinkCreated
public void recordEntityLinkCreated(org.flowable.entitylink.service.impl.persistence.entity.EntityLinkEntity entityLink) - Specified by:
recordEntityLinkCreated
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordEntityLinkDeleted
public void recordEntityLinkDeleted(org.flowable.entitylink.service.impl.persistence.entity.EntityLinkEntity entityLink) - Specified by:
recordEntityLinkDeleted
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
updateProcessBusinessKeyInHistory
public void updateProcessBusinessKeyInHistory(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance) - Specified by:
updateProcessBusinessKeyInHistory
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
updateProcessBusinessStatusInHistory
public void updateProcessBusinessStatusInHistory(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance) - Specified by:
updateProcessBusinessStatusInHistory
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
updateProcessDefinitionIdInHistory
public void updateProcessDefinitionIdInHistory(org.flowable.engine.impl.persistence.entity.ProcessDefinitionEntity processDefinitionEntity, org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance) - Specified by:
updateProcessDefinitionIdInHistory
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
updateActivity
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) - Specified by:
updateActivity
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
updateHistoricActivityInstance
public void updateHistoricActivityInstance(org.flowable.engine.runtime.ActivityInstance activityInstance) - Specified by:
updateHistoricActivityInstance
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
createHistoricActivityInstance
public void createHistoricActivityInstance(org.flowable.engine.runtime.ActivityInstance activityInstance) - Specified by:
createHistoricActivityInstance
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
recordHistoricUserTaskLogEntry
public void recordHistoricUserTaskLogEntry(org.flowable.task.api.history.HistoricTaskLogEntryBuilder taskLogEntryBuilder) - Specified by:
recordHistoricUserTaskLogEntry
in interfaceorg.flowable.engine.impl.history.HistoryManager
-
deleteHistoryUserTaskLog
public void deleteHistoryUserTaskLog(long logNumber) - Specified by:
deleteHistoryUserTaskLog
in interfaceorg.flowable.engine.impl.history.HistoryManager
-