Klasse ProductEntityCollectionProcessor

java.lang.Object
de.dlr.proseo.api.prip.odata.ProductEntityCollectionProcessor
Alle implementierten Schnittstellen:
org.apache.olingo.server.api.processor.EntityCollectionProcessor, org.apache.olingo.server.api.processor.Processor

@Component @Transactional public class ProductEntityCollectionProcessor extends Object implements org.apache.olingo.server.api.processor.EntityCollectionProcessor
Retrieve product collections from the prosEO metadata database (via the Ingestor component) with additional information from the prosEO Storage Manager
Autor:
Dr. Thomas Bassler
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    init(org.apache.olingo.server.api.OData odata, org.apache.olingo.server.api.ServiceMetadata serviceMetadata)
    Initializes the processor for each HTTP request - response cycle (Copied from interface definition)
    void
    readEntityCollection(org.apache.olingo.server.api.ODataRequest request, org.apache.olingo.server.api.ODataResponse response, org.apache.olingo.server.api.uri.UriInfo uriInfo, org.apache.olingo.commons.api.format.ContentType responseFormat)
    Reads entities data from persistence and puts serialized content and status into the response.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • ProductEntityCollectionProcessor

      public ProductEntityCollectionProcessor()
  • Methodendetails

    • init

      public void init(org.apache.olingo.server.api.OData odata, org.apache.olingo.server.api.ServiceMetadata serviceMetadata)
      Initializes the processor for each HTTP request - response cycle (Copied from interface definition)
      Angegeben von:
      init in Schnittstelle org.apache.olingo.server.api.processor.Processor
      Parameter:
      odata - Olingo's root object, acting as a factory for various object types
      serviceMetadata - metadata of the OData service like the EDM that have to be created before the OData request handling takes place
    • readEntityCollection

      public void readEntityCollection(org.apache.olingo.server.api.ODataRequest request, org.apache.olingo.server.api.ODataResponse response, org.apache.olingo.server.api.uri.UriInfo uriInfo, org.apache.olingo.commons.api.format.ContentType responseFormat) throws org.apache.olingo.server.api.ODataApplicationException, org.apache.olingo.server.api.ODataLibraryException
      Reads entities data from persistence and puts serialized content and status into the response.
      Angegeben von:
      readEntityCollection in Schnittstelle org.apache.olingo.server.api.processor.EntityCollectionProcessor
      Parameter:
      request - OData request object containing raw HTTP information
      response - OData response object for collecting response data
      uriInfo - information of a parsed OData URI
      responseFormat - requested content type after content negotiation
      Löst aus:
      org.apache.olingo.server.api.ODataApplicationException - if the service implementation encounters a failure
      org.apache.olingo.server.api.ODataLibraryException - if the Olingo OData library detects an error