Class CreateVotesServiceImpl
java.lang.Object
com.skava.ratingandreviews.service.impl.CreateVotesServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<VotesRequest,
,VotesResponse> CreateVotesService
Class CreateRatingReviewServiceImpl
This class is used to create RatingReviewService.
- Since:
- 8.0
- Author:
- Infosys Equinox
-
Constructor Summary
ConstructorsConstructorDescriptionCreateVotesServiceImpl
(CollectionProcess collectionProcess, CreateVotesProcess createVotesProcess, VotesFactory votesFactory, com.skava.core.auth.AuthTokenHandler authTokenHandler) -
Method Summary
Modifier and TypeMethodDescriptionprocess
(VotesRequest input) method process This method is used to create a Votes.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
-
CreateVotesServiceImpl
@Autowired public CreateVotesServiceImpl(CollectionProcess collectionProcess, CreateVotesProcess createVotesProcess, VotesFactory votesFactory, com.skava.core.auth.AuthTokenHandler authTokenHandler)
-
-
Method Details
-
process
@SendEvent(eventType="ratingsreviewsservice/createvotes/create", identifier="request_questionId") public VotesResponse process(VotesRequest input) method process This method is used to create a Votes.- Specified by:
process
in interfacecom.skava.core.EcommService<VotesRequest,
VotesResponse> - Parameters:
input
- This parameter holds the request.- Returns:
- VotesResponse The created RatingReview is returned in the type of VotesResponse
-