Class PreservationAccessionRegisterActionHandler
- java.lang.Object
-
- fr.gouv.vitam.worker.core.handler.ActionHandler
-
- fr.gouv.vitam.worker.core.handler.AbstractAccessionRegisterAction
-
- fr.gouv.vitam.worker.core.plugin.preservation.PreservationAccessionRegisterActionHandler
-
- All Implemented Interfaces:
VitamAutoCloseable
,WorkerAction
,java.lang.AutoCloseable
public class PreservationAccessionRegisterActionHandler 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 PreservationAccessionRegisterActionHandler()
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
-
getHandlerId
protected java.lang.String getHandlerId()
- Specified by:
getHandlerId
in classAbstractAccessionRegisterAction
-
prepareAccessionRegisterInformation
protected void prepareAccessionRegisterInformation(WorkerParameters params, HandlerIO handler, AbstractAccessionRegisterAction.AccessionRegisterInfo accessionRegisterInfo) throws ProcessingException, InvalidParseOperationException
- Specified by:
prepareAccessionRegisterInformation
in classAbstractAccessionRegisterAction
- Throws:
ProcessingException
InvalidParseOperationException
-
getOperationType
protected LogbookTypeProcess getOperationType()
- Specified by:
getOperationType
in classAbstractAccessionRegisterAction
-
getId
public static java.lang.String getId()
- Returns:
- HANDLER_ID
-
-