Class AccessService
java.lang.Object
fr.gouv.vitam.functionaltest.cucumber.service.AccessService
Access service containing common code for access
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkResultsForParticularData
(com.fasterxml.jackson.databind.JsonNode jsonNode, io.cucumber.datatable.DataTable dataTable) void
checkResultsForParticularData
(List<com.fasterxml.jackson.databind.JsonNode> results, int resultNumber, io.cucumber.datatable.DataTable dataTable) Check in the given result the expected datasfindUnitGUIDByTitleAndOperationId
(AccessExternalClient accessClient, int tenantId, String contractId, String applicationSessionId, String operationId, String auTitle) Search an AU by its tile (unique in sip) and operationId (of the sip operation)
-
Constructor Details
-
AccessService
public AccessService()
-
-
Method Details
-
findUnitGUIDByTitleAndOperationId
public String findUnitGUIDByTitleAndOperationId(AccessExternalClient accessClient, int tenantId, String contractId, String applicationSessionId, String operationId, String auTitle) throws InvalidCreateOperationException, VitamClientException Search an AU by its tile (unique in sip) and operationId (of the sip operation)- Parameters:
accessClient
- access clienttenantId
- tenant idcontractId
- access contract idapplicationSessionId
- application session idoperationId
- logbook operation idauTitle
- au title- Returns:
- AU GUID
- Throws:
InvalidCreateOperationException
- exceptionVitamClientException
- exception
-
checkResultsForParticularData
public void checkResultsForParticularData(List<com.fasterxml.jackson.databind.JsonNode> results, int resultNumber, io.cucumber.datatable.DataTable dataTable) throws Throwable Check in the given result the expected datas- Parameters:
results
- all resultsresultNumber
- index of resultdataTable
- expected datas- Throws:
Throwable
-
checkResultsForParticularData
public void checkResultsForParticularData(com.fasterxml.jackson.databind.JsonNode jsonNode, io.cucumber.datatable.DataTable dataTable) throws Throwable - Throws:
Throwable
-