Class RecommendationDataSourceTypeService
java.lang.Object
com.hybris.ymkt.recommendation.services.RecommendationDataSourceTypeService
This service reads the ItemSourceTypes 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 SAPRecommendationItemDataSourceTypecreateSAPRecommendationItemDataSourceType(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
-
RecommendationDataSourceTypeService
public RecommendationDataSourceTypeService()
-
-
Method Details
-
createSAPRecommendationItemDataSourceType
protected SAPRecommendationItemDataSourceType createSAPRecommendationItemDataSourceType(org.apache.olingo.odata2.api.ep.entry.ODataEntry entry) -
getItemDataSourceTypes
@Nonnull public List<SAPRecommendationItemDataSourceType> getItemDataSourceTypes() throws IOException- Returns:
ListofSAPRecommendationItemDataSourceTypefrom the yMKT system.
The list is sorted bySAPRecommendationItemDataSourceType.getId().- Throws:
IOException
-
setODataService
-