Interface ODataFacade
-
- All Known Implementing Classes:
DefaultODataFacade,ODataFacadeMonitoringPersistenceProxy
public interface ODataFacadeReceives an ODataContext and delegates its handling. Returns an ODataResponse.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description org.apache.olingo.odata2.api.processor.ODataResponsehandleGetEntity(org.apache.olingo.odata2.api.processor.ODataContext oDataContext)Deprecated, for removal: This API element is subject to removal in a future version.UserhandleRequest(ODataContext)insteadorg.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.ODataResponsehandlePost(org.apache.olingo.odata2.api.processor.ODataContext oDataContext)Deprecated, for removal: This API element is subject to removal in a future version.UsehandleRequest(ODataContext)insteadorg.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 Detail
-
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
-
handleGetEntity
@Deprecated(since="1905", forRemoval=true) org.apache.olingo.odata2.api.processor.ODataResponse handleGetEntity(org.apache.olingo.odata2.api.processor.ODataContext oDataContext)Deprecated, for removal: This API element is subject to removal in a future version.UserhandleRequest(ODataContext)insteadObtains ODataResponse with a stream that contains entity data model.- Parameters:
oDataContext- contains information about what entity should be retrieved.- Returns:
- requested ODataResponse with a stream that contains entity data.
-
handlePost
@Deprecated(since="1905", forRemoval=true) org.apache.olingo.odata2.api.processor.ODataResponse handlePost(org.apache.olingo.odata2.api.processor.ODataContext oDataContext)Deprecated, for removal: This API element is subject to removal in a future version.UsehandleRequest(ODataContext)insteadCreates an integration object item based on request.- Parameters:
oDataContext- contains information about what item should be created- Returns:
- response with information about the newly created item
-
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
-
-