public abstract class AbstractNotificationLifecycle extends Object
| Constructor and Description |
|---|
AbstractNotificationLifecycle() |
| Modifier and Type | Method and Description |
|---|---|
AbstractChannel |
getChannel()
Gets the channel
|
abstract void |
process(NotificationContext ctx,
String... userIds)
Process the notification for multi-users
|
abstract void |
process(NotificationContext ctx,
String userId)
Process the notification for the user
|
void |
send(NotificationContext ctx)
Sends the message by Mail, UI or any the configured channel
|
void |
setChannel(AbstractChannel channel)
Sets the channel to the lifecycle
|
void |
store(NotificationInfo notifInfo)
Storage the notification into the db
|
void |
update(NotificationInfo notifInfo)
Update an existing notification
|
public AbstractChannel getChannel()
public void setChannel(AbstractChannel channel)
channel - public abstract void process(NotificationContext ctx, String... userIds)
ctx - userIds - public abstract void process(NotificationContext ctx, String userId)
ctx - userId - public void store(NotificationInfo notifInfo)
notifInfo - public void update(NotificationInfo notifInfo)
notifInfo - public void send(NotificationContext ctx)
ctx - Copyright © 2003–2015 eXo Platform SAS. All rights reserved.