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