Class AbstractSyncEntityLinksCmd

java.lang.Object
com.flowable.platform.engine.impl.cmd.AbstractSyncEntityLinksCmd
All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<Void>
Direct Known Subclasses:
SyncHistoricInstanceEntityLinksCmd, SyncInstanceEntityLinksCmd

public abstract class AbstractSyncEntityLinksCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<Void>
  • Field Details

    • rootScopeId

      protected final String rootScopeId
    • rootScopeType

      protected final String rootScopeType
  • Constructor Details

    • AbstractSyncEntityLinksCmd

      public AbstractSyncEntityLinksCmd(String rootScopeId, String rootScopeType)
  • Method Details

    • execute

      public Void execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
      Specified by:
      execute in interface org.flowable.common.engine.impl.interceptor.Command<Void>
    • syncHistoricEntityLinks

      protected void syncHistoricEntityLinks(String rootScopeId, String rootScopeType, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    • getEntityLinks

      protected abstract List<? extends org.flowable.entitylink.api.EntityLinkInfo> getEntityLinks(Set<String> scopeIds, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    • getEntityLinks

      protected abstract List<? extends org.flowable.entitylink.api.EntityLinkInfo> getEntityLinks(String scopeId, String scopeType, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    • createRootEntityLink

      protected org.flowable.entitylink.api.EntityLinkInfo createRootEntityLink(EntityHierarchyInfo info, String rootScopeId, String rootScopeType, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    • createRootEntityLink

      protected abstract org.flowable.entitylink.api.EntityLinkInfo createRootEntityLink(String subScopeId, String elementId, String referenceScopeId, String referenceScopeType, String rootScopeId, String rootScopeType, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    • createGrandParentEntityLink

      protected abstract org.flowable.entitylink.api.EntityLinkInfo createGrandParentEntityLink(String grandParentScopeId, String grandParentScopeType, EntityHierarchyInfo info, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    • createEntityLink

      protected org.flowable.entitylink.api.EntityLinkInfo createEntityLink(EntityHierarchyInfo info, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    • createEntityLink

      protected abstract org.flowable.entitylink.api.EntityLinkInfo createEntityLink(String scopeId, String scopeType, String subScopeId, String parentElementId, String referenceScopeId, String referenceScopeType, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    • getHierarchyInfo

      protected abstract List<EntityHierarchyInfo> getHierarchyInfo(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, Set<String> caseInstanceIds, Set<String> processInstanceIds)