public class CommitLifeCycleUnitActionHandler extends CommitLifeCycleActionHandler
| Constructor and Description |
|---|
CommitLifeCycleUnitActionHandler() |
| Modifier and Type | Method and Description |
|---|---|
ItemStatus |
buildFinalItemStatus(ItemStatus itemStatus)
Returns the final ItemStatus related to the current actionHandler execution based on a given one
|
void |
commitLifeCycle(HandlerIO handlerIO,
String objectID,
String operationId)
Runs a commit process for the given object (Unit or ObjectGroup) and a given operation
|
static String |
getId() |
ItemStatus |
getItemStatus()
Returns an ItemStatus
|
checkMandatoryIOParameter, executecheckMandatoryParameters, close, updateDetailItemStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlfcHandledInternallypublic static final String getId()
public void commitLifeCycle(HandlerIO handlerIO, String objectID, String operationId) throws ProcessingException, LogbookClientBadRequestException, LogbookClientNotFoundException, LogbookClientServerException
CommitLifeCycleActionHandlercommitLifeCycle in class CommitLifeCycleActionHandlerhandlerIO - a HandlerIO instanceobjectID - the object id to commitoperationId - the operation idProcessingException - if processing exception occurred when commit unit lifecycleLogbookClientBadRequestException - 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 lifecyclepublic ItemStatus getItemStatus()
CommitLifeCycleActionHandlergetItemStatus in class CommitLifeCycleActionHandlerpublic ItemStatus buildFinalItemStatus(ItemStatus itemStatus)
CommitLifeCycleActionHandlerbuildFinalItemStatus in class CommitLifeCycleActionHandleritemStatus - a given ItemStatusCopyright © 2018 Vitam. All rights reserved.