public interface ChannelHubManager
| Modifier and Type | Method and Description |
|---|---|
void |
confirmDelivery(long companyId,
long userId,
Collection<String> notificationEventUuids) |
void |
confirmDelivery(long companyId,
long userId,
Collection<String> notificationEventUuids,
boolean archive) |
void |
confirmDelivery(long companyId,
long userId,
String notificationEventUuid) |
void |
confirmDelivery(long companyId,
long userId,
String notificationEventUuid,
boolean archive) |
Channel |
createChannel(long companyId,
long userId) |
ChannelHub |
createChannelHub(long companyId) |
void |
deleteUserNotificiationEvent(long companyId,
long userId,
String notificationEventUuid) |
void |
deleteUserNotificiationEvents(long companyId,
long userId,
Collection<String> notificationEventUuids) |
void |
destroyChannel(long companyId,
long userId) |
void |
destroyChannelHub(long companyId) |
ChannelHub |
fetchChannelHub(long companyId) |
ChannelHub |
fetchChannelHub(long companyId,
boolean createIfAbsent) |
List<NotificationEvent> |
fetchNotificationEvents(long companyId,
long userId,
boolean flush) |
void |
flush() |
void |
flush(long companyId) |
void |
flush(long companyId,
long userId,
long timestamp) |
Channel |
getChannel(long companyId,
long userId) |
Channel |
getChannel(long companyId,
long userId,
boolean createIfAbsent) |
ChannelHub |
getChannelHub(long companyId) |
ChannelHub |
getChannelHub(long companyId,
boolean createIfAbsent) |
List<NotificationEvent> |
getNotificationEvents(long companyId,
long userId) |
List<NotificationEvent> |
getNotificationEvents(long companyId,
long userId,
boolean flush) |
Collection<Long> |
getUserIds(long companyId) |
void |
registerChannelListener(long companyId,
long userId,
ChannelListener channelListener) |
void |
removeTransientNotificationEvents(long companyId,
long userId,
Collection<NotificationEvent> notificationEvents) |
void |
removeTransientNotificationEventsByUuid(long companyId,
long userId,
Collection<String> notificationEventUuids) |
void |
sendNotificationEvent(long companyId,
long userId,
NotificationEvent notificationEvent) |
void |
sendNotificationEvents(long companyId,
long userId,
Collection<NotificationEvent> notificationEvents) |
void |
storeNotificationEvent(long companyId,
long userId,
NotificationEvent notificationEvent) |
void |
unregisterChannelListener(long companyId,
long userId,
ChannelListener channelListener) |
void confirmDelivery(long companyId,
long userId,
Collection<String> notificationEventUuids)
throws ChannelException
ChannelExceptionvoid confirmDelivery(long companyId,
long userId,
Collection<String> notificationEventUuids,
boolean archive)
throws ChannelException
ChannelExceptionvoid confirmDelivery(long companyId,
long userId,
String notificationEventUuid)
throws ChannelException
ChannelExceptionvoid confirmDelivery(long companyId,
long userId,
String notificationEventUuid,
boolean archive)
throws ChannelException
ChannelExceptionChannel createChannel(long companyId, long userId) throws ChannelException
ChannelExceptionChannelHub createChannelHub(long companyId) throws ChannelException
ChannelExceptionvoid deleteUserNotificiationEvent(long companyId,
long userId,
String notificationEventUuid)
throws ChannelException
ChannelExceptionvoid deleteUserNotificiationEvents(long companyId,
long userId,
Collection<String> notificationEventUuids)
throws ChannelException
ChannelExceptionvoid destroyChannel(long companyId,
long userId)
throws ChannelException
ChannelExceptionvoid destroyChannelHub(long companyId)
throws ChannelException
ChannelExceptionChannelHub fetchChannelHub(long companyId) throws ChannelException
ChannelExceptionChannelHub fetchChannelHub(long companyId, boolean createIfAbsent) throws ChannelException
ChannelExceptionList<NotificationEvent> fetchNotificationEvents(long companyId, long userId, boolean flush) throws ChannelException
ChannelExceptionvoid flush()
throws ChannelException
ChannelExceptionvoid flush(long companyId)
throws ChannelException
ChannelExceptionvoid flush(long companyId,
long userId,
long timestamp)
throws ChannelException
ChannelExceptionChannel getChannel(long companyId, long userId) throws ChannelException
ChannelExceptionChannel getChannel(long companyId, long userId, boolean createIfAbsent) throws ChannelException
ChannelExceptionChannelHub getChannelHub(long companyId) throws ChannelException
ChannelExceptionChannelHub getChannelHub(long companyId, boolean createIfAbsent) throws ChannelException
ChannelExceptionList<NotificationEvent> getNotificationEvents(long companyId, long userId) throws ChannelException
ChannelExceptionList<NotificationEvent> getNotificationEvents(long companyId, long userId, boolean flush) throws ChannelException
ChannelExceptionCollection<Long> getUserIds(long companyId) throws ChannelException
ChannelExceptionvoid registerChannelListener(long companyId,
long userId,
ChannelListener channelListener)
throws ChannelException
ChannelExceptionvoid removeTransientNotificationEvents(long companyId,
long userId,
Collection<NotificationEvent> notificationEvents)
throws ChannelException
ChannelExceptionvoid removeTransientNotificationEventsByUuid(long companyId,
long userId,
Collection<String> notificationEventUuids)
throws ChannelException
ChannelExceptionvoid sendNotificationEvent(long companyId,
long userId,
NotificationEvent notificationEvent)
throws ChannelException
ChannelExceptionvoid sendNotificationEvents(long companyId,
long userId,
Collection<NotificationEvent> notificationEvents)
throws ChannelException
ChannelExceptionvoid storeNotificationEvent(long companyId,
long userId,
NotificationEvent notificationEvent)
throws ChannelException
ChannelExceptionvoid unregisterChannelListener(long companyId,
long userId,
ChannelListener channelListener)
throws ChannelException
ChannelException