Uses of Interface
org.exoplatform.commons.api.notification.NotificationContext
-
-
Uses of NotificationContext in org.exoplatform.commons.api.notification
Methods in org.exoplatform.commons.api.notification that return NotificationContext Modifier and Type Method Description <T> NotificationContextNotificationContext. append(ArgumentLiteral<T> argument, Object value)Append the argument literal.NotificationContextNotificationContext. clone()Creates and returns a copy of this object If class extends NotificationContextImpl and implements method clone(), then must use supper.clone();<T> NotificationContextNotificationContext. remove(ArgumentLiteral<T> filter)Removes the query parameter.NotificationContextNotificationContext. setNotificationInfo(NotificationInfo notification)Sets notification infomation -
Uses of NotificationContext in org.exoplatform.commons.api.notification.channel
Methods in org.exoplatform.commons.api.notification.channel with parameters of type NotificationContext Modifier and Type Method Description abstract voidAbstractChannel. dispatch(NotificationContext ctx, String userId)Process the notification information for the specified user. -
Uses of NotificationContext in org.exoplatform.commons.api.notification.channel.template
Methods in org.exoplatform.commons.api.notification.channel.template with parameters of type NotificationContext Modifier and Type Method Description booleanAbstractTemplateBuilder. buildDigest(NotificationContext ctx, Writer writer)Makes digest messageMessageInfoAbstractTemplateBuilder. buildMessage(NotificationContext ctx)Makes massageprotected abstract booleanAbstractTemplateBuilder. makeDigest(NotificationContext ctx, Writer writer)Makes the Digest message from given NotificationMessage what keep inside NotificationContextprotected booleanPluginTemplateBuilderAdapter. makeDigest(NotificationContext ctx, Writer writer)protected abstract MessageInfoAbstractTemplateBuilder. makeMessage(NotificationContext ctx)Makes the MessageInfor from given NotificationMessage what keep inside NotificationContextprotected MessageInfoPluginTemplateBuilderAdapter. makeMessage(NotificationContext ctx) -
Uses of NotificationContext in org.exoplatform.commons.api.notification.command
Methods in org.exoplatform.commons.api.notification.command with parameters of type NotificationContext Modifier and Type Method Description booleanNotificationExecutor. execute(NotificationContext ctx)NotificationInfoNotificationCommand. processNotification(NotificationContext ctx)Builds information of a notification from the notification context. -
Uses of NotificationContext in org.exoplatform.commons.api.notification.lifecycle
Methods in org.exoplatform.commons.api.notification.lifecycle with parameters of type NotificationContext Modifier and Type Method Description abstract voidAbstractNotificationLifecycle. process(NotificationContext ctx, String userId)Process the notification for the userabstract voidAbstractNotificationLifecycle. process(NotificationContext ctx, String... userIds)Process the notification for multi-usersvoidBaseNotificationLifecycle. process(NotificationContext ctx, String userId)voidBaseNotificationLifecycle. process(NotificationContext ctx, String... userIds)voidDefaultLifecycle. process(NotificationContext ctx, String userId)voidDefaultLifecycle. process(NotificationContext ctx, String... userIds)voidAbstractNotificationLifecycle. send(NotificationContext ctx)Sends the message by Mail, UI or any the configured channelvoidDefaultLifecycle. send(NotificationContext ctx) -
Uses of NotificationContext in org.exoplatform.commons.api.notification.plugin
Methods in org.exoplatform.commons.api.notification.plugin with parameters of type NotificationContext Modifier and Type Method Description booleanAbstractNotificationPlugin. buildDigest(NotificationContext ctx, Writer writer)Makes digest messageMessageInfoAbstractNotificationPlugin. buildMessage(NotificationContext ctx)Makes massageNotificationInfoBaseNotificationPlugin. buildNotification(NotificationContext ctx)Makes notificationvoidBaseNotificationPlugin. end(NotificationContext ctx)End the plug inabstract booleanBaseNotificationPlugin. isValid(NotificationContext ctx)Check, for each plugin, if we will send notificationabstract StringAbstractNotificationChildPlugin. makeContent(NotificationContext ctx)protected abstract booleanAbstractNotificationPlugin. makeDigest(NotificationContext ctx, Writer writer)Makes the Digest message from given NotificationMessage what keep inside NotificationContextprotected abstract MessageInfoAbstractNotificationPlugin. makeMessage(NotificationContext ctx)Makes the MessageInfor from given NotificationMessage what keep inside NotificationContextprotected NotificationInfoAbstractNotificationChildPlugin. makeNotification(NotificationContext ctx)protected abstract NotificationInfoBaseNotificationPlugin. makeNotification(NotificationContext ctx)Makes MessageInfo from given information what keep inside NotificationContextvoidBaseNotificationPlugin. start(NotificationContext ctx)Start the plug in -
Uses of NotificationContext in org.exoplatform.commons.api.notification.service.setting
Methods in org.exoplatform.commons.api.notification.service.setting with parameters of type NotificationContext Modifier and Type Method 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. -
Uses of NotificationContext in org.exoplatform.commons.api.notification.service.storage
Methods in org.exoplatform.commons.api.notification.service.storage with parameters of type NotificationContext Modifier and Type Method Description voidNotificationService. digest(NotificationContext context)Collects information of a digest message and sends it daily or weekly.Map<PluginKey,List<NotificationInfo>>MailNotificationStorage. getByUser(NotificationContext context, UserSetting userSetting)Gets information of all notifications of a user.voidMailNotificationStorage. removeMessageAfterSent(NotificationContext context)Removes all messages after they have been sent. -
Uses of NotificationContext in org.exoplatform.commons.api.notification.service.template
Methods in org.exoplatform.commons.api.notification.service.template with parameters of type NotificationContext Modifier and Type Method Description MessageInfoDigestorService. buildMessage(NotificationContext context, Map<PluginKey,List<NotificationInfo>> notificationData, UserSetting userSetting)Builds information of a message from a list of notification messages.
-