public class CommitLifeCycleObjectGroupActionHandler extends CommitLifeCycleActionHandler
Constructor and Description |
---|
CommitLifeCycleObjectGroupActionHandler() |
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, execute
checkMandatoryParameters, close, updateDetailItemStatus
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
lfcHandledInternally
public CommitLifeCycleObjectGroupActionHandler()
public static final String getId()
public void commitLifeCycle(HandlerIO handlerIO, String objectID, String operationId) throws LogbookClientBadRequestException, LogbookClientNotFoundException, LogbookClientServerException
CommitLifeCycleActionHandler
commitLifeCycle
in class CommitLifeCycleActionHandler
handlerIO
- a HandlerIO instanceobjectID
- the object id to commitoperationId
- the operation idLogbookClientBadRequestException
- 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()
CommitLifeCycleActionHandler
getItemStatus
in class CommitLifeCycleActionHandler
public ItemStatus buildFinalItemStatus(ItemStatus itemStatus)
CommitLifeCycleActionHandler
buildFinalItemStatus
in class CommitLifeCycleActionHandler
itemStatus
- a given ItemStatusCopyright © 2018 Vitam. All rights reserved.