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
      java.util.List<StatusByAccessRequest> checkAccessRequestStatuses​(java.util.List<AccessRequestReference> accessRequestReferences)  
      void checkClassificationLevel​(com.fasterxml.jackson.databind.JsonNode query)
      check ClassificationLevel in update Unit
      java.util.Optional<AccessRequestReference> createObjectAccessRequestIfRequired​(java.lang.String idObjectGroup, java.lang.String qualifier, int version)  
      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
      void removeAccessRequest​(java.lang.String storageStrategyId, java.lang.String accessRequestId)  
      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
      javax.ws.rs.core.Response streamUnits​(com.fasterxml.jackson.databind.JsonNode applyAccessContractRestrictionForUnitForSelect)  
      com.fasterxml.jackson.databind.JsonNode updateUnitById​(com.fasterxml.jackson.databind.JsonNode queryJson, java.lang.String idUnit, java.lang.String requestId)
      update Unit by id