org.broadleafcommerce.core.rating.service
Interface RatingService
- All Known Implementing Classes:
- RatingServiceImpl
public interface RatingService
|
Method Summary |
void |
deleteRatingSummary(RatingSummary rating)
|
void |
markReviewHelpful(Long reviewId,
Customer customer,
Boolean helpful)
|
void |
rateItem(String itemId,
RatingType type,
Customer customer,
Double rating)
|
Map<String,RatingSummary> |
readRatingSummaries(List<String> itemIds,
RatingType type)
|
RatingSummary |
readRatingSummary(String itemId,
RatingType type)
|
List<ReviewDetail> |
readReviews(String itemId,
RatingType type,
int start,
int finish,
RatingSortType sortBy)
|
void |
reviewItem(String itemId,
RatingType type,
Customer customer,
Double rating,
String reviewText)
|
RatingSummary |
saveRatingSummary(RatingSummary rating)
|
saveRatingSummary
RatingSummary saveRatingSummary(RatingSummary rating)
deleteRatingSummary
void deleteRatingSummary(RatingSummary rating)
readRatingSummary
RatingSummary readRatingSummary(String itemId,
RatingType type)
readRatingSummaries
Map<String,RatingSummary> readRatingSummaries(List<String> itemIds,
RatingType type)
rateItem
void rateItem(String itemId,
RatingType type,
Customer customer,
Double rating)
readReviews
List<ReviewDetail> readReviews(String itemId,
RatingType type,
int start,
int finish,
RatingSortType sortBy)
reviewItem
void reviewItem(String itemId,
RatingType type,
Customer customer,
Double rating,
String reviewText)
markReviewHelpful
void markReviewHelpful(Long reviewId,
Customer customer,
Boolean helpful)
Copyright © 2012. All Rights Reserved.