Uses of Interface
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
Packages that use NotificationStateAware
Package
Description
-
Uses of NotificationStateAware in com.broadleafcommerce.common.messaging
Methods in com.broadleafcommerce.common.messaging with parameters of type NotificationStateAwareModifier and TypeMethodDescriptionvoid
PersistenceMessageAckedHandler.afterSuccessfulAcknowledgement
(Object nativeId, NotificationStateAware notificationStateAware, NotificationStateRepository repository) A hook point intended to allow implementations to perform some behavior after aPersistenceMessage
has been successfully sent and theNotificationState
has been marked as acknowledged.void
PersistenceMessageNotificationHandler.afterSuccessfulAcknowledgement
(@NonNull Object nativeId, @NonNull NotificationStateAware notificationStateAware, NotificationStateRepository repository) Invokes eachPersistenceMessageAckedHandler
. -
Uses of NotificationStateAware in com.broadleafcommerce.common.messaging.notification
Methods in com.broadleafcommerce.common.messaging.notification that return NotificationStateAwareModifier and TypeMethodDescriptionprotected NotificationStateAware
DefaultNotificationHandler.unwrapNotificationState
(NotificationStateAware notifiable) Methods in com.broadleafcommerce.common.messaging.notification that return types with arguments of type NotificationStateAwareModifier and TypeMethodDescriptionNotificationStateRepository.findNotificationReadyMembers
(Object lastProcessedNativeId, int pageSize, String messageType, Duration faultThreshold, Class<?> entityType) Find any entity instances that are unacknowledged and qualified for retry for message sending.Methods in com.broadleafcommerce.common.messaging.notification with parameters of type NotificationStateAwareModifier and TypeMethodDescriptiondefault void
NotificationHandler.afterSuccessfulAcknowledgement
(Object nativeId, NotificationStateAware notificationStateAware, NotificationStateRepository repository) A hook point intended to allow implementations to perform some behavior after a message has been successfully sent and theNotificationState
has been marked as acknowledged.protected org.springframework.messaging.Message<?>
DefaultNotificationHandler.createMessageSafely
(NotificationStateAware notifiable, NotificationState state) protected Supplier<org.springframework.messaging.Message<?>>
DefaultNotificationHandler.createMessageSupplier
(NotificationStateAware notifiable, NotificationState state) DefaultNotificationStateService.getOrInitializeNotificationState
(NotificationStateAware stateAware, String name) NotificationStateService.getOrInitializeNotificationState
(NotificationStateAware stateAware, String name) Search theNotificationState
on theNotificationStateAware
by its name.DefaultNotificationHandler.handle
(NotificationStateRepository repo, NotificationStateAware notifiable, String requestedType) void
DefaultNotificationManager.handle
(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType) NotificationHandler.handle
(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType) Notify the system in some way about the state change for the notifiable param.void
NotificationManager.handle
(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType) Notify the system in some way about the state change for the notifiable param.void
DefaultNotificationManager.handleAsync
(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType) void
DefaultNotificationManager.handleAsync
(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType, Runnable callback) void
NotificationManager.handleAsync
(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType) Notify the system in some way about the state change for the notifiable param.void
NotificationManager.handleAsync
(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType, Runnable callback) Notify the system in some way about the state change for the notifiable param.protected boolean
DefaultNotificationHandler.notify
(NotificationStateAware notifiable, NotificationState state, NotificationStateRepository repository) Validate the state requires notification, and if so, send the notification.protected NotificationStateAware
DefaultNotificationHandler.unwrapNotificationState
(NotificationStateAware notifiable) -
Uses of NotificationStateAware in com.broadleafcommerce.common.messaging.notification.domain
Constructors in com.broadleafcommerce.common.messaging.notification.domain with parameters of type NotificationStateAware