
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
FieldsModifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManagerprotected ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeleteAll(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.springframework.transaction.annotation.Propagation propagation, RequestPartitionId requestPartitionId, AtomicInteger counter) voidexpungeEverything(ca.uhn.fhir.rest.api.server.RequestDetails theRequest) intexpungeEverythingByType(Class<?> theEntityType) protected <T> intexpungeEverythingByTypeWithoutPurging(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, Class<T> theEntityType, RequestPartitionId theRequestPartitionId) intint
-
Field Details
-
myEntityManager
-
myInterceptorBroadcaster
-
-
Constructor Details
-
ExpungeEverythingService
public ExpungeEverythingService()
-
-
Method Details
-
expungeEverything
- Specified by:
expungeEverythingin 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:
getExpungeDeletedEntityCountin interfaceIExpungeEverythingService
-
expungeEverythingByTypeWithoutPurging
protected <T> int expungeEverythingByTypeWithoutPurging(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, Class<T> theEntityType, RequestPartitionId theRequestPartitionId) -
expungeEverythingByType
- Specified by:
expungeEverythingByTypein interfaceIExpungeEverythingService
-
expungeEverythingMdmLinks
- Specified by:
expungeEverythingMdmLinksin interfaceIExpungeEverythingService
-