Class BulkAtomicUpdateProcess
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.bulkatomicupdate.BulkAtomicUpdateProcess
- All Implemented Interfaces:
VitamAutoCloseable
,AutoCloseable
- Direct Known Subclasses:
RevertUpdateUnitPlugin
Update from distribution :
- execute update (bulk metadata)
- compute results : if not updated (because nothing to do) => WARNING/ add batch-report line, if KO/ add batch-report line, if OK to the next
- in case of OK update and store the lfc of the unit with diff and add to batch report
- execute update (bulk metadata)
- compute results : if not updated (because nothing to do) => WARNING/ add batch-report line, if KO/ add batch-report line, if OK to the next
- in case of OK update and store the lfc of the unit with diff and add to batch report
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(WorkerParameters param, HandlerIO handler) Execute an actionexecuteList
(WorkerParameters workerParameters, HandlerIO handler) protected String
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
checkMandatoryIOParameter, checkMandatoryParameters, close, updateDetailItemStatus
-
Field Details
-
BULK_ATOMIC_UPDATE_UNITS_PLUGIN_NAME
- See Also:
-
ORIGINAL_QUERY_ROOT_KEY
- See Also:
-
QUERY_INDEX_KEY
- See Also:
-
-
Constructor Details
-
BulkAtomicUpdateProcess
public BulkAtomicUpdateProcess()
-
-
Method Details
-
execute
Description copied from class:ActionHandler
Execute an action- Overrides:
execute
in classActionHandler
- 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 - Overrides:
executeList
in classActionHandler
- Returns:
- Throws:
ProcessingException
-
getPluginId
-