Class DefaultODataContextGenerator
java.lang.Object
de.hybris.platform.odata2services.odata.impl.DefaultODataContextGenerator
- All Implemented Interfaces:
ODataContextGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.olingo.odata2.api.ODataServicecreateODataService(org.apache.olingo.odata2.api.processor.ODataContext oDataContext) org.apache.olingo.odata2.api.processor.ODataContextgenerate(org.apache.olingo.odata2.api.processor.ODataRequest oDataRequest) protected StringgetEntity(org.apache.olingo.odata2.api.processor.ODataRequest oDataRequest) protected List<ODataRequestEntityExtractor>protected org.apache.olingo.odata2.api.ODataServiceFactoryprotected StringgetServiceNameIfValid(org.apache.olingo.odata2.api.processor.ODataRequest oDataRequest) voidsetEntityExtractors(List<ODataRequestEntityExtractor> entityExtractors) voidsetServiceFactory(org.apache.olingo.odata2.api.ODataServiceFactory serviceFactory)
-
Constructor Details
-
DefaultODataContextGenerator
public DefaultODataContextGenerator()
-
-
Method Details
-
generate
public org.apache.olingo.odata2.api.processor.ODataContext generate(org.apache.olingo.odata2.api.processor.ODataRequest oDataRequest) - Specified by:
generatein interfaceODataContextGenerator
-
createODataService
protected org.apache.olingo.odata2.api.ODataService createODataService(org.apache.olingo.odata2.api.processor.ODataContext oDataContext) -
getEntity
-
getServiceNameIfValid
protected String getServiceNameIfValid(org.apache.olingo.odata2.api.processor.ODataRequest oDataRequest) -
getServiceFactory
protected org.apache.olingo.odata2.api.ODataServiceFactory getServiceFactory() -
setServiceFactory
public void setServiceFactory(org.apache.olingo.odata2.api.ODataServiceFactory serviceFactory) -
getEntityExtractors
-
setEntityExtractors
-