public class MassUpdateUnitsRulesProcess extends StoreMetadataObjectActionHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
STRATEGY_ID |
DEFAULT_STRATEGY| Constructor and Description |
|---|
MassUpdateUnitsRulesProcess() |
MassUpdateUnitsRulesProcess(MetaDataClientFactory metaDataClientFactory,
LogbookLifeCyclesClientFactory lfcClientFactory,
StorageClientFactory storageClientFactory,
AdminManagementClientFactory adminManagementClientFactory,
BatchReportClientFactory batchReportClientFactory) |
| Modifier and Type | Method and Description |
|---|---|
ItemStatus |
execute(WorkerParameters param,
HandlerIO handler)
Execute an action
|
List<ItemStatus> |
executeList(WorkerParameters workerParameters,
HandlerIO handler)
executeList for bulk update units.
|
protected void |
saveUnitWithLfc(MetaDataClient mdClient,
LogbookLifeCyclesClient lfcClient,
StorageClient storageClient,
HandlerIO handler,
WorkerParameters params,
String guid,
String fileName)
Store Unit with LFC by storing UNIT+LFC in workspace then storing in offers.
|
getRawLogbookLifeCycleById, selectMetadataDocumentRawByIddetailsFromStorageInfo, storeObject, storeStorageInfocheckMandatoryParameters, close, updateDetailItemStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckMandatoryIOParameterpublic static final String STRATEGY_ID
public MassUpdateUnitsRulesProcess()
public MassUpdateUnitsRulesProcess(MetaDataClientFactory metaDataClientFactory, LogbookLifeCyclesClientFactory lfcClientFactory, StorageClientFactory storageClientFactory, AdminManagementClientFactory adminManagementClientFactory, BatchReportClientFactory batchReportClientFactory)
public ItemStatus execute(WorkerParameters param, HandlerIO handler) throws ProcessingException, ContentAddressableStorageServerException
param - WorkerParametershandler - the handlerIoProcessingException - if an error is encountered when executing the actionContentAddressableStorageServerException - if a storage exception is encountered when executing the actionpublic List<ItemStatus> executeList(WorkerParameters workerParameters, HandlerIO handler) throws ProcessingException
workerParameters - handler - ProcessingExceptionprotected void saveUnitWithLfc(MetaDataClient mdClient, LogbookLifeCyclesClient lfcClient, StorageClient storageClient, HandlerIO handler, WorkerParameters params, String guid, String fileName) throws VitamException
mdClient - metadataClientlfcClient - logbook lifecycle clientstorageClient - storage clienthandler - handler IOparams - handler parametersguid - unit guidfileName - stored unit file nameVitamException - when an error occursCopyright © 2021 Vitam. All rights reserved.