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 TypeMethodDescriptionvoid
checkMandatoryIOParameter
(HandlerIO handler) Check mandatory parameterexecute
(WorkerParameters params, HandlerIO handlerIO) Execute an actionexecuteList
(WorkerParameters params, HandlerIO handlerIO) void
storeDocumentsWithLfc
(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:
executeList
in classActionHandler
- Returns:
-
execute
Description copied from class:ActionHandler
Execute an action- Overrides:
execute
in classActionHandler
- Parameters:
params
-WorkerParameters
handlerIO
- the handlerIo- Returns:
- CompositeItemStatus:response contains a list of functional message and status code
-
checkMandatoryIOParameter
Description copied from class:ActionHandler
Check mandatory parameter- Overrides:
checkMandatoryIOParameter
in 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
-