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 Details

  • 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 interface ca.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 interface ca.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 interface ca.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 interface ca.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 interface ca.uhn.fhir.jpa.dao.expunge.IResourceExpungeService
    • deleteAllSearchParams

      @Transactional public void deleteAllSearchParams(ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId theResourceId)
      Specified by:
      deleteAllSearchParams in interface ca.uhn.fhir.jpa.dao.expunge.IResourceExpungeService