Class MassUpdateUnitsProcess
java.lang.Object
fr.gouv.vitam.worker.core.handler.ActionHandler
fr.gouv.vitam.worker.core.plugin.StoreObjectActionHandler
fr.gouv.vitam.worker.core.plugin.StoreMetadataObjectActionHandler
fr.gouv.vitam.worker.core.plugin.massprocessing.description.MassUpdateUnitsProcess
- All Implemented Interfaces:
VitamAutoCloseable
,WorkerAction
,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMassUpdateUnitsProcess
(MetaDataClientFactory metaDataClientFactory, LogbookLifeCyclesClientFactory lfcClientFactory, StorageClientFactory storageClientFactory, BatchReportClientFactory batchReportClientFactory) -
Method Summary
Modifier and TypeMethodDescriptionexecute
(WorkerParameters param, HandlerIO handler) Execute an actionexecuteList
(WorkerParameters workerParameters, HandlerIO handler) Methods inherited from class fr.gouv.vitam.worker.core.plugin.StoreMetadataObjectActionHandler
getRawLogbookLifeCycleById, selectMetadataDocumentRawById
Methods inherited from class fr.gouv.vitam.worker.core.plugin.StoreObjectActionHandler
storeObject, storeObjects, storeStorageInfos, updateSubTasksAndTasksFromStorageInfos
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
-
Field Details
-
MASS_UPDATE_UNITS
- See Also:
-
-
Constructor Details
-
MassUpdateUnitsProcess
public MassUpdateUnitsProcess() -
MassUpdateUnitsProcess
public MassUpdateUnitsProcess(MetaDataClientFactory metaDataClientFactory, LogbookLifeCyclesClientFactory lfcClientFactory, StorageClientFactory storageClientFactory, BatchReportClientFactory batchReportClientFactory)
-
-
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
- Throws:
ProcessingException
- if an error is encountered when executing the action
-
executeList
public List<ItemStatus> executeList(WorkerParameters workerParameters, HandlerIO handler) throws ProcessingException - Returns:
- Throws:
ProcessingException
-