Class AccessService
- java.lang.Object
-
- fr.gouv.vitam.functionaltest.cucumber.service.AccessService
-
public class AccessService extends java.lang.ObjectAccess service containing common code for access
-
-
Constructor Summary
Constructors Constructor Description AccessService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckResultsForParticularData(com.fasterxml.jackson.databind.JsonNode jsonNode, cucumber.api.DataTable dataTable)voidcheckResultsForParticularData(java.util.List<com.fasterxml.jackson.databind.JsonNode> results, int resultNumber, cucumber.api.DataTable dataTable)Check in the given result the expected datasjava.lang.StringfindUnitGUIDByTitleAndOperationId(AccessExternalClient accessClient, int tenantId, java.lang.String contractId, java.lang.String applicationSessionId, java.lang.String operationId, java.lang.String auTitle)Search an AU by its tile (unique in sip) and operationId (of the sip operation)
-
-
-
Method Detail
-
findUnitGUIDByTitleAndOperationId
public java.lang.String findUnitGUIDByTitleAndOperationId(AccessExternalClient accessClient, int tenantId, java.lang.String contractId, java.lang.String applicationSessionId, java.lang.String operationId, java.lang.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(java.util.List<com.fasterxml.jackson.databind.JsonNode> results, int resultNumber, cucumber.api.DataTable dataTable) throws java.lang.ThrowableCheck in the given result the expected datas- Parameters:
results- all resultsresultNumber- index of resultdataTable- expected datas- Throws:
java.lang.Throwable
-
checkResultsForParticularData
public void checkResultsForParticularData(com.fasterxml.jackson.databind.JsonNode jsonNode, cucumber.api.DataTable dataTable) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-