Interface DataHubFacade

All Known Implementing Classes:
ImpexDataImportClient

public interface DataHubFacade
A facade for communicating with the Data Hub.
  • Method Details

    • readData

      InputStream readData(String resource, Map<String,?> parameters)
      Requests data from the Data Hub.
      Parameters:
      resource - identifies what data should be retrieved.
      parameters - specifies parameters for the resource data retrieval.
      Returns:
      an input stream to read the resource data.
    • returnImportResult

      void returnImportResult(String resultCallbackUrl, ItemImportResult itemImportResult)
      Returns the ItemImportResult to the Data Hub
      Parameters:
      resultCallbackUrl - the callback URL to use when returning the ItemImportResult
      itemImportResult - the resuts of the import