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 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 interface org.flowable.engine.impl.history.HistoryManager
    • isHistoryLevelAtLeast

      public boolean isHistoryLevelAtLeast(org.flowable.common.engine.impl.history.HistoryLevel level)
      Specified by:
      isHistoryLevelAtLeast in interface org.flowable.engine.impl.history.HistoryManager
    • isHistoryLevelAtLeast

      public boolean isHistoryLevelAtLeast(org.flowable.common.engine.impl.history.HistoryLevel level, String processDefinitionId)
      Specified by:
      isHistoryLevelAtLeast in interface org.flowable.engine.impl.history.HistoryManager
    • isHistoryEnabled

      public boolean isHistoryEnabled()
      Specified by:
      isHistoryEnabled in interface org.flowable.engine.impl.history.HistoryManager
    • isHistoryEnabled

      public boolean isHistoryEnabled(String processDefinitionId)
      Specified by:
      isHistoryEnabled in interface org.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 interface org.flowable.engine.impl.history.HistoryManager
    • recordProcessInstanceNameChange

      public void recordProcessInstanceNameChange(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstanceExecution, String newName)
      Specified by:
      recordProcessInstanceNameChange in interface org.flowable.engine.impl.history.HistoryManager
    • recordProcessInstanceDeleted

      public void recordProcessInstanceDeleted(String processInstanceId, String processDefinitionId, String processTenantId)
      Specified by:
      recordProcessInstanceDeleted in interface org.flowable.engine.impl.history.HistoryManager
    • recordDeleteHistoricProcessInstancesByProcessDefinitionId

      public void recordDeleteHistoricProcessInstancesByProcessDefinitionId(String processDefinitionId)
      Specified by:
      recordDeleteHistoricProcessInstancesByProcessDefinitionId in interface org.flowable.engine.impl.history.HistoryManager
    • recordBulkDeleteProcessInstances

      public void recordBulkDeleteProcessInstances(Collection<String> processInstanceIds)
      Specified by:
      recordBulkDeleteProcessInstances in interface org.flowable.engine.impl.history.HistoryManager
    • recordActivityStart

      public void recordActivityStart(org.flowable.engine.runtime.ActivityInstance activityInstance)
      Specified by:
      recordActivityStart in interface org.flowable.engine.impl.history.HistoryManager
    • recordActivityEnd

      public void recordActivityEnd(org.flowable.engine.runtime.ActivityInstance activityInstance)
      Specified by:
      recordActivityEnd in interface org.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 interface org.flowable.engine.impl.history.HistoryManager
    • recordProcessDefinitionChange

      public void recordProcessDefinitionChange(String processInstanceId, String processDefinitionId)
      Specified by:
      recordProcessDefinitionChange in interface org.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 interface org.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 interface org.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 interface org.flowable.engine.impl.history.HistoryManager
    • recordHistoricTaskDeleted

      public void recordHistoricTaskDeleted(org.flowable.task.api.history.HistoricTaskInstance task)
      Specified by:
      recordHistoricTaskDeleted in interface org.flowable.engine.impl.history.HistoryManager
    • recordVariableCreate

      public void recordVariableCreate(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable, Date createTime)
      Specified by:
      recordVariableCreate in interface org.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 interface org.flowable.engine.impl.history.HistoryManager
    • recordVariableUpdate

      public void recordVariableUpdate(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable, Date updateTime)
      Specified by:
      recordVariableUpdate in interface org.flowable.engine.impl.history.HistoryManager
    • recordVariableRemoved

      public void recordVariableRemoved(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variable)
      Specified by:
      recordVariableRemoved in interface org.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 interface org.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 interface org.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 interface org.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 interface org.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 interface org.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 interface org.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 interface org.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 interface org.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 interface org.flowable.engine.impl.history.HistoryManager
    • recordIdentityLinkCreated

      public void recordIdentityLinkCreated(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLink)
      Specified by:
      recordIdentityLinkCreated in interface org.flowable.engine.impl.history.HistoryManager
    • recordIdentityLinkDeleted

      public void recordIdentityLinkDeleted(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLink)
      Specified by:
      recordIdentityLinkDeleted in interface org.flowable.engine.impl.history.HistoryManager
    • recordEntityLinkCreated

      public void recordEntityLinkCreated(org.flowable.entitylink.service.impl.persistence.entity.EntityLinkEntity entityLink)
      Specified by:
      recordEntityLinkCreated in interface org.flowable.engine.impl.history.HistoryManager
    • recordEntityLinkDeleted

      public void recordEntityLinkDeleted(org.flowable.entitylink.service.impl.persistence.entity.EntityLinkEntity entityLink)
      Specified by:
      recordEntityLinkDeleted in interface org.flowable.engine.impl.history.HistoryManager
    • updateProcessBusinessKeyInHistory

      public void updateProcessBusinessKeyInHistory(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance)
      Specified by:
      updateProcessBusinessKeyInHistory in interface org.flowable.engine.impl.history.HistoryManager
    • updateProcessBusinessStatusInHistory

      public void updateProcessBusinessStatusInHistory(org.flowable.engine.impl.persistence.entity.ExecutionEntity processInstance)
      Specified by:
      updateProcessBusinessStatusInHistory in interface org.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 interface org.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 interface org.flowable.engine.impl.history.HistoryManager
    • updateHistoricActivityInstance

      public void updateHistoricActivityInstance(org.flowable.engine.runtime.ActivityInstance activityInstance)
      Specified by:
      updateHistoricActivityInstance in interface org.flowable.engine.impl.history.HistoryManager
    • createHistoricActivityInstance

      public void createHistoricActivityInstance(org.flowable.engine.runtime.ActivityInstance activityInstance)
      Specified by:
      createHistoricActivityInstance in interface org.flowable.engine.impl.history.HistoryManager
    • recordHistoricUserTaskLogEntry

      public void recordHistoricUserTaskLogEntry(org.flowable.task.api.history.HistoricTaskLogEntryBuilder taskLogEntryBuilder)
      Specified by:
      recordHistoricUserTaskLogEntry in interface org.flowable.engine.impl.history.HistoryManager
    • deleteHistoryUserTaskLog

      public void deleteHistoryUserTaskLog(long logNumber)
      Specified by:
      deleteHistoryUserTaskLog in interface org.flowable.engine.impl.history.HistoryManager