Package fr.gouv.vitam.worker.core.plugin
Class StoreMetaDataObjectGroupActionPlugin
- java.lang.Object
-
- fr.gouv.vitam.worker.core.handler.ActionHandler
-
- fr.gouv.vitam.worker.core.plugin.StoreMetaDataObjectGroupActionPlugin
-
- All Implemented Interfaces:
VitamAutoCloseable
,WorkerAction
,java.lang.AutoCloseable
- Direct Known Subclasses:
PreservationStorageMetadataAndLfc
public class StoreMetaDataObjectGroupActionPlugin extends ActionHandler
Stores MetaData object group plugin.
-
-
Constructor Summary
Constructors Constructor Description StoreMetaDataObjectGroupActionPlugin()
StoreMetaDataObjectGroupActionPlugin(MetaDataClientFactory metaDataClientFactory, LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory, StorageClientFactory storageClientFactory)
-
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> objectGroupIds)
-
Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatus
-
-
-
-
Constructor Detail
-
StoreMetaDataObjectGroupActionPlugin
public StoreMetaDataObjectGroupActionPlugin()
-
StoreMetaDataObjectGroupActionPlugin
public StoreMetaDataObjectGroupActionPlugin(MetaDataClientFactory metaDataClientFactory, LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory, StorageClientFactory storageClientFactory)
-
-
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> objectGroupIds) throws VitamException
- Throws:
VitamException
-
-