Class BaseJpaNotificationStateRepository
java.lang.Object
com.broadleafcommerce.data.tracking.jpa.messaging.BaseJpaNotificationStateRepository
- Direct Known Subclasses:
JpaNotificationStateRepositoryFragment
,JpaTrackableNotificationStateRepository
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionStream<com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware>
findNotificationReadyMembers
(Object lastProcessedNativeId, int pageSize, String messageType, Duration faultThreshold, Class<?> entityType) javax.persistence.EntityManager
getEntityTypes
(@NonNull Class<?> entityType) Gather list relevant class names, including the provided class & its super classgetPolyMorphicVariations
(Class<?> entityType) boolean
setFailedNotificationAttempt
(Object nativeId, String messageType, int attemptCount, Instant nextAttempt, Class<?> entityType, boolean stopped) boolean
setNotificationAcknowledged
(Object nativeId, String messageType, int attemptCount, Class<?> entityType)
-
Constructor Details
-
BaseJpaNotificationStateRepository
public BaseJpaNotificationStateRepository() -
BaseJpaNotificationStateRepository
public BaseJpaNotificationStateRepository(javax.persistence.EntityManager em)
-
-
Method Details
-
setNotificationAcknowledged
-
setFailedNotificationAttempt
-
getEntityTypes
Gather list relevant class names, including the provided class & its super class- Parameters:
entityType
- the starting class whose name & super class's name should be gathered- Returns:
- the list relevant class names
-
findNotificationReadyMembers
-
getPolyMorphicVariations
-
getEntityManager
public javax.persistence.EntityManager getEntityManager()
-