Interface ODataFacade
- All Known Implementing Classes:
DefaultODataFacade,ODataFacadeMonitoringPersistenceProxy
public interface ODataFacade
Receives an ODataContext and delegates its handling. Returns an ODataResponse.
-
Method Summary
Modifier and TypeMethodDescriptionorg.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.
-
Method Details
-
handleGetSchema
org.apache.olingo.odata2.api.processor.ODataResponse handleGetSchema(org.apache.olingo.odata2.api.processor.ODataContext oDataContext) Obtains ODataResponse with a stream that contains odata EDMX schema specified by theoDataContext.- Parameters:
oDataContext- contains information about what schema should be retrieved.- Returns:
- requested ODataResponse with a stream that contains EDMX schema
-
handleRequest
org.apache.olingo.odata2.api.processor.ODataResponse handleRequest(org.apache.olingo.odata2.api.processor.ODataContext oDataContext) Handles create, read, update or delete requests on an integration object item.- Parameters:
oDataContext- contains the information about the item- Returns:
- response with information about the item
-