
Package ca.uhn.fhir.jpa.dao.expunge
Class ResourceExpungeService
java.lang.Object
ca.uhn.fhir.jpa.dao.expunge.ResourceExpungeService
- All Implemented Interfaces:
ca.uhn.fhir.jpa.dao.expunge.IResourceExpungeService
@Service
public class ResourceExpungeService
extends Object
implements ca.uhn.fhir.jpa.dao.expunge.IResourceExpungeService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAllSearchParams
(ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId theResourceId) void
expungeCurrentVersionOfResources
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> theResourceIds, AtomicInteger theRemainingCount) void
expungeHistoricalVersions
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> theHistoricalIds, AtomicInteger theRemainingCount) void
expungeHistoricalVersionsOfIds
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> theResourceIds, AtomicInteger theRemainingCount) List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>
findHistoricalVersionsOfDeletedResources
(String theResourceName, ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId theResourceId, int theRemainingCount) List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>
findHistoricalVersionsOfNonDeletedResources
(String theResourceName, ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId theResourceId, int theRemainingCount)
-
Constructor Details
-
ResourceExpungeService
public ResourceExpungeService()
-
-
Method Details
-
findHistoricalVersionsOfNonDeletedResources
@Transactional public List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> findHistoricalVersionsOfNonDeletedResources(String theResourceName, ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId theResourceId, int theRemainingCount) - Specified by:
findHistoricalVersionsOfNonDeletedResources
in interfaceca.uhn.fhir.jpa.dao.expunge.IResourceExpungeService
-
findHistoricalVersionsOfDeletedResources
@Transactional public List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> findHistoricalVersionsOfDeletedResources(String theResourceName, ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId theResourceId, int theRemainingCount) - Specified by:
findHistoricalVersionsOfDeletedResources
in interfaceca.uhn.fhir.jpa.dao.expunge.IResourceExpungeService
-
expungeCurrentVersionOfResources
@Transactional public void expungeCurrentVersionOfResources(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> theResourceIds, AtomicInteger theRemainingCount) - Specified by:
expungeCurrentVersionOfResources
in interfaceca.uhn.fhir.jpa.dao.expunge.IResourceExpungeService
-
expungeHistoricalVersionsOfIds
@Transactional public void expungeHistoricalVersionsOfIds(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> theResourceIds, AtomicInteger theRemainingCount) - Specified by:
expungeHistoricalVersionsOfIds
in interfaceca.uhn.fhir.jpa.dao.expunge.IResourceExpungeService
-
expungeHistoricalVersions
@Transactional public void expungeHistoricalVersions(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> theHistoricalIds, AtomicInteger theRemainingCount) - Specified by:
expungeHistoricalVersions
in interfaceca.uhn.fhir.jpa.dao.expunge.IResourceExpungeService
-
deleteAllSearchParams
@Transactional public void deleteAllSearchParams(ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId theResourceId) - Specified by:
deleteAllSearchParams
in interfaceca.uhn.fhir.jpa.dao.expunge.IResourceExpungeService
-