Uses of Interface
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
-
Uses of NotificationStateAware in com.broadleafcommerce.common.messaging
Methods in com.broadleafcommerce.common.messaging with parameters of type NotificationStateAware Modifier and Type Method Description voidPersistenceMessageAckedHandler. afterSuccessfulAcknowledgement(Object nativeId, NotificationStateAware notificationStateAware, NotificationStateRepository repository)A hook point intended to allow implementations to perform some behavior after aPersistenceMessagehas been successfully sent and theNotificationStatehas been marked as acknowledged.voidPersistenceMessageNotificationHandler. 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 NotificationStateAware Modifier and Type Method Description protected NotificationStateAwareDefaultNotificationHandler. unwrapNotificationState(NotificationStateAware notifiable)Methods in com.broadleafcommerce.common.messaging.notification that return types with arguments of type NotificationStateAware Modifier and Type Method Description Stream<NotificationStateAware>NotificationStateRepository. 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 NotificationStateAware Modifier and Type Method Description default voidNotificationHandler. 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 theNotificationStatehas 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)NotificationStateDefaultNotificationStateService. getOrInitializeNotificationState(NotificationStateAware stateAware, String name)NotificationStateNotificationStateService. getOrInitializeNotificationState(NotificationStateAware stateAware, String name)Search theNotificationStateon theNotificationStateAwareby its name.NotificationHandlerResponseDefaultNotificationHandler. handle(NotificationStateRepository repo, NotificationStateAware notifiable, String requestedType)voidDefaultNotificationManager. handle(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType)NotificationHandlerResponseNotificationHandler. handle(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType)Notify the system in some way about the state change for the notifiable param.voidNotificationManager. handle(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType)Notify the system in some way about the state change for the notifiable param.protected booleanDefaultNotificationHandler. notify(NotificationStateAware notifiable, NotificationState state, NotificationStateRepository repository)Validate the state requires notification, and if so, send the notification.protected NotificationStateAwareDefaultNotificationHandler. 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 Constructor Description InternalPersistenceEvent(NotificationStateAware notifiable)
-