public interface INotifyService
| Modifier and Type | Interface and Description |
|---|---|
static interface |
INotifyService.IConfirmationListener |
static interface |
INotifyService.IErrorListener |
static interface |
INotifyService.INotificationListner |
static interface |
INotifyService.IParamsFactory |
static class |
INotifyService.NotifyException |
static class |
INotifyService.NotifyRuntimeException |
static class |
INotifyService.Utils |
| Modifier and Type | Field and Description |
|---|---|
static Param<Object> |
CHANNEL_PREFERENCES |
static Param<String> |
CONFIRMATION_URL
URL for confirmations
|
static String |
MAIL_CHANNEL |
static Param<Object> |
NOTIFICATION |
static Param<String> |
NOTIFY_UNKNOWN
force notifying of unknown user id
|
static Param<Object> |
PREFERENCES |
static String |
PRIVATE_FEED_CHANNEL |
static String |
PUBLIC_FEED_CHANNEL |
static Param<Boolean> |
RENDER_MASTER_TEMPLATE |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfirmationListener(INotifyService.IConfirmationListener listener) |
void |
addErrorListener(INotifyService.IErrorListener listener) |
void |
addNotificationListener(INotifyService.INotificationListner listner) |
void |
confirm(Notification notification) |
void |
confirmNow(Notification notification) |
IPreferences |
getPreferences(String userId) |
IPreferences |
newPreferences(String userId) |
void |
notify(Notification notification) |
void |
notifyNow(Notification notification) |
void |
removeConfirmationListener(INotifyService.IConfirmationListener listener) |
void |
removeErrorListener(INotifyService.IErrorListener listener) |
void |
removeNotificationListener(INotifyService.INotificationListner listner) |
void |
removePreferences(String userId)
depends on the implementation of
IPreferencesDAO |
void |
setPreferences(IPreferences prefs)
depends on the implementation of
IPreferencesDAO |
String |
toPullPath(String channelId,
String userId,
IParams params) |
static final String MAIL_CHANNEL
static final String PRIVATE_FEED_CHANNEL
static final String PUBLIC_FEED_CHANNEL
IPreferences getPreferences(@Nonnull String userId)
@Nonnull IPreferences newPreferences(@Nonnull String userId)
void setPreferences(@Nonnull IPreferences prefs)
IPreferencesDAOINotifyService.NotifyRuntimeException - if not implementedvoid removePreferences(@Nonnull String userId)
IPreferencesDAOINotifyService.NotifyRuntimeException - if not implementedvoid notify(@Nonnull Notification notification)
void notifyNow(@Nonnull Notification notification) throws INotifyService.NotifyException
INotifyService.NotifyExceptionvoid confirm(@Nonnull Notification notification)
void confirmNow(@Nonnull Notification notification) throws INotifyService.NotifyException
INotifyService.NotifyExceptionvoid addErrorListener(@Nonnull INotifyService.IErrorListener listener)
void removeErrorListener(@Nonnull INotifyService.IErrorListener listener)
void addNotificationListener(@Nonnull INotifyService.INotificationListner listner)
void removeNotificationListener(@Nonnull INotifyService.INotificationListner listner)
void addConfirmationListener(@Nonnull INotifyService.IConfirmationListener listener)
void removeConfirmationListener(@Nonnull INotifyService.IConfirmationListener listener)
Copyright © 2015 Molindo GmbH. All Rights Reserved.