Class RatingAnswersForQuestionProcess
java.lang.Object
com.skava.ratingandreviews.process.RatingAnswersForQuestionProcess
Class RatingAnswersForQuestionProcess
this class provides the Answers process of the ratings
- Author:
- Infosys Equinox
-
Constructor Summary
ConstructorsConstructorDescriptionRatingAnswersForQuestionProcess
(RatingQuestionsRepository ratingQuestionsRepository, RatingAnswersRepository ratingAnswersRepository, RatingQuestionsAndAnswersProcess ratingQuestionsAndAnswersProcess, RatingQuestionsAndAnswersFactory ratingQuestionsAndAnswersFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreateRatingAnswers
(RatingAnswersRequest request) method createRatingAnswer This method is used to create Answer for Question with the help of the createRatingAnswers
-
Constructor Details
-
RatingAnswersForQuestionProcess
@Autowired public RatingAnswersForQuestionProcess(RatingQuestionsRepository ratingQuestionsRepository, RatingAnswersRepository ratingAnswersRepository, RatingQuestionsAndAnswersProcess ratingQuestionsAndAnswersProcess, RatingQuestionsAndAnswersFactory ratingQuestionsAndAnswersFactory)
-
-
Method Details
-
createRatingAnswers
method createRatingAnswer This method is used to create Answer for Question with the help of the createRatingAnswers- Parameters:
request
- Holds the value of RatingAnswersRequest.- Returns:
- ratingQuestionsAndAnswersResponse The create answers for question is returned in the type of ratingQuestionsAndAnswersResponse.
-