Class DefaultLifecycle
- java.lang.Object
-
- org.exoplatform.commons.api.notification.lifecycle.AbstractNotificationLifecycle
-
- org.exoplatform.commons.api.notification.lifecycle.DefaultLifecycle
-
public final class DefaultLifecycle extends AbstractNotificationLifecycle
Created by The eXo Platform SAS Author : eXoPlatform thanhvc@exoplatform.com Jan 19, 2015
-
-
Constructor Summary
Constructors Constructor Description DefaultLifecycle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(NotificationContext ctx, String userId)Process the notification for the uservoidprocess(NotificationContext ctx, String... userIds)Process the notification for multi-usersvoidsend(NotificationContext ctx)Sends the message by Mail, UI or any the configured channel-
Methods inherited from class org.exoplatform.commons.api.notification.lifecycle.AbstractNotificationLifecycle
getChannel, setChannel, store, update
-
-
-
-
Method Detail
-
process
public void process(NotificationContext ctx, String userId)
Description copied from class:AbstractNotificationLifecycleProcess the notification for the user- Specified by:
processin classAbstractNotificationLifecycle
-
process
public void process(NotificationContext ctx, String... userIds)
Description copied from class:AbstractNotificationLifecycleProcess the notification for multi-users- Specified by:
processin classAbstractNotificationLifecycle
-
send
public void send(NotificationContext ctx)
Description copied from class:AbstractNotificationLifecycleSends the message by Mail, UI or any the configured channel- Overrides:
sendin classAbstractNotificationLifecycle
-
-