public class MailNotificationStorageImpl extends AbstractService implements org.exoplatform.commons.api.notification.service.storage.MailNotificationStorage
ASCENDING, DATE_NODE_PATTERN, DAY, DEFAULT_WORKSPACE_NAME, DESCENDING, EXO_DAILY, EXO_DATE_CREATED, EXO_INSTANTLY, EXO_IS_ACTIVE, EXO_IS_ENABLED, EXO_LAST_MODIFIED_DATE, EXO_LAST_READ_DATE, EXO_MODIFY, EXO_WEEKLY, JCR_ROOT, MESSAGE_HOME_NODE, MESSAGE_INFO_HOME_NODE, MIX_DEFAULT_SETTING, MIX_NEW_NODE, MIX_SUB_MESSAGE_HOME, NOTIFICATION_HOME_NODE, NOTIFICATION_PARENT_PATH, NTF_CHANNEL, NTF_FROM, NTF_LAST_MODIFIED_DATE, NTF_MESSAGE, NTF_MESSAGE_HOME, NTF_MESSAGE_INFO, NTF_MESSAGE_INFO_HOME, NTF_NAME_SPACE, NTF_NOTIF_DATE, NTF_NOTIF_INFO, NTF_NOTIF_USER, NTF_NOTIFICATION, NTF_ORDER, NTF_OWNER, NTF_OWNER_PARAMETER, NTF_PARENT_ID, NTF_PLUGIN_ID, NTF_PROVIDER_TYPE, NTF_READ, NTF_SEND_TO_DAILY, NTF_SEND_TO_MONTHLY, NTF_SEND_TO_WEEKLY, NTF_SENDER, NTF_SHOW_POPOVER, NTF_TEXT, NTF_TO, SETTING_NODE, SETTING_USER_NODE, SETTING_USER_PATH, STG_CONTEXT, STG_SCOPE, STG_SIMPLE_CONTEXT, STG_SUBCONTEXT, VALUE_PATTERN, WEB_CHANNEL, WORKSPACE_PARAM| Constructor and Description |
|---|
MailNotificationStorageImpl(NotificationConfiguration configuration,
NotificationContextFactory notificationContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllDigests() |
org.exoplatform.commons.api.notification.model.NotificationInfo |
fillModel(javax.jcr.Node node) |
Map<org.exoplatform.commons.api.notification.model.PluginKey,List<org.exoplatform.commons.api.notification.model.NotificationInfo>> |
getByUser(org.exoplatform.commons.api.notification.NotificationContext context,
org.exoplatform.commons.api.notification.model.UserSetting setting) |
void |
removeMessageAfterSent(org.exoplatform.commons.api.notification.NotificationContext ctx) |
void |
save(org.exoplatform.commons.api.notification.model.NotificationInfo message) |
getCurrentTenantName, getMessageInfoHomeNode, getMessageNodeByPluginId, getNodeIteratorOrderDESC, getNotificationHomeNode, getOrCreateMessageNode, getOrCreateMessageParent, getSession, getValue, getValues, sessionSavepublic MailNotificationStorageImpl(NotificationConfiguration configuration, NotificationContextFactory notificationContextFactory)
public void save(org.exoplatform.commons.api.notification.model.NotificationInfo message)
throws Exception
save in interface org.exoplatform.commons.api.notification.service.storage.MailNotificationStorageExceptionpublic Map<org.exoplatform.commons.api.notification.model.PluginKey,List<org.exoplatform.commons.api.notification.model.NotificationInfo>> getByUser(org.exoplatform.commons.api.notification.NotificationContext context, org.exoplatform.commons.api.notification.model.UserSetting setting)
getByUser in interface org.exoplatform.commons.api.notification.service.storage.MailNotificationStoragepublic org.exoplatform.commons.api.notification.model.NotificationInfo fillModel(javax.jcr.Node node)
throws Exception
Exceptionpublic void removeMessageAfterSent(org.exoplatform.commons.api.notification.NotificationContext ctx)
throws Exception
removeMessageAfterSent in interface org.exoplatform.commons.api.notification.service.storage.MailNotificationStorageExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.