Class RatingFeedbackProcess

java.lang.Object
com.skava.ratingandreviews.process.RatingFeedbackProcess

@Component public class RatingFeedbackProcess extends Object

Class RatingFeedbackProcess

this class provides the feedback process of the ratings

Author:
Infosys Equinox
  • Constructor Details

  • Method Details

    • createRatingFeedback

      public ReviewFeedbackDomain createRatingFeedback(ReviewFeedbackDomain reviewFeedbackDomain)
      method createRatingFeedback this method is used to create the rating feedback
      Parameters:
      reviewFeedbackDomain - this parameter is used to derive the value for ratingId,status from it.
      Returns:
      ReviewFeedbackDomain It contains the rating feedback for the passed rating feedbackEntity.
    • updateRatingFeedback

      public ReviewFeedbackDomain updateRatingFeedback(ReviewFeedbackDomain ratingfeedbackDomain)
      Method updateRatingFeedback This method is used to update the rating feedback.
      Parameters:
      ratingfeedbackDomain - this parameter is used to get the parameters like ratingId,id,userPreferencedId to update the RatingFeedback.
      Returns:
      reviewFeedbackdomain reviewFeedbackdomain is used to return the ratingFeedbackdomain from the ratingreviewPreferencerepository.