ratingSummary.getRatings().add(ratingDetail);
ReviewDetail reviewDetail = ratingSummaryDao.readReview(customer.getId(), ratingSummary.getId());
if (reviewDetail == null) {
reviewDetail = new ReviewDetailImpl(customer, SystemTime.asDate(), ratingDetail, reviewText, ratingSummary);
} else {
reviewDetail.setReviewText(reviewText);
}
ratingSummary.getReviews().add(reviewDetail);