Class CollectDeletionUnitPreparationHandler
java.lang.Object
fr.gouv.vitam.worker.core.handler.ActionHandler
fr.gouv.vitam.worker.core.plugin.elimination.EliminationActionUnitPreparationHandlerBase
fr.gouv.vitam.worker.core.plugin.deletion.CollectDeletionUnitPreparationHandler
- All Implemented Interfaces:
VitamAutoCloseable,AutoCloseable
public class CollectDeletionUnitPreparationHandler
extends EliminationActionUnitPreparationHandlerBase
Collect Deletion unit preparation handler.
-
Field Summary
Fields inherited from class fr.gouv.vitam.worker.core.plugin.elimination.EliminationActionUnitPreparationHandlerBase
COULD_NOT_PARSE_DATE_FROM_REQUEST, COULD_NOT_PARSE_DSL_REQUEST, DATE_REQUEST_IN_FUTURE, PERSISTENT_IDENTIFIER, REQUEST_JSON, UNITS_TO_DELETE_FILE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckMandatoryIOParameter(HandlerIO handler) Check mandatory parameterexecute(WorkerParameters param, HandlerIO handler) Execute an actionstatic StringgetId()Methods inherited from class fr.gouv.vitam.worker.core.plugin.elimination.EliminationActionUnitPreparationHandlerBase
executeUnitPreparation, getRequestMethods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, executeList, updateDetailItemStatus
-
Constructor Details
-
CollectDeletionUnitPreparationHandler
public CollectDeletionUnitPreparationHandler()Default constructor
-
-
Method Details
-
execute
Description copied from class:ActionHandlerExecute an action- Overrides:
executein classActionHandler- Parameters:
param-WorkerParametershandler- the handlerIo- Returns:
- CompositeItemStatus:response contains a list of functional message and status code
- Throws:
ProcessingException- if an error is encountered when executing the action
-
checkMandatoryIOParameter
Description copied from class:ActionHandlerCheck mandatory parameter- Overrides:
checkMandatoryIOParameterin classActionHandler- Parameters:
handler- input output list- Throws:
ProcessingException- when handler io is not complete
-
getId
-