Class ODataFacadeMonitoringPersistenceProxy
java.lang.Object
de.hybris.platform.odata2webservices.odata.ODataFacadeMonitoringPersistenceProxy
- All Implemented Interfaces:
ODataFacade
An implementation of
ODataFacade for adding additional logic such as request logging and persistence of monitoring
objects before delegating to the default implementation of the facade.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InboundRequestServiceprotected InboundServicesConfigurationprotected MediaPersistenceServiceprotected ODataFacadeprotected RequestBatchEntityExtractorprotected org.apache.olingo.odata2.api.processor.ODataResponsegetResponse(org.apache.olingo.odata2.api.processor.ODataContext oDataContext) protected ResponseEntityExtractororg.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.ODataResponsemonitorAndGetResponse(org.apache.olingo.odata2.api.processor.ODataContext oDataContext) voidsetInboundRequestService(InboundRequestService inboundRequestService) voidsetInboundServicesConfiguration(InboundServicesConfiguration inboundServicesConfiguration) voidsetMediaPersistenceService(MediaPersistenceService mediaPersistenceServiceImpl) voidsetoDataFacade(ODataFacade oDataFacade) voidvoidvoidsetUserService(UserService service)
-
Constructor Details
-
ODataFacadeMonitoringPersistenceProxy
public ODataFacadeMonitoringPersistenceProxy()
-
-
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
-
monitorAndGetResponse
protected org.apache.olingo.odata2.api.processor.ODataResponse monitorAndGetResponse(org.apache.olingo.odata2.api.processor.ODataContext oDataContext) -
getResponse
protected org.apache.olingo.odata2.api.processor.ODataResponse getResponse(org.apache.olingo.odata2.api.processor.ODataContext oDataContext) -
setoDataFacade
-
getoDataFacade
-
setMediaPersistenceService
-
getMediaPersistenceService
-
setInboundRequestService
-
getInboundRequestService
-
setInboundServicesConfiguration
public void setInboundServicesConfiguration(InboundServicesConfiguration inboundServicesConfiguration) -
getInboundServicesConfiguration
-
setRequestEntityExtractor
-
getRequestEntityExtractor
-
setResponseEntityExtractor
-
getResponseEntityExtractor
-
setUserService
-