Class DefaultODataContextGenerator
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.impl.DefaultODataContextGenerator
-
- All Implemented Interfaces:
ODataContextGenerator
public class DefaultODataContextGenerator extends java.lang.Object implements ODataContextGenerator
-
-
Constructor Summary
Constructors Constructor Description DefaultODataContextGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 java.lang.StringgetEntity(org.apache.olingo.odata2.api.processor.ODataRequest oDataRequest)protected java.util.List<ODataRequestEntityExtractor>getEntityExtractors()protected org.apache.olingo.odata2.api.ODataServiceFactorygetServiceFactory()protected java.lang.StringgetServiceNameIfValid(org.apache.olingo.odata2.api.processor.ODataRequest oDataRequest)voidsetEntityExtractors(java.util.List<ODataRequestEntityExtractor> entityExtractors)voidsetServiceFactory(org.apache.olingo.odata2.api.ODataServiceFactory serviceFactory)
-
-
-
Method Detail
-
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
protected java.lang.String getEntity(org.apache.olingo.odata2.api.processor.ODataRequest oDataRequest)
-
getServiceNameIfValid
protected java.lang.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
protected java.util.List<ODataRequestEntityExtractor> getEntityExtractors()
-
setEntityExtractors
public void setEntityExtractors(java.util.List<ODataRequestEntityExtractor> entityExtractors)
-
-