Interface HistoricEntityLinkService
- All Known Implementing Classes:
HistoricEntityLinkServiceImpl
public interface HistoricEntityLinkService
Service which provides access to historic entity links.
- Author:
- Tijs Rademakers
-
Method Summary
Modifier and TypeMethodDescriptionvoidbulkDeleteHistoricEntityLinksForScopeTypeAndScopeIds(String scopeType, Collection<String> scopeIds) voidbulkDeleteHistoricEntityLinksForScopeTypeAndScopeIdsOrReferenceScopeIds(String scopeType, Collection<String> ids) voidvoiddeleteHistoricEntityLink(HistoricEntityLink entityLink) voiddeleteHistoricEntityLinksByScopeDefinitionIdAndScopeType(String scopeDefinitionId, String scopeType) voiddeleteHistoricEntityLinksByScopeIdAndScopeType(String scopeId, String scopeType) voidDelete 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).voidvoiddefault List<HistoricEntityLink> findHistoricEntityLinksByReferenceScopeIdAndType(String referenceScopeId, String scopeType, String linkType) default List<HistoricEntityLink> findHistoricEntityLinksByScopeDefinitionIdAndScopeType(String scopeDefinitionId, String scopeType, String linkType) default List<HistoricEntityLink> findHistoricEntityLinksByScopeIdAndScopeType(String scopeId, String scopeType, String linkType) findHistoricEntityLinksWithSameRootScopeForScopeIdAndScopeType(String scopeId, String scopeType, String linkType) findHistoricEntityLinksWithSameRootScopeForScopeIdsAndScopeType(Collection<String> scopeIds, String scopeType, String linkType) voidinsertHistoricEntityLink(HistoricEntityLink entityLink, boolean fireCreateEvent)
-
Method Details
-
getHistoricEntityLink
-
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
-
deleteHistoricEntityLink
-
deleteHistoricEntityLink
-
deleteHistoricEntityLinksByScopeIdAndScopeType
-
deleteHistoricEntityLinksByScopeIdOrReferenceScopeIdAndScopeType
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
-
bulkDeleteHistoricEntityLinksForScopeTypeAndScopeIds
void bulkDeleteHistoricEntityLinksForScopeTypeAndScopeIds(String scopeType, Collection<String> scopeIds) -
bulkDeleteHistoricEntityLinksForScopeTypeAndScopeIdsOrReferenceScopeIds
void bulkDeleteHistoricEntityLinksForScopeTypeAndScopeIdsOrReferenceScopeIds(String scopeType, Collection<String> ids) -
deleteHistoricEntityLinksForNonExistingProcessInstances
void deleteHistoricEntityLinksForNonExistingProcessInstances() -
deleteHistoricEntityLinksForNonExistingCaseInstances
void deleteHistoricEntityLinksForNonExistingCaseInstances()
-