Class UpdateRatingReviewServiceImpl
java.lang.Object
com.skava.ratingandreviews.service.impl.UpdateRatingReviewServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<RatingReviewsInfoDataRequest,
,RatingReviewResponse> UpdateRatingReviewService
@Service
public class UpdateRatingReviewServiceImpl
extends Object
implements UpdateRatingReviewService
Class UpdateRatingReviewServiceImpl
This class provides the implementation for the UpdateRatingReviewService .
- Since:
- 8.0
- Author:
- Infosys Equinox
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Routing_key - holds the value for routingKey -
Constructor Summary
ConstructorsConstructorDescriptionUpdateRatingReviewServiceImpl
(RatingReviewFactory ratingReviewFactory, RatingReviewPreferenceProcess ratingReviewPreferenceProcess, UpdateRatingReviewPreferenceValidator validator, RatingandReviewEventSender ratingandReviewEventSender, CollectionProcess collectionProcess, com.skava.core.auth.AuthTokenHandler authTokenHandler) -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
method process This method is used to update the RatingReview which uses the argument input passed 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
-
Field Details
-
ROUTING_KEY
Routing_key - holds the value for routingKey- See Also:
-
-
Constructor Details
-
UpdateRatingReviewServiceImpl
@Autowired public UpdateRatingReviewServiceImpl(RatingReviewFactory ratingReviewFactory, RatingReviewPreferenceProcess ratingReviewPreferenceProcess, UpdateRatingReviewPreferenceValidator validator, RatingandReviewEventSender ratingandReviewEventSender, CollectionProcess collectionProcess, com.skava.core.auth.AuthTokenHandler authTokenHandler)
-
-
Method Details
-
getValidator
- Specified by:
getValidator
in interfacecom.skava.core.EcommService<RatingReviewsInfoDataRequest,
RatingReviewResponse>
-
process
@SendEvent(eventType="ratingsreviewsservice/ratingreview/update", identifier="response_id") public RatingReviewResponse process(RatingReviewsInfoDataRequest input) method process This method is used to update the RatingReview which uses the argument input passed to it.- Specified by:
process
in interfacecom.skava.core.EcommService<RatingReviewsInfoDataRequest,
RatingReviewResponse> - Parameters:
input
- holds te value for the input in the type of RatingReviewsInfoDataRequest- Returns:
- RatingReviewResponse the response of the method process is returned in the type of RatingReviewResponse.
-