Package ca.uhn.fhir.jpa.delete.job
Class DeleteExpungeProcessor
java.lang.Object
ca.uhn.fhir.jpa.delete.job.DeleteExpungeProcessor
public class DeleteExpungeProcessor
extends Object
implements org.springframework.batch.item.ItemProcessor<List<Long>,List<String>>
Input: list of pids of resources to be deleted and expunged
Output: list of sql statements to be executed
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
findResourceLinksWithTargetPidIn
(List<Long> theAllTargetPids, List<Long> theSomeTargetPids, List<ResourceLink> theConflictResourceLinks) void
validateOkToDeleteAndExpunge
(org.springframework.data.domain.Slice<Long> thePids)
-
Field Details
-
PROCESS_NAME
- See Also:
-
THREAD_PREFIX
- See Also:
-
-
Constructor Details
-
DeleteExpungeProcessor
public DeleteExpungeProcessor()
-
-
Method Details
-
process
-
validateOkToDeleteAndExpunge
-
findResourceLinksWithTargetPidIn
public void findResourceLinksWithTargetPidIn(List<Long> theAllTargetPids, List<Long> theSomeTargetPids, List<ResourceLink> theConflictResourceLinks)
-