Index

A B C E H I N O R T V W 
All Classes and Interfaces|All Packages|Constant Field Values

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
 

B

BaseNotificationResponseService<T> - Interface in net.croz.nrich.notification.api.service
Helper service for creation of response with notification.

C

ConstraintConversionService - Interface in net.croz.nrich.notification.api.service
 
CONTAINING_OBJECT_NAME - Static variable in record class net.croz.nrich.notification.api.model.ValidationError
 
convertConstraintViolationsToErrors(Set<ConstraintViolation<?>>, Object, String) - Method in interface net.croz.nrich.notification.api.service.ConstraintConversionService
 
createNotificationForAction(String) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
 
createNotificationForAction(String, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
Returns Notification instance for action.
createNotificationForException(Throwable) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
 
createNotificationForException(Throwable, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
Returns Notification instance for exception.
createNotificationForValidationFailure(ConstraintViolationException) - 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(Errors, Class<?>, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService

E

empty() - Static method in class net.croz.nrich.notification.api.model.AdditionalNotificationData
 
equals(Object) - Method in record class net.croz.nrich.notification.api.model.ValidationError
Indicates whether some other object is "equal to" this one.
ERROR - Enum constant in enum class net.croz.nrich.notification.api.model.NotificationSeverity
 
errorMessageList() - Method in record class net.croz.nrich.notification.api.model.ValidationError
Returns the value of the errorMessageList record component.

H

hashCode() - Method in record class net.croz.nrich.notification.api.model.ValidationError
Returns a hash code value for this object.

I

INFO - Enum constant in enum class net.croz.nrich.notification.api.model.NotificationSeverity
 
isValidationFailure() - Method in class net.croz.nrich.notification.api.model.Notification
 
isValidationFailure() - Method in class net.croz.nrich.notification.api.model.ValidationFailureNotification
 

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
 
NotificationDataResponse<T> - Class in net.croz.nrich.notification.api.response
Wrapper around response data that allows for sending notification with original response data.
NotificationDataResponse(Notification, T) - Constructor for class net.croz.nrich.notification.api.response.NotificationDataResponse
 
NotificationMessageResolverService - Interface in net.croz.nrich.notification.api.service
Resolves messages for notification from either message code list or from Spring's ObjectError instances.
notificationResolverService() - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
 
NotificationResolverService - Interface in net.croz.nrich.notification.api.service
Creates notifications for exceptions, validation failures and actions.
NotificationResponse - Class in net.croz.nrich.notification.api.response
Response that holds notification.
NotificationResponse() - Constructor for class net.croz.nrich.notification.api.response.NotificationResponse
 
NotificationResponseService - Interface in net.croz.nrich.notification.api.service
 
NotificationSeverity - Enum Class in net.croz.nrich.notification.api.model
Severity of the notification (i.e.

O

objectName() - Method in record class net.croz.nrich.notification.api.model.ValidationError
Returns the value of the objectName record component.

R

resolveMessage(List<String>) - Method in interface net.croz.nrich.notification.api.service.NotificationMessageResolverService
 
resolveMessage(List<String>, String) - Method in interface net.croz.nrich.notification.api.service.NotificationMessageResolverService
 
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.
resolveMessageForObjectError(Class<?>, ObjectError) - Method in interface net.croz.nrich.notification.api.service.NotificationMessageResolverService
Resolves message for Spring's ObjectError.
resolveTarget(Set<ConstraintViolation<?>>) - Method in interface net.croz.nrich.notification.api.service.ConstraintConversionService
 
responseWithExceptionNotification(Throwable) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
 
responseWithExceptionNotification(Throwable, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
Returns response with Notification instance.
responseWithNotification(D, String) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
 
responseWithNotification(D, String, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
Returns response with Notification instance.
responseWithNotification(String) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
 
responseWithNotification(String, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
Returns response with Notification instance.
responseWithNotificationActionResolvedFromRequest() - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
 
responseWithNotificationActionResolvedFromRequest(D) - 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(AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
Returns response with Notification instance.
responseWithValidationFailureNotification(ConstraintViolationException) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
 
responseWithValidationFailureNotification(ConstraintViolationException, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
Returns response with ValidationFailureNotification instance.
responseWithValidationFailureNotification(Errors, Class<?>) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
 
responseWithValidationFailureNotification(Errors, Class<?>, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
Returns response with ValidationFailureNotification instance.

T

toString() - Method in record class net.croz.nrich.notification.api.model.ValidationError
Returns a string representation of this record class.

V

ValidationError - Record Class in net.croz.nrich.notification.api.model
Represents validation error on a object.
ValidationError(String, List<String>) - Constructor for record class net.croz.nrich.notification.api.model.ValidationError
Creates an instance of a ValidationError record class.
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 class net.croz.nrich.notification.api.model.NotificationSeverity
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.croz.nrich.notification.api.model.NotificationSeverity
Returns an array containing the constants of this enum class, in the order they are declared.

W

WARNING - Enum constant in enum class net.croz.nrich.notification.api.model.NotificationSeverity
 
A B C E H I N O R T V W 
All Classes and Interfaces|All Packages|Constant Field Values