Uses of Interface
org.exoplatform.commons.api.notification.NotificationContext
Packages that use NotificationContext
Package
Description
-
Uses of NotificationContext in org.exoplatform.commons.api.notification
Methods in org.exoplatform.commons.api.notification that return NotificationContextModifier and TypeMethodDescriptionNotificationContext.append(ArgumentLiteral<T> argument, Object value) Append the argument literal.NotificationContext.clone()Creates and returns a copy of this object If class extends NotificationContextImpl and implements method clone(), then must use supper.clone();NotificationContext.remove(ArgumentLiteral<T> filter) Removes the query parameter.NotificationContext.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 NotificationContextModifier and TypeMethodDescriptionabstract 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 NotificationContextModifier and TypeMethodDescriptionbooleanAbstractTemplateBuilder.buildDigest(NotificationContext ctx, Writer writer) Makes digest messageAbstractTemplateBuilder.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 NotificationContextModifier and TypeMethodDescriptionbooleanNotificationExecutor.execute(NotificationContext ctx) NotificationCommand.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 NotificationContextModifier and TypeMethodDescriptionabstract 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 NotificationContextModifier and TypeMethodDescriptionbooleanAbstractNotificationPlugin.buildDigest(NotificationContext ctx, Writer writer) Makes digest messageAbstractNotificationPlugin.buildMessage(NotificationContext ctx) Makes massageBaseNotificationPlugin.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 NotificationContextModifier and TypeMethodDescriptionUserSettingService.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 NotificationContextModifier and TypeMethodDescriptionvoidNotificationService.digest(NotificationContext context) Collects information of a digest message and sends it daily or weekly.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 NotificationContextModifier and TypeMethodDescriptionDigestorService.buildMessage(NotificationContext context, Map<PluginKey, List<NotificationInfo>> notificationData, UserSetting userSetting) Builds information of a message from a list of notification messages.