Package ca.uhn.fhir.jpa.dao.expunge
Interface IResourceExpungeService<R extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?>,V extends ca.uhn.fhir.rest.api.server.storage.IResourceVersionPersistentId>
- Type Parameters:
R
- The resource PID typeV
- The resource version PID type
public interface IResourceExpungeService<R extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?>,V extends ca.uhn.fhir.rest.api.server.storage.IResourceVersionPersistentId>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAllSearchParams
(R theResourceId) void
expungeCurrentVersionOfResources
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<R> theResourceIds, AtomicInteger theRemainingCount) void
expungeHistoricalVersions
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<V> thePartition, AtomicInteger theRemainingCount) void
expungeHistoricalVersionsOfIds
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<R> theResourceIds, AtomicInteger theRemainingCount) findHistoricalVersionsOfDeletedResources
(String theResourceName, R theResourceId, int theI) findHistoricalVersionsOfNonDeletedResources
(String theResourceName, R theResourceId, int theI)
-
Method Details
-
findHistoricalVersionsOfDeletedResources
-
findHistoricalVersionsOfNonDeletedResources
List<V> findHistoricalVersionsOfNonDeletedResources(String theResourceName, R theResourceId, int theI) -
expungeHistoricalVersions
void expungeHistoricalVersions(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<V> thePartition, AtomicInteger theRemainingCount) -
expungeCurrentVersionOfResources
void expungeCurrentVersionOfResources(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<R> theResourceIds, AtomicInteger theRemainingCount) -
expungeHistoricalVersionsOfIds
void expungeHistoricalVersionsOfIds(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<R> theResourceIds, AtomicInteger theRemainingCount) -
deleteAllSearchParams
-