Class DefaultODataFacade

java.lang.Object
de.hybris.platform.odata2webservices.odata.impl.DefaultODataFacade
All Implemented Interfaces:
ODataFacade

public class DefaultODataFacade extends Object implements ODataFacade
A default implementation of the ODataFacade. This implementation delegates to the odata classes to derive the ODataResponse for the request.
  • Constructor Details

    • DefaultODataFacade

      public DefaultODataFacade()
  • Method Details

    • handleGetSchema

      public org.apache.olingo.odata2.api.processor.ODataResponse handleGetSchema(org.apache.olingo.odata2.api.processor.ODataContext oDataContext)
      Description copied from interface: ODataFacade
      Obtains ODataResponse with a stream that contains odata EDMX schema specified by the oDataContext.
      Specified by:
      handleGetSchema in interface ODataFacade
      Parameters:
      oDataContext - contains information about what schema should be retrieved.
      Returns:
      requested ODataResponse with a stream that contains EDMX schema
    • handleRequest

      public org.apache.olingo.odata2.api.processor.ODataResponse handleRequest(org.apache.olingo.odata2.api.processor.ODataContext oDataContext)
      Description copied from interface: ODataFacade
      Handles create, read, update or delete requests on an integration object item.
      Specified by:
      handleRequest in interface ODataFacade
      Parameters:
      oDataContext - contains the information about the item
      Returns:
      response with information about the item
    • odataRequest

      protected org.apache.olingo.odata2.api.processor.ODataRequest odataRequest(org.apache.olingo.odata2.api.processor.ODataContext oDataContext)
    • createRequestHandler

      protected DefaultIntegrationODataRequestHandler createRequestHandler(org.apache.olingo.odata2.api.processor.ODataContext oDataContext, org.apache.olingo.odata2.api.ODataService oDataService)
    • validatedResponse

      protected org.apache.olingo.odata2.api.processor.ODataResponse validatedResponse(org.apache.olingo.odata2.api.processor.ODataResponse oDataResponse)
    • setODataServiceFactory

      public void setODataServiceFactory(org.apache.olingo.odata2.api.ODataServiceFactory oDataServiceFactory)
    • getEdmxProviderValidator

      protected EdmxProviderValidator getEdmxProviderValidator()
    • setEdmxProviderValidator

      public void setEdmxProviderValidator(EdmxProviderValidator edmxProviderValidator)
    • setIntegrationObjectMetadataPermissionService

      public void setIntegrationObjectMetadataPermissionService(IntegrationObjectMetadataPermissionService integrationObjectMetadataPermissionService)