Class CreateRatingReviewServiceImpl
java.lang.Object
com.skava.ratingandreviews.service.impl.CreateRatingReviewServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<RatingReviewsInfoDataRequest,
,RatingReviewResponse> CreateRatingReviewService
@Service
public class CreateRatingReviewServiceImpl
extends Object
implements CreateRatingReviewService
Class CreateRatingReviewServiceImpl
This class is used to create RatingReviewService.
- Since:
- 8.0
- Author:
- Infosys Equinox
-
Constructor Summary
ConstructorsConstructorDescriptionCreateRatingReviewServiceImpl
(RatingReviewFactory ratingReviewFactory, RatingReviewPreferenceProcess ratingReviewPreferenceProcess, CreateRatingReviewPreferenceValidator validator, CollectionProcess collectionProcess, RatingAggregation ratingAggregation) -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
method process This method is used to create a RatingReview.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
-
CreateRatingReviewServiceImpl
@Autowired public CreateRatingReviewServiceImpl(RatingReviewFactory ratingReviewFactory, RatingReviewPreferenceProcess ratingReviewPreferenceProcess, CreateRatingReviewPreferenceValidator validator, CollectionProcess collectionProcess, RatingAggregation ratingAggregation)
-
-
Method Details
-
getValidator
- Specified by:
getValidator
in interfacecom.skava.core.EcommService<RatingReviewsInfoDataRequest,
RatingReviewResponse>
-
process
@SendEvent(eventType="ratingsreviewsservice/ratingreview/create", identifier="response_id") public RatingReviewResponse process(RatingReviewsInfoDataRequest input) method process This method is used to create a RatingReview.- Specified by:
process
in interfacecom.skava.core.EcommService<RatingReviewsInfoDataRequest,
RatingReviewResponse> - Parameters:
input
- This parameter holds the request.- Returns:
- RatingReviewResponse The created RatingReview is returned in the type of RatingReviewResponse
-