Interface TmaCustomerReviewService
-
- All Superinterfaces:
de.hybris.platform.customerreview.CustomerReviewService
- All Known Implementing Classes:
DefaultTmaCustomerReviewService
public interface TmaCustomerReviewService extends de.hybris.platform.customerreview.CustomerReviewServiceService for operations related to theCustomerReviewModel.- Since:
- 1907
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.IntegergetNumberOfReviewsForProductAndLanguage(ProductModel product, LanguageModel language)Retrieves the the number of reviews that exist for a product in a given language.java.util.List<CustomerReviewModel>getReviewsForProductByLimitOffsetAndLanguage(ProductModel product, int offset, int limit, LanguageModel language)Retrieves all reviews for a product by offset, limit and language.
-
-
-
Method Detail
-
getReviewsForProductByLimitOffsetAndLanguage
java.util.List<CustomerReviewModel> getReviewsForProductByLimitOffsetAndLanguage(ProductModel product, int offset, int limit, LanguageModel language)
Retrieves all reviews for a product by offset, limit and language.- Parameters:
product- the product where the reviews are belonging tooffset- the offset represents the position in list from where the result list will start.limit- the limit represents the number of entries that will be selected for the result list.language- the language of the reviews- Returns:
- the list of reviews
-
getNumberOfReviewsForProductAndLanguage
java.lang.Integer getNumberOfReviewsForProductAndLanguage(ProductModel product, LanguageModel language)
Retrieves the the number of reviews that exist for a product in a given language.- Parameters:
product- the product which has the reviewslanguage- the language of the reviews- Returns:
- the number of all found
CustomerReviewModels
-
-