Class CreateRatingAnswersForQuestionServiceImpl

java.lang.Object
com.skava.ratingandreviews.service.impl.CreateRatingAnswersForQuestionServiceImpl
All Implemented Interfaces:
com.skava.core.EcommService<RatingAnswersRequest,RatingQuestionsAndAnswersResponse>, CreateRatingAnswersForQuestionService

@Service public class CreateRatingAnswersForQuestionServiceImpl extends Object implements CreateRatingAnswersForQuestionService

Class CreateRatingAnswersForQuestionServiceImpl

This class provides the implementation of the CreateRatingAnswersForQuestion Service.

Since:
8.0
Author:
Infosys Equinox
  • Constructor Details

    • CreateRatingAnswersForQuestionServiceImpl

      @Autowired public CreateRatingAnswersForQuestionServiceImpl(CollectionProcess collectionProcess, RatingAnswersForQuestionProcess ratingAnswersForQuestionProcess, com.skava.core.auth.AuthTokenHandler authTokenHandler)
  • Method Details

    • process

      @SendEvent(eventType="ratingsreviewsservice/ratinganswers/create", identifier="response_id") public RatingQuestionsAndAnswersResponse process(RatingAnswersRequest input)
      method process This method is used to create RatingAnswersForQuestion based on the request which is passed as argument to it.
      Specified by:
      process in interface com.skava.core.EcommService<RatingAnswersRequest,RatingQuestionsAndAnswersResponse>
      Returns:
      RatingAnswersForQuestionResponse The created RatingAnswersForQuestionResponse is returned in the type of RatingQuestionsAndAnswersResponse.