public class GenerateAuditReportActionHandler extends ActionHandler
| Constructor and Description |
|---|
GenerateAuditReportActionHandler() |
GenerateAuditReportActionHandler(StorageClientFactory storageClientFactory,
AdminManagementClientFactory adminManagementClientFactory,
LogbookOperationsClientFactory logbookOperationsClientFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkMandatoryIOParameter(HandlerIO handler)
Check mandatory parameter
|
ItemStatus |
execute(WorkerParameters param,
HandlerIO handler)
Execute an action
|
static String |
getId() |
void |
storeAuditReport(HandlerIO handlerIO,
String guid,
InputStream report) |
checkMandatoryParameters, close, updateDetailItemStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteListpublic GenerateAuditReportActionHandler()
public GenerateAuditReportActionHandler(StorageClientFactory storageClientFactory, AdminManagementClientFactory adminManagementClientFactory, LogbookOperationsClientFactory logbookOperationsClientFactory)
public ItemStatus execute(WorkerParameters param, HandlerIO handler) throws ProcessingException, ContentAddressableStorageServerException
WorkerActionparam - WorkerParametershandler - the handlerIoProcessingException - if an error is encountered when executing the actionContentAddressableStorageServerException - if a storage exception is encountered when executing the actionpublic void checkMandatoryIOParameter(HandlerIO handler) throws ProcessingException
WorkerActionhandler - input output listProcessingException - when handler io is not completepublic static final String getId()
public void storeAuditReport(HandlerIO handlerIO, String guid, InputStream report) throws InvalidParseOperationException, ContentAddressableStorageServerException, StorageAlreadyExistsClientException, StorageNotFoundClientException, StorageServerClientException, ContentAddressableStorageNotFoundException
Copyright © 2020 Vitam. All rights reserved.