Package fr.gouv.vitam.worker.core.plugin
Class StoreMetaDataUnitActionPlugin
- java.lang.Object
-
- fr.gouv.vitam.worker.core.handler.ActionHandler
-
- fr.gouv.vitam.worker.core.plugin.StoreMetaDataUnitActionPlugin
-
- All Implemented Interfaces:
VitamAutoCloseable
,WorkerAction
,java.lang.AutoCloseable
public class StoreMetaDataUnitActionPlugin extends ActionHandler
Stores MetaData unit plugin.
-
-
Constructor Summary
Constructors Constructor Description StoreMetaDataUnitActionPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkMandatoryIOParameter(HandlerIO handler)
Check mandatory parameterItemStatus
execute(WorkerParameters params, HandlerIO handlerIO)
Execute an actionjava.util.List<ItemStatus>
executeList(WorkerParameters params, HandlerIO handlerIO)
void
storeDocumentsWithLfc(WorkerParameters params, HandlerIO handlerIO, java.util.List<java.lang.String> unitIds)
-
Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatus
-
-
-
-
Method Detail
-
executeList
public java.util.List<ItemStatus> executeList(WorkerParameters params, HandlerIO handlerIO)
- Returns:
-
execute
public ItemStatus execute(WorkerParameters params, HandlerIO handlerIO)
Description copied from interface:WorkerAction
Execute an action- Parameters:
params
-WorkerParameters
handlerIO
- the handlerIo- Returns:
- CompositeItemStatus:response contains a list of functional message and status code
-
checkMandatoryIOParameter
public void checkMandatoryIOParameter(HandlerIO handler) throws ProcessingException
Description copied from interface:WorkerAction
Check mandatory parameter- Parameters:
handler
- input output list- Throws:
ProcessingException
- when handler io is not complete
-
storeDocumentsWithLfc
public void storeDocumentsWithLfc(WorkerParameters params, HandlerIO handlerIO, java.util.List<java.lang.String> unitIds) throws VitamException
- Throws:
VitamException
-
-