Interface AccessInternalModule

  • All Known Implementing Classes:
    AccessInternalModuleImpl

    public interface AccessInternalModule
    AccessModule interface for database operations in select
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void checkClassificationLevel​(com.fasterxml.jackson.databind.JsonNode query)
      check ClassificationLevel in update Unit
      javax.ws.rs.core.Response findDIPByOperationId​(java.lang.String id)
      retrieve a DIP file according to an operationId
      javax.ws.rs.core.Response findTransferSIPByOperationId​(java.lang.String id)
      retrieve a SIP file according to an operationId
      javax.ws.rs.core.Response getAccessLog​(com.fasterxml.jackson.databind.JsonNode params)
      Retrieve all accessLog by the concatenation of all accesslog files as InputStream
      javax.ws.rs.core.Response getOneObjectFromObjectGroup​(java.lang.String idObjectGroup, java.lang.String qualifier, int version, java.lang.String idUnit)
      Retrieve an object as InputStream based on the associated ObjectGroupId and qualifier + version requested
      com.fasterxml.jackson.databind.JsonNode selectObjectGroupById​(com.fasterxml.jackson.databind.JsonNode queryJson, java.lang.String idObjectGroup)
      Retrieve an ObjectGroup by its id with results fields filtered based on given query
      com.fasterxml.jackson.databind.JsonNode selectObjects​(com.fasterxml.jackson.databind.JsonNode queryJson)
      select Objects Group based on DSL query
      com.fasterxml.jackson.databind.JsonNode selectUnit​(com.fasterxml.jackson.databind.JsonNode queryJson)
      select Unit
      com.fasterxml.jackson.databind.JsonNode selectUnitbyId​(com.fasterxml.jackson.databind.JsonNode queryJson, java.lang.String idUnit)
      select Unit by id
      com.fasterxml.jackson.databind.JsonNode selectUnitsWithInheritedRules​(com.fasterxml.jackson.databind.JsonNode jsonQuery)
      Select units by DSL and computes inherited rules for matching units
      com.fasterxml.jackson.databind.JsonNode updateUnitById​(com.fasterxml.jackson.databind.JsonNode queryJson, java.lang.String idUnit, java.lang.String requestId)
      update Unit by id