Class IngestAccessionRegisterActionHandler
- java.lang.Object
-
- fr.gouv.vitam.worker.core.handler.ActionHandler
-
- fr.gouv.vitam.worker.core.handler.AbstractAccessionRegisterAction
-
- fr.gouv.vitam.worker.core.handler.IngestAccessionRegisterActionHandler
-
- All Implemented Interfaces:
VitamAutoCloseable,WorkerAction,java.lang.AutoCloseable
public class IngestAccessionRegisterActionHandler extends AbstractAccessionRegisterAction
Accession Register Handler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class fr.gouv.vitam.worker.core.handler.AbstractAccessionRegisterAction
AbstractAccessionRegisterAction.AccessionRegisterInfo
-
-
Constructor Summary
Constructors Constructor Description IngestAccessionRegisterActionHandler()Empty Constructor AccessionRegisterActionHandler
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemStatusexecute(WorkerParameters params, HandlerIO handler)Execute an actionprotected java.lang.StringgetHandlerId()static java.lang.StringgetId()protected LogbookTypeProcessgetOperationType()protected voidprepareAccessionRegisterInformation(WorkerParameters params, HandlerIO handler, AbstractAccessionRegisterAction.AccessionRegisterInfo accessionRegisterInfo)-
Methods inherited from class fr.gouv.vitam.worker.core.handler.AbstractAccessionRegisterAction
checkMandatoryIOParameter, close
-
Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, updateDetailItemStatus
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.gouv.vitam.worker.core.api.WorkerAction
executeList
-
-
-
-
Method Detail
-
execute
public ItemStatus execute(WorkerParameters params, HandlerIO handler)
Description copied from interface:WorkerActionExecute an action- Specified by:
executein interfaceWorkerAction- Overrides:
executein classAbstractAccessionRegisterAction- Parameters:
params-WorkerParametershandler- the handlerIo- Returns:
- CompositeItemStatus:response contains a list of functional message and status code
-
prepareAccessionRegisterInformation
protected void prepareAccessionRegisterInformation(WorkerParameters params, HandlerIO handler, AbstractAccessionRegisterAction.AccessionRegisterInfo accessionRegisterInfo) throws ProcessingException, InvalidParseOperationException
- Specified by:
prepareAccessionRegisterInformationin classAbstractAccessionRegisterAction- Throws:
ProcessingExceptionInvalidParseOperationException
-
getHandlerId
protected java.lang.String getHandlerId()
- Specified by:
getHandlerIdin classAbstractAccessionRegisterAction
-
getOperationType
protected LogbookTypeProcess getOperationType()
- Specified by:
getOperationTypein classAbstractAccessionRegisterAction
-
getId
public static java.lang.String getId()
- Returns:
- HANDLER_ID
-
-