Class CommitLifeCycleObjectGroupActionHandler
java.lang.Object
fr.gouv.vitam.worker.core.handler.ActionHandler
fr.gouv.vitam.worker.core.handler.CommitLifeCycleActionHandler
fr.gouv.vitam.worker.core.handler.CommitLifeCycleObjectGroupActionHandler
- All Implemented Interfaces:
VitamAutoCloseable,AutoCloseable
CommitLifeCycleObjectGroup Handler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildFinalItemStatus(ItemStatus itemStatus) Returns the final ItemStatus related to the current actionHandler execution based on a given onevoidcommitLifeCycle(HandlerIO handlerIO, String objectID, String operationId) Runs a commit process for the given object (Unit or ObjectGroup) and a given operationstatic final StringgetId()Returns an ItemStatusMethods inherited from class fr.gouv.vitam.worker.core.handler.CommitLifeCycleActionHandler
checkMandatoryIOParameter, executeMethods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, executeList, updateDetailItemStatus
-
Constructor Details
-
CommitLifeCycleObjectGroupActionHandler
public CommitLifeCycleObjectGroupActionHandler()
-
-
Method Details
-
getId
- Returns:
- HANDLER_ID
-
commitLifeCycle
public void commitLifeCycle(HandlerIO handlerIO, String objectID, String operationId) throws LogbookClientBadRequestException, LogbookClientNotFoundException, LogbookClientServerException Description copied from class:CommitLifeCycleActionHandlerRuns a commit process for the given object (Unit or ObjectGroup) and a given operation- Specified by:
commitLifeCyclein classCommitLifeCycleActionHandler- Parameters:
handlerIO- a HandlerIO instanceobjectID- the object id to commitoperationId- the operation id- Throws:
LogbookClientBadRequestException- if the argument is incorrect when commit unit lifecycleLogbookClientNotFoundException- if the element was not created before when commit unit lifecycleLogbookClientServerException- if the Server got an internal error when commit unit lifecycle
-
getItemStatus
Description copied from class:CommitLifeCycleActionHandlerReturns an ItemStatus- Specified by:
getItemStatusin classCommitLifeCycleActionHandler- Returns:
- an ItemStatus
-
buildFinalItemStatus
Description copied from class:CommitLifeCycleActionHandlerReturns the final ItemStatus related to the current actionHandler execution based on a given one- Specified by:
buildFinalItemStatusin classCommitLifeCycleActionHandler- Parameters:
itemStatus- a given ItemStatus- Returns:
- the final ActionHandler ItemStatus
-