Class RecommendationScenarioService
- java.lang.Object
-
- com.hybris.ymkt.recommendation.services.RecommendationScenarioService
-
public class RecommendationScenarioService extends java.lang.ObjectThis service reads the ProductRecoScenarios (ScenarioId) entity from the ODataService.
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.olingo.odata2.api.ep.EntityProviderReadPropertiesNO_READ_PROPERTIESprotected ODataServiceoDataService
-
Constructor Summary
Constructors Constructor Description RecommendationScenarioService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringcreateSAPRecommendationType(org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)java.util.List<java.lang.String>getRecommendationScenarios()voidsetODataService(ODataService oDataService)
-
-
-
Field Detail
-
NO_READ_PROPERTIES
protected static final org.apache.olingo.odata2.api.ep.EntityProviderReadProperties NO_READ_PROPERTIES
-
oDataService
protected ODataService oDataService
-
-
Method Detail
-
createSAPRecommendationType
protected java.lang.String createSAPRecommendationType(org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)
-
getRecommendationScenarios
public java.util.List<java.lang.String> getRecommendationScenarios() throws java.io.IOException- Returns:
ListofSAPRecommendationTypefrom the yMKT system.
The list is sorted bySAPRecommendationType#getId().- Throws:
java.io.IOException
-
setODataService
public void setODataService(ODataService oDataService)
-
-