Class RecommendationScenarioService
java.lang.Object
com.hybris.ymkt.recommendation.services.RecommendationScenarioService
This service reads the ProductRecoScenarios (ScenarioId) entity from the ODataService.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.apache.olingo.odata2.api.ep.EntityProviderReadPropertiesprotected ODataService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateSAPRecommendationType(org.apache.olingo.odata2.api.ep.entry.ODataEntry entry) voidsetODataService(ODataService oDataService)
-
Field Details
-
NO_READ_PROPERTIES
protected static final org.apache.olingo.odata2.api.ep.EntityProviderReadProperties NO_READ_PROPERTIES -
oDataService
-
-
Constructor Details
-
RecommendationScenarioService
public RecommendationScenarioService()
-
-
Method Details
-
createSAPRecommendationType
protected String createSAPRecommendationType(org.apache.olingo.odata2.api.ep.entry.ODataEntry entry) -
getRecommendationScenarios
- Returns:
ListofSAPRecommendationTypefrom the yMKT system.
The list is sorted bySAPRecommendationType#getId().- Throws:
IOException
-
setODataService
-