Package com.skava.service.impl
Class SendNotificationsServiceImpl
java.lang.Object
com.skava.service.impl.SendNotificationsServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<NotificationRequest,
,NotificationResponse> SendNotificationsService
@Service
@Transactional(propagation=REQUIRED,
readOnly=false,
noRollbackFor=java.lang.Exception.class)
public class SendNotificationsServiceImpl
extends Object
implements SendNotificationsService
The Class SendNotificationsServiceImpl.
This class is used to send notification according to the input.
This class is used to send notification according to the input.
- Author:
- Infosys Equinox
-
Constructor Summary
ConstructorsConstructorDescriptionSendNotificationsServiceImpl
(CollectionPropertyRepository collectionPropertyRepository, org.springframework.context.MessageSource messageSource, EventRepository eventRepository, ActionRepository actionRepository, SendNotificationValidator validator, org.springframework.web.client.RestTemplate restTemplateComponent, AppCommonServices appCommonServices) Instantiates a new send notifications service impl. -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
process
(NotificationRequest request) process
(SendNotificationRequest newRequest) 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
-
SendNotificationsServiceImpl
@Autowired public SendNotificationsServiceImpl(CollectionPropertyRepository collectionPropertyRepository, org.springframework.context.MessageSource messageSource, EventRepository eventRepository, ActionRepository actionRepository, SendNotificationValidator validator, org.springframework.web.client.RestTemplate restTemplateComponent, AppCommonServices appCommonServices) Instantiates a new send notifications service impl.
-
-
Method Details
-
getValidator
- Specified by:
getValidator
in interfacecom.skava.core.EcommService<NotificationRequest,
NotificationResponse>
-
process
@SendEvent(eventType="notificationservice/notifications/send", identifier="response_notification.name") public NotificationResponse process(NotificationRequest request) - Specified by:
process
in interfacecom.skava.core.EcommService<NotificationRequest,
NotificationResponse>
-
process
- Specified by:
process
in interfaceSendNotificationsService
-