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 Summary
ConstructorsConstructorDescriptionCreateRatingAnswersForQuestionServiceImpl
(CollectionProcess collectionProcess, RatingAnswersForQuestionProcess ratingAnswersForQuestionProcess, com.skava.core.auth.AuthTokenHandler authTokenHandler) -
Method Summary
Modifier and TypeMethodDescriptionprocess
(RatingAnswersRequest input) method process This method is used to create RatingAnswersForQuestion based on the request which is passed as argument to it.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.skava.core.EcommService
getValidateException, getValidator, getValidator
-
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 interfacecom.skava.core.EcommService<RatingAnswersRequest,
RatingQuestionsAndAnswersResponse> - Returns:
- RatingAnswersForQuestionResponse The created RatingAnswersForQuestionResponse is returned in the type of RatingQuestionsAndAnswersResponse.
-