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
,WorkerAction
,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
checkMandatoryParameters, close, updateDetailItemStatus
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface fr.gouv.vitam.worker.core.api.WorkerAction
checkMandatoryIOParameter, executeList
-
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 interface:WorkerAction
Execute an action- Parameters:
param
-WorkerParameters
handler
- the handlerIo- Returns:
- CompositeItemStatus:response contains a list of functional message and status code
-
generateGotWithDetails
public List<ObjectGroupToDeleteReportEntry> generateGotWithDetails(ObjectGroupResponse objectGroup, DeleteGotVersionsRequest deleteGotVersionsRequest)
-