Class RecommendationScenarioService


  • public class RecommendationScenarioService
    extends java.lang.Object
    This service reads the ProductRecoScenarios (ScenarioId) entity from the ODataService.
    • Field Detail

      • NO_READ_PROPERTIES

        protected static final org.apache.olingo.odata2.api.ep.EntityProviderReadProperties NO_READ_PROPERTIES
    • Constructor Detail

      • RecommendationScenarioService

        public RecommendationScenarioService()
    • 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:
        List of SAPRecommendationType from the yMKT system.
        The list is sorted by SAPRecommendationType#getId().
        Throws:
        java.io.IOException
      • setODataService

        public void setODataService​(ODataService oDataService)