Class ReviewDetailWrapper

java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.ReviewDetailWrapper
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.rating.domain.ReviewDetail>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

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>
Author:
Nick Crum ncrum
See Also:
  • Field Details

    • id

      protected Long id
    • author

      protected String author
    • reviewSubmittedDate

      protected Date reviewSubmittedDate
    • reviewText

      protected String reviewText
    • reviewStatus

      protected String reviewStatus
    • helpfulCount

      protected Integer helpfulCount
    • notHelpfulCount

      protected Integer notHelpfulCount
    • reviewFeedback

      protected List<ReviewFeedbackWrapper> reviewFeedback
    • ratingDetail

      protected RatingDetailWrapper ratingDetail
  • Constructor Details

    • ReviewDetailWrapper

      public ReviewDetailWrapper()
  • Method Details

    • wrapDetails

      public void wrapDetails(org.broadleafcommerce.core.rating.domain.ReviewDetail model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.rating.domain.ReviewDetail>
    • wrapSummary

      public void wrapSummary(org.broadleafcommerce.core.rating.domain.ReviewDetail model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.rating.domain.ReviewDetail>
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getAuthor

      public String getAuthor()
    • setAuthor

      public void setAuthor(String author)
    • getReviewSubmittedDate

      public Date getReviewSubmittedDate()
    • setReviewSubmittedDate

      public void setReviewSubmittedDate(Date reviewSubmittedDate)
    • getReviewText

      public String getReviewText()
    • setReviewText

      public void setReviewText(String reviewText)
    • getReviewStatus

      public String getReviewStatus()
    • setReviewStatus

      public void setReviewStatus(String reviewStatus)
    • getHelpfulCount

      public Integer getHelpfulCount()
    • setHelpfulCount

      public void setHelpfulCount(Integer helpfulCount)
    • getNotHelpfulCount

      public Integer getNotHelpfulCount()
    • setNotHelpfulCount

      public void setNotHelpfulCount(Integer notHelpfulCount)
    • getReviewFeedback

      public List<ReviewFeedbackWrapper> getReviewFeedback()
    • setReviewFeedback

      public void setReviewFeedback(List<ReviewFeedbackWrapper> reviewFeedback)
    • getRatingDetail

      public RatingDetailWrapper getRatingDetail()
    • setRatingDetail

      public void setRatingDetail(RatingDetailWrapper ratingDetail)