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 ItemStatus
execute(WorkerParameters params, HandlerIO handler)
Execute an actionprotected java.lang.String
getHandlerId()
static java.lang.String
getId()
protected LogbookTypeProcess
getOperationType()
protected void
prepareAccessionRegisterInformation(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:WorkerAction
Execute an action- Specified by:
execute
in interfaceWorkerAction
- Overrides:
execute
in classAbstractAccessionRegisterAction
- Parameters:
params
-WorkerParameters
handler
- 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:
prepareAccessionRegisterInformation
in classAbstractAccessionRegisterAction
- Throws:
ProcessingException
InvalidParseOperationException
-
getHandlerId
protected java.lang.String getHandlerId()
- Specified by:
getHandlerId
in classAbstractAccessionRegisterAction
-
getOperationType
protected LogbookTypeProcess getOperationType()
- Specified by:
getOperationType
in classAbstractAccessionRegisterAction
-
getId
public static java.lang.String getId()
- Returns:
- HANDLER_ID
-
-