public class ReviewDetailWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.rating.domain.ReviewDetail>
Modifier and Type | Field and Description |
---|---|
protected String |
author |
protected Integer |
helpfulCount |
protected Long |
id |
protected Integer |
notHelpfulCount |
protected RatingDetailWrapper |
ratingDetail |
protected List<ReviewFeedbackWrapper> |
reviewFeedback |
protected String |
reviewStatus |
protected Date |
reviewSubmittedDate |
protected String |
reviewText |
Constructor and Description |
---|
ReviewDetailWrapper() |
Modifier and Type | Method and Description |
---|---|
String |
getAuthor() |
Integer |
getHelpfulCount() |
Long |
getId() |
Integer |
getNotHelpfulCount() |
RatingDetailWrapper |
getRatingDetail() |
List<ReviewFeedbackWrapper> |
getReviewFeedback() |
String |
getReviewStatus() |
Date |
getReviewSubmittedDate() |
String |
getReviewText() |
void |
setAuthor(String author) |
void |
setHelpfulCount(Integer helpfulCount) |
void |
setId(Long id) |
void |
setNotHelpfulCount(Integer notHelpfulCount) |
void |
setRatingDetail(RatingDetailWrapper ratingDetail) |
void |
setReviewFeedback(List<ReviewFeedbackWrapper> reviewFeedback) |
void |
setReviewStatus(String reviewStatus) |
void |
setReviewSubmittedDate(Date reviewSubmittedDate) |
void |
setReviewText(String reviewText) |
void |
wrapDetails(org.broadleafcommerce.core.rating.domain.ReviewDetail model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(org.broadleafcommerce.core.rating.domain.ReviewDetail model,
javax.servlet.http.HttpServletRequest request) |
protected Long id
protected String author
protected Date reviewSubmittedDate
protected String reviewText
protected String reviewStatus
protected Integer helpfulCount
protected Integer notHelpfulCount
protected List<ReviewFeedbackWrapper> reviewFeedback
protected RatingDetailWrapper ratingDetail
public void wrapDetails(org.broadleafcommerce.core.rating.domain.ReviewDetail model, javax.servlet.http.HttpServletRequest request)
wrapDetails
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.rating.domain.ReviewDetail>
public void wrapSummary(org.broadleafcommerce.core.rating.domain.ReviewDetail model, javax.servlet.http.HttpServletRequest request)
wrapSummary
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.rating.domain.ReviewDetail>
public Long getId()
public void setId(Long id)
public String getAuthor()
public void setAuthor(String author)
public Date getReviewSubmittedDate()
public void setReviewSubmittedDate(Date reviewSubmittedDate)
public String getReviewText()
public void setReviewText(String reviewText)
public String getReviewStatus()
public void setReviewStatus(String reviewStatus)
public Integer getHelpfulCount()
public void setHelpfulCount(Integer helpfulCount)
public Integer getNotHelpfulCount()
public void setNotHelpfulCount(Integer notHelpfulCount)
public List<ReviewFeedbackWrapper> getReviewFeedback()
public void setReviewFeedback(List<ReviewFeedbackWrapper> reviewFeedback)
public RatingDetailWrapper getRatingDetail()
public void setRatingDetail(RatingDetailWrapper ratingDetail)
Copyright © 2020. All rights reserved.