
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 TypeMethodDescriptionvoiddeleteAllSearchParams(R theResourceId) voidexpungeCurrentVersionOfResources(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<R> theResourceIds, AtomicInteger theRemainingCount) voidexpungeHistoricalVersions(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<V> thePartition, AtomicInteger theRemainingCount) voidexpungeHistoricalVersionsOfIds(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
-