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,AutoCloseable
- Direct Known Subclasses:
PreservationStorageMetadataAndLfc
Stores MetaData object group plugin.
-
Constructor Summary
ConstructorsConstructorDescriptionStoreMetaDataObjectGroupActionPlugin(MetaDataClientFactory metaDataClientFactory, LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory, StorageClientFactory storageClientFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckMandatoryIOParameter(HandlerIO handler) Check mandatory parameterexecute(WorkerParameters params, HandlerIO handlerIO) Execute an actionexecuteList(WorkerParameters params, HandlerIO handlerIO) voidstoreDocumentsWithLfc(WorkerParameters params, HandlerIO handlerIO, List<String> objectGroupIds) Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatus
-
Constructor Details
-
StoreMetaDataObjectGroupActionPlugin
public StoreMetaDataObjectGroupActionPlugin() -
StoreMetaDataObjectGroupActionPlugin
public StoreMetaDataObjectGroupActionPlugin(MetaDataClientFactory metaDataClientFactory, LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory, StorageClientFactory storageClientFactory)
-
-
Method Details
-
executeList
- Overrides:
executeListin classActionHandler- Returns:
-
execute
Description copied from class:ActionHandlerExecute an action- Overrides:
executein classActionHandler- Parameters:
params-WorkerParametershandlerIO- the handlerIo- Returns:
- CompositeItemStatus:response contains a list of functional message and status code
-
checkMandatoryIOParameter
Description copied from class:ActionHandlerCheck mandatory parameter- Overrides:
checkMandatoryIOParameterin classActionHandler- Parameters:
handler- input output list- Throws:
ProcessingException- when handler io is not complete
-
storeDocumentsWithLfc
public void storeDocumentsWithLfc(WorkerParameters params, HandlerIO handlerIO, List<String> objectGroupIds) throws VitamException - Throws:
VitamException
-