Interface NotificationResponseService
- All Superinterfaces:
BaseNotificationResponseService<NotificationResponse>
public interface NotificationResponseService
extends BaseNotificationResponseService<NotificationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault <D> NotificationDataResponse<D>responseWithNotification(D data, String actionName) <D> NotificationDataResponse<D>responseWithNotification(D data, String actionName, AdditionalNotificationData additionalNotificationData) Returns response withNotificationinstance.default <D> NotificationDataResponse<D><D> NotificationDataResponse<D>responseWithNotificationActionResolvedFromRequest(D data, AdditionalNotificationData additionalNotificationData) Returns response withNotificationinstance.Methods inherited from interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
notificationResolverService, responseWithExceptionNotification, responseWithExceptionNotification, responseWithNotification, responseWithNotification, responseWithNotificationActionResolvedFromRequest, responseWithNotificationActionResolvedFromRequest, responseWithValidationFailureNotification, responseWithValidationFailureNotification, responseWithValidationFailureNotification, responseWithValidationFailureNotification
-
Method Details
-
responseWithNotificationActionResolvedFromRequest
<D> NotificationDataResponse<D> responseWithNotificationActionResolvedFromRequest(D data, AdditionalNotificationData additionalNotificationData) Returns response withNotificationinstance.- Type Parameters:
D- type of data- Parameters:
data- data to include in responseadditionalNotificationData- additional notification data to add to notification- Returns:
- response with notification
-
responseWithNotification
<D> NotificationDataResponse<D> responseWithNotification(D data, String actionName, AdditionalNotificationData additionalNotificationData) Returns response withNotificationinstance.- Type Parameters:
D- type of data- Parameters:
data- data to include in responseactionName- name of the action for which to resolve notificationadditionalNotificationData- additional notification data to add to notification- Returns:
- response with notification
-
responseWithNotificationActionResolvedFromRequest
-
responseWithNotification
-