Package ca.uhn.fhir.jpa.dao.expunge
Class ExpungeEverythingService
java.lang.Object
ca.uhn.fhir.jpa.dao.expunge.ExpungeEverythingService
- All Implemented Interfaces:
IExpungeEverythingService
-
Field Summary
Modifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManager
protected ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
deleteAll
(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.springframework.transaction.annotation.Propagation propagation, RequestPartitionId requestPartitionId, AtomicInteger counter) void
expungeEverything
(ca.uhn.fhir.rest.api.server.RequestDetails theRequest) int
expungeEverythingByType
(Class<?> theEntityType) protected <T> int
expungeEverythingByTypeWithoutPurging
(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, Class<T> theEntityType, RequestPartitionId theRequestPartitionId) int
int
-
Field Details
-
myEntityManager
-
myInterceptorBroadcaster
-
-
Constructor Details
-
ExpungeEverythingService
public ExpungeEverythingService()
-
-
Method Details
-
expungeEverything
- Specified by:
expungeEverything
in interfaceIExpungeEverythingService
-
deleteAll
protected void deleteAll(@Nullable ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.springframework.transaction.annotation.Propagation propagation, RequestPartitionId requestPartitionId, AtomicInteger counter) -
getExpungeDeletedEntityCount
- Specified by:
getExpungeDeletedEntityCount
in interfaceIExpungeEverythingService
-
expungeEverythingByTypeWithoutPurging
protected <T> int expungeEverythingByTypeWithoutPurging(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, Class<T> theEntityType, RequestPartitionId theRequestPartitionId) -
expungeEverythingByType
- Specified by:
expungeEverythingByType
in interfaceIExpungeEverythingService
-
expungeEverythingMdmLinks
- Specified by:
expungeEverythingMdmLinks
in interfaceIExpungeEverythingService
-