Class PurgeUnitVitamPlugin
java.lang.Object
fr.gouv.vitam.worker.core.handler.ActionHandler
fr.gouv.vitam.worker.core.plugin.purge.PurgeUnitPlugin
fr.gouv.vitam.worker.core.plugin.purge.PurgeUnitVitamPlugin
- All Implemented Interfaces:
VitamAutoCloseable
,AutoCloseable
- Direct Known Subclasses:
EliminationActionDeleteUnitPlugin
,TransferReplyDeleteUnitPlugin
Purge unit plugin.
-
Field Summary
Fields inherited from class fr.gouv.vitam.worker.core.plugin.purge.PurgeUnitPlugin
ARCHIVAL_AGENCY_IDENTIFIER
-
Constructor Summary
ConstructorsModifierConstructorDescriptionPurgeUnitVitamPlugin
(String actionId) Default constructorprotected
PurgeUnitVitamPlugin
(String actionId, PurgeDeleteService purgeDeleteService, PurgeReportService purgeReportService, LogbookLifeCyclesClientFactory llfcClientFactory) Test only constructor -
Method Summary
Methods inherited from class fr.gouv.vitam.worker.core.plugin.purge.PurgeUnitPlugin
checkMandatoryIOParameter, execute, executeList, extractPersistentIdentifiersFromUnit, mapJsonToPersistentIdentifierModel
Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatus
-
Constructor Details
-
PurgeUnitVitamPlugin
Default constructor- Parameters:
actionId
-
-
PurgeUnitVitamPlugin
protected PurgeUnitVitamPlugin(String actionId, PurgeDeleteService purgeDeleteService, PurgeReportService purgeReportService, LogbookLifeCyclesClientFactory llfcClientFactory) Test only constructor
-
-
Method Details
-
deleteUnit
public void deleteUnit(Map<String, com.fasterxml.jackson.databind.JsonNode> unitsById, Set<String> unitsToDelete, HandlerIO handler) throws ProcessingStatusException- Specified by:
deleteUnit
in classPurgeUnitPlugin
- Throws:
ProcessingStatusException
-