Class AbstractSynchronizeCmd

java.lang.Object
com.flowable.platform.engine.impl.cmd.AbstractSynchronizeCmd
Direct Known Subclasses:
SynchronizeCaseInstanceCmd, SynchronizeProcessInstanceCmd

public abstract class AbstractSynchronizeCmd extends Object
Author:
Filip Hrisafov
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    syncEntityLinks(String scopeId, String scopeType, org.flowable.entitylink.service.EntityLinkServiceConfiguration entityLinkServiceConfiguration, Consumer<org.flowable.entitylink.service.impl.persistence.entity.EntityLinkEntity> historicEntityLinkCreator)
     
    protected void
    syncIdentityLinks(List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinks, List<org.flowable.identitylink.service.impl.persistence.entity.HistoricIdentityLinkEntity> historicIdentityLinks, org.flowable.identitylink.service.IdentityLinkServiceConfiguration identityLinkServiceConfiguration, Consumer<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinkEntityCreator)
     
    protected void
    syncTask(org.flowable.task.service.impl.persistence.entity.TaskEntity task, org.flowable.task.service.impl.persistence.entity.HistoricTaskInstanceEntity historicTask, org.flowable.task.service.TaskServiceConfiguration taskServiceConfiguration, org.flowable.identitylink.service.IdentityLinkServiceConfiguration identityLinkServiceConfiguration, Consumer<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinkCreator)
     
    protected Collection<String>
    syncTasks(List<org.flowable.task.service.impl.persistence.entity.TaskEntity> tasks, List<org.flowable.task.service.impl.persistence.entity.HistoricTaskInstanceEntity> historicTasks, org.flowable.task.service.TaskServiceConfiguration taskServiceConfiguration, org.flowable.identitylink.service.IdentityLinkServiceConfiguration identityLinkServiceConfiguration, Consumer<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinkCreator)
     
    protected void
    syncVariableInstance(org.flowable.common.engine.impl.runtime.Clock clock, org.flowable.variable.service.impl.persistence.entity.HistoricVariableInstanceEntityManager historicVariableInstanceEntityManager, org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variableInstance, org.flowable.variable.service.impl.persistence.entity.HistoricVariableInstanceEntity existingHistoricVariableInstance)
     
    protected void
    syncVariables(List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> variables, List<org.flowable.variable.api.history.HistoricVariableInstance> historicVariables, org.flowable.variable.service.VariableServiceConfiguration variableServiceConfiguration)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractSynchronizeCmd

      public AbstractSynchronizeCmd()
  • Method Details

    • syncVariables

      protected void syncVariables(List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> variables, List<org.flowable.variable.api.history.HistoricVariableInstance> historicVariables, org.flowable.variable.service.VariableServiceConfiguration variableServiceConfiguration)
    • syncVariableInstance

      protected void syncVariableInstance(org.flowable.common.engine.impl.runtime.Clock clock, org.flowable.variable.service.impl.persistence.entity.HistoricVariableInstanceEntityManager historicVariableInstanceEntityManager, org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variableInstance, org.flowable.variable.service.impl.persistence.entity.HistoricVariableInstanceEntity existingHistoricVariableInstance)
    • syncEntityLinks

      protected void syncEntityLinks(String scopeId, String scopeType, org.flowable.entitylink.service.EntityLinkServiceConfiguration entityLinkServiceConfiguration, Consumer<org.flowable.entitylink.service.impl.persistence.entity.EntityLinkEntity> historicEntityLinkCreator)
    • syncIdentityLinks

      protected void syncIdentityLinks(List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinks, List<org.flowable.identitylink.service.impl.persistence.entity.HistoricIdentityLinkEntity> historicIdentityLinks, org.flowable.identitylink.service.IdentityLinkServiceConfiguration identityLinkServiceConfiguration, Consumer<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinkEntityCreator)
    • syncTasks

      protected Collection<String> syncTasks(List<org.flowable.task.service.impl.persistence.entity.TaskEntity> tasks, List<org.flowable.task.service.impl.persistence.entity.HistoricTaskInstanceEntity> historicTasks, org.flowable.task.service.TaskServiceConfiguration taskServiceConfiguration, org.flowable.identitylink.service.IdentityLinkServiceConfiguration identityLinkServiceConfiguration, Consumer<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinkCreator)
      Parameters:
      tasks - the runtime tasks
      historicTasks - the existing historic tasks
      taskServiceConfiguration - the task service configuration that should be used
      identityLinkServiceConfiguration - the identity link service configuration that should be used
      identityLinkCreator - the identity link creator
      Returns:
      the ids of all tasks that were synchronized
    • syncTask

      protected void syncTask(org.flowable.task.service.impl.persistence.entity.TaskEntity task, org.flowable.task.service.impl.persistence.entity.HistoricTaskInstanceEntity historicTask, org.flowable.task.service.TaskServiceConfiguration taskServiceConfiguration, org.flowable.identitylink.service.IdentityLinkServiceConfiguration identityLinkServiceConfiguration, Consumer<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinkCreator)