Interface TmaCustomerReviewService

All Superinterfaces:
de.hybris.platform.customerreview.CustomerReviewService
All Known Implementing Classes:
DefaultTmaCustomerReviewService

public interface TmaCustomerReviewService extends de.hybris.platform.customerreview.CustomerReviewService
Service for operations related to the CustomerReviewModel.
Since:
1907
  • Method Details

    • getReviewsForProductByLimitOffsetAndLanguage

      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 to
      offset - 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

      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 reviews
      language - the language of the reviews
      Returns:
      the number of all found CustomerReviewModels