Class CreateRatingFeedbackServiceImpl
java.lang.Object
com.skava.ratingandreviews.service.impl.CreateRatingFeedbackServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<RatingFeedbackInfoDataRequest,
,ReviewFeedbackResponse> CreateRatingFeedbackService
@Service
public class CreateRatingFeedbackServiceImpl
extends Object
implements CreateRatingFeedbackService
Class CreateRatingFeedbackServiceImpl
This class provides the implementation of creation of RatingFeedbackService.
- Since:
- 8.0
- Author:
- Infosys Equinox
-
Constructor Summary
ConstructorsConstructorDescriptionCreateRatingFeedbackServiceImpl
(RatingFeedbackFactory ratingfeedbackFactory, RatingFeedbackProcess ratingFeedbackProcess, CreateRatingFeedbackValidator validator) -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
process
(RatingFeedbackInfoDataRequest request) method process This method is used to create RatingFeedback 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
-
Constructor Details
-
CreateRatingFeedbackServiceImpl
@Autowired public CreateRatingFeedbackServiceImpl(RatingFeedbackFactory ratingfeedbackFactory, RatingFeedbackProcess ratingFeedbackProcess, CreateRatingFeedbackValidator validator)
-
-
Method Details
-
getValidator
- Specified by:
getValidator
in interfacecom.skava.core.EcommService<RatingFeedbackInfoDataRequest,
ReviewFeedbackResponse>
-
process
@SendEvent(eventType="ratingsreviewsservice/ratingfeedback/create", identifier="response_id", skipAuth=true) public ReviewFeedbackResponse process(RatingFeedbackInfoDataRequest request) method process This method is used to create RatingFeedback based on the request which is passed as argument to it.- Specified by:
process
in interfacecom.skava.core.EcommService<RatingFeedbackInfoDataRequest,
ReviewFeedbackResponse> - Returns:
- ReviewFeedbackDomain The created RatingFeedback is returned in the type of Reviewfeedbackdomain.
-