Class DeleteGotVersionsPreparationPlugin
java.lang.Object
fr.gouv.vitam.worker.core.handler.ActionHandler
fr.gouv.vitam.worker.core.plugin.deleteGotVersions.handlers.DeleteGotVersionsPreparationPlugin
- All Implemented Interfaces:
VitamAutoCloseable,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeleteGotVersionsPreparationPlugin(MetaDataClientFactory metaDataClientFactory, DeleteGotVersionsReportService reportService) -
Method Summary
Modifier and TypeMethodDescriptionexecute(WorkerParameters param, HandlerIO handler) Execute an actiongenerateGotWithDetails(ObjectGroupResponse objectGroup, DeleteGotVersionsRequest deleteGotVersionsRequest) Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryIOParameter, checkMandatoryParameters, close, executeList, updateDetailItemStatus
-
Field Details
-
FIRST_BINARY_MASTER
-
FIRST_PHYSICAL_MASTER
-
DISTRIBUTION_FILE_OG
- See Also:
-
-
Constructor Details
-
DeleteGotVersionsPreparationPlugin
public DeleteGotVersionsPreparationPlugin() -
DeleteGotVersionsPreparationPlugin
public DeleteGotVersionsPreparationPlugin(MetaDataClientFactory metaDataClientFactory, DeleteGotVersionsReportService reportService)
-
-
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
-
generateGotWithDetails
public List<ObjectGroupToDeleteReportEntry> generateGotWithDetails(ObjectGroupResponse objectGroup, DeleteGotVersionsRequest deleteGotVersionsRequest)
-