public abstract class AbstractAccessionRegisterAction extends ActionHandler implements VitamAutoCloseable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractAccessionRegisterAction.AccessionRegisterInfo |
| Constructor and Description |
|---|
AbstractAccessionRegisterAction() |
AbstractAccessionRegisterAction(MetaDataClientFactory metaDataClientFactory,
AdminManagementClientFactory adminManagementClientFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkMandatoryIOParameter(HandlerIO handler)
Check mandatory parameter
|
void |
close() |
ItemStatus |
execute(WorkerParameters params,
HandlerIO handler)
Execute an action
|
protected abstract String |
getHandlerId() |
protected abstract LogbookTypeProcess |
getOperationType() |
protected abstract void |
prepareAccessionRegisterInformation(WorkerParameters params,
HandlerIO handler,
AbstractAccessionRegisterAction.AccessionRegisterInfo accessionRegisterInfo) |
checkMandatoryParameters, updateDetailItemStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteListpublic AbstractAccessionRegisterAction()
public AbstractAccessionRegisterAction(MetaDataClientFactory metaDataClientFactory, AdminManagementClientFactory adminManagementClientFactory)
public ItemStatus execute(WorkerParameters params, HandlerIO handler)
WorkerActionexecute in interface WorkerActionparams - WorkerParametershandler - the handlerIoprotected abstract String getHandlerId()
protected abstract void prepareAccessionRegisterInformation(WorkerParameters params, HandlerIO handler, AbstractAccessionRegisterAction.AccessionRegisterInfo accessionRegisterInfo) throws ProcessingException, InvalidParseOperationException
protected abstract LogbookTypeProcess getOperationType()
public void checkMandatoryIOParameter(HandlerIO handler) throws ProcessingException
WorkerActioncheckMandatoryIOParameter in interface WorkerActionhandler - input output listProcessingException - when handler io is not completepublic void close()
close in interface VitamAutoCloseableclose in interface AutoCloseableclose in class ActionHandlerCopyright © 2019 Vitam. All rights reserved.