Skip navigation links
A C E N R V 

A

AdditionalNotificationData - Class in net.croz.nrich.notification.api.model
Additional notification data used to configure notification.
AdditionalNotificationData() - Constructor for class net.croz.nrich.notification.api.model.AdditionalNotificationData
 

C

CONTAINING_OBJECT_NAME - Static variable in class net.croz.nrich.notification.api.model.ValidationError
 
createNotificationForAction(String, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
Returns Notification instance for action.
createNotificationForAction(String) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
 
createNotificationForException(Throwable, AdditionalNotificationData, Object...) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
Returns Notification instance for exception.
createNotificationForException(Throwable, Object...) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
 
createNotificationForValidationFailure(Errors, Class<?>, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
createNotificationForValidationFailure(ConstraintViolationException, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
createNotificationForValidationFailure(Errors, Class<?>) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
 
createNotificationForValidationFailure(ConstraintViolationException) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
 

E

empty() - Static method in class net.croz.nrich.notification.api.model.AdditionalNotificationData
 

N

net.croz.nrich.notification.api.model - package net.croz.nrich.notification.api.model
 
net.croz.nrich.notification.api.response - package net.croz.nrich.notification.api.response
 
net.croz.nrich.notification.api.service - package net.croz.nrich.notification.api.service
 
Notification - Class in net.croz.nrich.notification.api.model
Holder for notification data.
Notification() - Constructor for class net.croz.nrich.notification.api.model.Notification
 
NotificationMessageResolverService - Interface in net.croz.nrich.notification.api.service
Resolves messages for notification from either message code list or from Springs ObjectError instances.
NotificationResolverService - Interface in net.croz.nrich.notification.api.service
Creates notifications for exceptions, validation failures and actions.
notificationResolverService() - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
 
NotificationResponseService<T> - Interface in net.croz.nrich.notification.api.service
Helper service that helps creation response with notification.
NotificationSeverity - Enum in net.croz.nrich.notification.api.model
Severity of the notification (i.e.

R

resolveMessage(List<String>, List<Object>, String) - Method in interface net.croz.nrich.notification.api.service.NotificationMessageResolverService
Returns message resolved from messageCodeList, ordering is important since first found message for message code will be returned.
resolveMessage(List<String>, String) - Method in interface net.croz.nrich.notification.api.service.NotificationMessageResolverService
 
resolveMessage(List<String>) - Method in interface net.croz.nrich.notification.api.service.NotificationMessageResolverService
 
resolveMessageForObjectError(Class<?>, ObjectError) - Method in interface net.croz.nrich.notification.api.service.NotificationMessageResolverService
Resolves message for Springs ObjectError.
responseWithExceptionNotification(Throwable, AdditionalNotificationData, Object...) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
Returns response with Notification instance.
responseWithExceptionNotification(Throwable, Object...) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
 
ResponseWithNotification<T> - Class in net.croz.nrich.notification.api.response
Wrapper around response data that allows for sending notification with original response data.
ResponseWithNotification() - Constructor for class net.croz.nrich.notification.api.response.ResponseWithNotification
 
responseWithNotification(D, String, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
Returns response with Notification instance.
responseWithNotification(D, String) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
 
responseWithNotification(String) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
 
responseWithNotificationActionResolvedFromRequest(D, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
Returns response with Notification instance.
responseWithNotificationActionResolvedFromRequest(D) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
 
responseWithNotificationActionResolvedFromRequest() - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
 
responseWithValidationFailureNotification(Errors, Class<?>, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
Returns response with ValidationFailureNotification instance.
responseWithValidationFailureNotification(ConstraintViolationException, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
Returns response with ValidationFailureNotification instance.
responseWithValidationFailureNotification(Errors, Class<?>) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
 
responseWithValidationFailureNotification(ConstraintViolationException) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
 

V

ValidationError - Class in net.croz.nrich.notification.api.model
Represents validation error on a object.
ValidationError() - Constructor for class net.croz.nrich.notification.api.model.ValidationError
 
ValidationFailureNotification - Class in net.croz.nrich.notification.api.model
Holder for validation failure notification data.
ValidationFailureNotification(String, String, List<String>, NotificationSeverity, Map<String, ?>, List<ValidationError>) - Constructor for class net.croz.nrich.notification.api.model.ValidationFailureNotification
 
valueOf(String) - Static method in enum net.croz.nrich.notification.api.model.NotificationSeverity
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.croz.nrich.notification.api.model.NotificationSeverity
Returns an array containing the constants of this enum type, in the order they are declared.
A C E N R V 
Skip navigation links