| Modifier and Type | Method and Description |
|---|---|
<T> NotificationContext |
NotificationContext.append(ArgumentLiteral<T> argument,
Object value)
Append the argument literal.
|
NotificationContext |
NotificationContext.clone()
Creates and returns a copy of this object
If class extends NotificationContextImpl and implements method clone(),
then must use supper.clone();
|
<T> NotificationContext |
NotificationContext.remove(ArgumentLiteral<T> filter)
Removes the query parameter.
|
NotificationContext |
NotificationContext.setNotificationInfo(NotificationInfo notification)
Sets notification infomation
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
AbstractChannel.dispatch(NotificationContext ctx,
String userId)
Process the notification information for the specified user.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractTemplateBuilder.buildDigest(NotificationContext ctx,
Writer writer)
Makes digest message
|
MessageInfo |
AbstractTemplateBuilder.buildMessage(NotificationContext ctx)
Makes massage
|
protected abstract boolean |
AbstractTemplateBuilder.makeDigest(NotificationContext ctx,
Writer writer)
Makes the Digest message from given NotificationMessage what keep inside NotificationContext
|
protected boolean |
PluginTemplateBuilderAdapter.makeDigest(NotificationContext ctx,
Writer writer) |
protected abstract MessageInfo |
AbstractTemplateBuilder.makeMessage(NotificationContext ctx)
Makes the MessageInfor from given NotificationMessage what keep inside NotificationContext
|
protected MessageInfo |
PluginTemplateBuilderAdapter.makeMessage(NotificationContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NotificationExecutor.execute(NotificationContext ctx) |
NotificationInfo |
NotificationCommand.processNotification(NotificationContext ctx)
Builds information of a notification from the notification context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultLifecycle.process(NotificationContext ctx,
String... userIds) |
abstract void |
AbstractNotificationLifecycle.process(NotificationContext ctx,
String... userIds)
Process the notification for multi-users
|
void |
BaseNotificationLifecycle.process(NotificationContext ctx,
String... userIds) |
void |
DefaultLifecycle.process(NotificationContext ctx,
String userId) |
abstract void |
AbstractNotificationLifecycle.process(NotificationContext ctx,
String userId)
Process the notification for the user
|
void |
BaseNotificationLifecycle.process(NotificationContext ctx,
String userId) |
void |
DefaultLifecycle.send(NotificationContext ctx) |
void |
AbstractNotificationLifecycle.send(NotificationContext ctx)
Sends the message by Mail, UI or any the configured channel
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractNotificationPlugin.buildDigest(NotificationContext ctx,
Writer writer)
Makes digest message
|
MessageInfo |
AbstractNotificationPlugin.buildMessage(NotificationContext ctx)
Makes massage
|
NotificationInfo |
BaseNotificationPlugin.buildNotification(NotificationContext ctx)
Makes notification
|
void |
BaseNotificationPlugin.end(NotificationContext ctx)
End the plug in
|
abstract boolean |
BaseNotificationPlugin.isValid(NotificationContext ctx)
Check, for each plugin, if we will send notification
|
abstract String |
AbstractNotificationChildPlugin.makeContent(NotificationContext ctx) |
protected abstract boolean |
AbstractNotificationPlugin.makeDigest(NotificationContext ctx,
Writer writer)
Makes the Digest message from given NotificationMessage what keep inside NotificationContext
|
protected abstract MessageInfo |
AbstractNotificationPlugin.makeMessage(NotificationContext ctx)
Makes the MessageInfor from given NotificationMessage what keep inside NotificationContext
|
protected NotificationInfo |
AbstractNotificationChildPlugin.makeNotification(NotificationContext ctx) |
protected abstract NotificationInfo |
BaseNotificationPlugin.makeNotification(NotificationContext ctx)
Makes MessageInfo from given information what keep inside NotificationContext
|
void |
BaseNotificationPlugin.start(NotificationContext ctx)
Start the plug in
|
| Modifier and Type | Method and Description |
|---|---|
List<UserSetting> |
UserSettingService.getDigestSettingForAllUser(NotificationContext context,
int offset,
int limit)
Gets the list of user settings which has at least the plug-in to be configured by weekly or daily.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NotificationService.digest(NotificationContext context)
Collects information of a digest message and sends it daily or weekly.
|
Map<PluginKey,List<NotificationInfo>> |
NotificationDataStorage.getByUser(NotificationContext context,
UserSetting userSetting)
Gets information of all notifications of a user.
|
| Modifier and Type | Method and Description |
|---|---|
MessageInfo |
DigestorService.buildMessage(NotificationContext context,
Map<PluginKey,List<NotificationInfo>> notificationData,
UserSetting userSetting)
Builds information of a message from a list of notification messages.
|
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.