Class LogbookService
- java.lang.Object
-
- fr.gouv.vitam.functionaltest.cucumber.service.LogbookService
-
public class LogbookService extends java.lang.Object
Logbook service containing common code for logbook
-
-
Constructor Summary
Constructors Constructor Description LogbookService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogbookEventOperation
checkFinalStatusLogbook(AccessExternalClient accessClient, int tenantId, java.lang.String contractId, java.lang.String applicationSessionId, java.lang.String operationId, java.lang.String status)
check on logbook if the global status is OK (status of the last event, if last event is correct)RequestResponse<LogbookOperation>
getLogbookOperation(AccessExternalClient accessClient, int tenantId, java.lang.String contractId, java.lang.String applicationSessionId, java.lang.String operationId)
Get a Logbook operation by its id
-
-
-
Method Detail
-
getLogbookOperation
public RequestResponse<LogbookOperation> getLogbookOperation(AccessExternalClient accessClient, int tenantId, java.lang.String contractId, java.lang.String applicationSessionId, java.lang.String operationId) throws VitamClientException
Get a Logbook operation by its id- Parameters:
accessClient
- access clienttenantId
- tenant idcontractId
- access contract idapplicationSessionId
- application session idoperationId
- logbook operation id- Returns:
- RequestResponse
- Throws:
VitamClientException
- exception
-
checkFinalStatusLogbook
public LogbookEventOperation checkFinalStatusLogbook(AccessExternalClient accessClient, int tenantId, java.lang.String contractId, java.lang.String applicationSessionId, java.lang.String operationId, java.lang.String status) throws VitamClientException
check on logbook if the global status is OK (status of the last event, if last event is correct)- Parameters:
accessClient
- access clienttenantId
- tenant idcontractId
- access contract idapplicationSessionId
- application session idoperationId
- logbook operation idstatus
- expected status- Throws:
VitamClientException
- exception
-
-