org.broadleafcommerce.core.rating.domain
Class ReviewDetailImpl

java.lang.Object
  extended by org.broadleafcommerce.core.rating.domain.ReviewDetailImpl
All Implemented Interfaces:
ReviewDetail

@Entity
public class ReviewDetailImpl
extends Object
implements ReviewDetail


Field Summary
protected  Customer customer
           
protected  Integer helpfulCount
           
protected  Integer notHelpfulCount
           
protected  RatingDetail ratingDetail
           
protected  RatingSummary ratingSummary
           
protected  Date reivewSubmittedDate
           
protected  List<ReviewFeedback> reviewFeedback
           
protected  String reviewStatus
           
protected  String reviewText
           
 
Constructor Summary
ReviewDetailImpl()
           
ReviewDetailImpl(Customer customer, Date reivewSubmittedDate, RatingDetail ratingDetail, String reviewText, RatingSummary ratingSummary)
           
 
Method Summary
 Customer getCustomer()
           
 Long getId()
           
 RatingDetail getRatingDetail()
           
 RatingSummary getRatingSummary()
           
 List<ReviewFeedback> getReviewFeedback()
           
 Date getReviewSubmittedDate()
           
 String getReviewText()
           
 ReviewStatusType getStatus()
           
 Integer helpfulCount()
           
 Integer notHelpfulCount()
           
 void setReviewText(String reviewText)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

customer

protected Customer customer

reivewSubmittedDate

protected Date reivewSubmittedDate

reviewText

protected String reviewText

reviewStatus

protected String reviewStatus

helpfulCount

protected Integer helpfulCount

notHelpfulCount

protected Integer notHelpfulCount

ratingSummary

protected RatingSummary ratingSummary

reviewFeedback

protected List<ReviewFeedback> reviewFeedback

ratingDetail

protected RatingDetail ratingDetail
Constructor Detail

ReviewDetailImpl

public ReviewDetailImpl()

ReviewDetailImpl

public ReviewDetailImpl(Customer customer,
                        Date reivewSubmittedDate,
                        RatingDetail ratingDetail,
                        String reviewText,
                        RatingSummary ratingSummary)
Method Detail

getReviewSubmittedDate

public Date getReviewSubmittedDate()
Specified by:
getReviewSubmittedDate in interface ReviewDetail

getId

public Long getId()
Specified by:
getId in interface ReviewDetail

getReviewText

public String getReviewText()
Specified by:
getReviewText in interface ReviewDetail

setReviewText

public void setReviewText(String reviewText)
Specified by:
setReviewText in interface ReviewDetail

getStatus

public ReviewStatusType getStatus()
Specified by:
getStatus in interface ReviewDetail

getCustomer

public Customer getCustomer()
Specified by:
getCustomer in interface ReviewDetail

helpfulCount

public Integer helpfulCount()
Specified by:
helpfulCount in interface ReviewDetail

notHelpfulCount

public Integer notHelpfulCount()
Specified by:
notHelpfulCount in interface ReviewDetail

getRatingSummary

public RatingSummary getRatingSummary()
Specified by:
getRatingSummary in interface ReviewDetail

getRatingDetail

public RatingDetail getRatingDetail()
Specified by:
getRatingDetail in interface ReviewDetail

getReviewFeedback

public List<ReviewFeedback> getReviewFeedback()
Specified by:
getReviewFeedback in interface ReviewDetail


Copyright © 2013. All Rights Reserved.