Class AccessService


  • public class AccessService
    extends java.lang.Object
    Access 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
      void checkResultsForParticularData​(com.fasterxml.jackson.databind.JsonNode jsonNode, cucumber.api.DataTable dataTable)  
      void checkResultsForParticularData​(java.util.List<com.fasterxml.jackson.databind.JsonNode> results, int resultNumber, cucumber.api.DataTable dataTable)
      Check in the given result the expected datas
      java.lang.String findUnitGUIDByTitleAndOperationId​(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)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AccessService

        public AccessService()
    • 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 client
        tenantId - tenant id
        contractId - access contract id
        applicationSessionId - application session id
        operationId - logbook operation id
        auTitle - au title
        Returns:
        AU GUID
        Throws:
        InvalidCreateOperationException - exception
        VitamClientException - exception
      • checkResultsForParticularData

        public void checkResultsForParticularData​(java.util.List<com.fasterxml.jackson.databind.JsonNode> results,
                                                  int resultNumber,
                                                  cucumber.api.DataTable dataTable)
                                           throws java.lang.Throwable
        Check in the given result the expected datas
        Parameters:
        results - all results
        resultNumber - index of result
        dataTable - 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