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, updateDetailItemStatus
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeList
public AbstractAccessionRegisterAction()
public AbstractAccessionRegisterAction(MetaDataClientFactory metaDataClientFactory, AdminManagementClientFactory adminManagementClientFactory)
public ItemStatus execute(WorkerParameters params, HandlerIO handler)
WorkerAction
execute
in interface WorkerAction
params
- WorkerParameters
handler
- 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
WorkerAction
checkMandatoryIOParameter
in interface WorkerAction
handler
- input output listProcessingException
- when handler io is not completepublic void close()
close
in interface VitamAutoCloseable
close
in interface AutoCloseable
close
in class ActionHandler
Copyright © 2019 Vitam. All rights reserved.