Class DefaultODataFacade
java.lang.Object
de.hybris.platform.odata2webservices.odata.impl.DefaultODataFacade
- All Implemented Interfaces:
ODataFacade
A default implementation of the
ODataFacade. This implementation delegates to the odata classes to derive the
ODataResponse for the request.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DefaultIntegrationODataRequestHandlercreateRequestHandler(org.apache.olingo.odata2.api.processor.ODataContext oDataContext, org.apache.olingo.odata2.api.ODataService oDataService) protected EdmxProviderValidatororg.apache.olingo.odata2.api.processor.ODataResponsehandleGetSchema(org.apache.olingo.odata2.api.processor.ODataContext oDataContext) Obtains ODataResponse with a stream that contains odata EDMX schema specified by theoDataContext.org.apache.olingo.odata2.api.processor.ODataResponsehandleRequest(org.apache.olingo.odata2.api.processor.ODataContext oDataContext) Handles create, read, update or delete requests on an integration object item.protected org.apache.olingo.odata2.api.processor.ODataRequestodataRequest(org.apache.olingo.odata2.api.processor.ODataContext oDataContext) voidsetEdmxProviderValidator(EdmxProviderValidator edmxProviderValidator) voidsetIntegrationObjectMetadataPermissionService(IntegrationObjectMetadataPermissionService integrationObjectMetadataPermissionService) voidsetODataServiceFactory(org.apache.olingo.odata2.api.ODataServiceFactory oDataServiceFactory) protected org.apache.olingo.odata2.api.processor.ODataResponsevalidatedResponse(org.apache.olingo.odata2.api.processor.ODataResponse oDataResponse)
-
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:ODataFacadeObtains ODataResponse with a stream that contains odata EDMX schema specified by theoDataContext.- Specified by:
handleGetSchemain interfaceODataFacade- 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:ODataFacadeHandles create, read, update or delete requests on an integration object item.- Specified by:
handleRequestin interfaceODataFacade- 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
-
setEdmxProviderValidator
-
setIntegrationObjectMetadataPermissionService
public void setIntegrationObjectMetadataPermissionService(IntegrationObjectMetadataPermissionService integrationObjectMetadataPermissionService)
-