| 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 |
|---|---|
boolean |
NotificationExecutor.execute(NotificationContext ctx) |
void |
NotificationCommand.processDigest(NotificationContext ctx,
Writer writer)
Builds a digest message which is sent daily or weekly.
|
MessageInfo |
NotificationCommand.processMessage(NotificationContext ctx)
Builds information of a message from the notification context.
|
NotificationInfo |
NotificationCommand.processNotification(NotificationContext ctx)
Builds information of a notification from the notification context.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractNotificationPlugin.buildDigest(NotificationContext ctx,
Writer writer)
Makes digest message
|
MessageInfo |
AbstractNotificationPlugin.buildMessage(NotificationContext ctx)
Makes massage
|
NotificationInfo |
AbstractNotificationPlugin.buildNotification(NotificationContext ctx)
Makes notification
|
void |
AbstractNotificationPlugin.end(NotificationContext ctx)
End the plug in
|
abstract boolean |
AbstractNotificationPlugin.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 boolean |
AbstractNotificationChildPlugin.makeDigest(NotificationContext ctx,
Writer writer) |
protected abstract MessageInfo |
AbstractNotificationPlugin.makeMessage(NotificationContext ctx)
Makes the MessageInfor from given NotificationMessage what keep inside NotificationContext
|
protected MessageInfo |
AbstractNotificationChildPlugin.makeMessage(NotificationContext ctx) |
protected abstract NotificationInfo |
AbstractNotificationPlugin.makeNotification(NotificationContext ctx)
Makes MessageInfo from given information what keep inside NotificationContext
|
protected NotificationInfo |
AbstractNotificationChildPlugin.makeNotification(NotificationContext ctx) |
void |
AbstractNotificationPlugin.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<NotificationKey,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<NotificationKey,List<NotificationInfo>> notificationData,
UserSetting userSetting)
Builds information of a message from a list of notification messages.
|
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.