public class DefaultCustomerReviewDao extends AbstractItemDao implements CustomerReviewDao
flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultCustomerReviewDao() |
| Modifier and Type | Method and Description |
|---|---|
List<CustomerReviewModel> |
getReviewsForCustomer(UserModel customer)
Get the reviews for the specified customer.
|
List<CustomerReviewModel> |
getReviewsForProduct(ProductModel product)
Get the reviews for the specified product.
|
List<CustomerReviewModel> |
getReviewsForProductAndLanguage(ProductModel product,
LanguageModel language)
Get the reviews for the specified product in the specified language.
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic List<CustomerReviewModel> getReviewsForProduct(ProductModel product)
CustomerReviewDaogetReviewsForProduct in interface CustomerReviewDaoproduct - the productpublic List<CustomerReviewModel> getReviewsForProductAndLanguage(ProductModel product, LanguageModel language)
CustomerReviewDaogetReviewsForProductAndLanguage in interface CustomerReviewDaoproduct - the productlanguage - the languagepublic List<CustomerReviewModel> getReviewsForCustomer(UserModel customer)
CustomerReviewDaogetReviewsForCustomer in interface CustomerReviewDaocustomer - the customerCopyright © 2017 SAP SE. All Rights Reserved.