Interface HistoricEntityLinkService

All Known Implementing Classes:
HistoricEntityLinkServiceImpl

public interface HistoricEntityLinkService
Service which provides access to historic entity links.
Author:
Tijs Rademakers
  • Method Details

    • getHistoricEntityLink

      HistoricEntityLink getHistoricEntityLink(String id)
    • findHistoricEntityLinksByScopeIdAndScopeType

      default List<HistoricEntityLink> findHistoricEntityLinksByScopeIdAndScopeType(String scopeId, String scopeType, String linkType)
    • findHistoricEntityLinksWithSameRootScopeForScopeIdAndScopeType

      List<HistoricEntityLink> findHistoricEntityLinksWithSameRootScopeForScopeIdAndScopeType(String scopeId, String scopeType, String linkType)
    • findHistoricEntityLinksWithSameRootScopeForScopeIdsAndScopeType

      List<HistoricEntityLink> findHistoricEntityLinksWithSameRootScopeForScopeIdsAndScopeType(Collection<String> scopeIds, String scopeType, String linkType)
    • findHistoricEntityLinksByReferenceScopeIdAndType

      default List<HistoricEntityLink> findHistoricEntityLinksByReferenceScopeIdAndType(String referenceScopeId, String scopeType, String linkType)
    • findHistoricEntityLinksByScopeDefinitionIdAndScopeType

      default List<HistoricEntityLink> findHistoricEntityLinksByScopeDefinitionIdAndScopeType(String scopeDefinitionId, String scopeType, String linkType)
    • createInternalHistoricEntityLinkQuery

      InternalEntityLinkQuery<HistoricEntityLink> createInternalHistoricEntityLinkQuery()
    • createHistoricEntityLink

      HistoricEntityLink createHistoricEntityLink()
    • insertHistoricEntityLink

      void insertHistoricEntityLink(HistoricEntityLink entityLink, boolean fireCreateEvent)
    • deleteHistoricEntityLink

      void deleteHistoricEntityLink(String id)
    • deleteHistoricEntityLink

      void deleteHistoricEntityLink(HistoricEntityLink entityLink)
    • deleteHistoricEntityLinksByScopeIdAndScopeType

      void deleteHistoricEntityLinksByScopeIdAndScopeType(String scopeId, String scopeType)
    • deleteHistoricEntityLinksByScopeIdOrReferenceScopeIdAndScopeType

      void deleteHistoricEntityLinksByScopeIdOrReferenceScopeIdAndScopeType(String id, String scopeType)
      Delete every historic entity link where the given id appears as either the scope id (with the given scope type) or the reference scope id (with the given reference scope type). Used when an entity is removed from history to ensure no orphan rows are left pointing at it from either direction.
    • deleteHistoricEntityLinksByScopeDefinitionIdAndScopeType

      void deleteHistoricEntityLinksByScopeDefinitionIdAndScopeType(String scopeDefinitionId, String scopeType)
    • bulkDeleteHistoricEntityLinksForScopeTypeAndScopeIds

      void bulkDeleteHistoricEntityLinksForScopeTypeAndScopeIds(String scopeType, Collection<String> scopeIds)
    • bulkDeleteHistoricEntityLinksForScopeTypeAndScopeIdsOrReferenceScopeIds

      void bulkDeleteHistoricEntityLinksForScopeTypeAndScopeIdsOrReferenceScopeIds(String scopeType, Collection<String> ids)
    • deleteHistoricEntityLinksForNonExistingProcessInstances

      void deleteHistoricEntityLinksForNonExistingProcessInstances()
    • deleteHistoricEntityLinksForNonExistingCaseInstances

      void deleteHistoricEntityLinksForNonExistingCaseInstances()