Class MigrationUnits
- 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.migration.MigrationUnits
-
- All Implemented Interfaces:
VitamAutoCloseable,WorkerAction,java.lang.AutoCloseable
public class MigrationUnits extends StoreMetadataObjectActionHandler
MigrationUnits class
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringLFC_UPDATE_MIGRATION_UNITS
-
Constructor Summary
Constructors Constructor Description MigrationUnits()MigrationUnits(MetaDataClientFactory metaDataClientFactory, LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory, StorageClientFactory storageClientFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemStatusexecute(WorkerParameters param, HandlerIO handler)Execute an actionjava.util.List<ItemStatus>executeList(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 Detail
-
LFC_UPDATE_MIGRATION_UNITS
public static final java.lang.String LFC_UPDATE_MIGRATION_UNITS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MigrationUnits
public MigrationUnits(MetaDataClientFactory metaDataClientFactory, LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory, StorageClientFactory storageClientFactory)
-
MigrationUnits
public MigrationUnits()
-
-
Method Detail
-
execute
public ItemStatus execute(WorkerParameters param, HandlerIO handler) throws ProcessingException
Description copied from interface:WorkerActionExecute an action- 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
-
executeList
public java.util.List<ItemStatus> executeList(WorkerParameters workerParameters, HandlerIO handler) throws ProcessingException
- Returns:
- Throws:
ProcessingException
-
-