public class NotificationDataStorageImpl extends AbstractService implements org.exoplatform.commons.api.notification.service.storage.NotificationDataStorage
ASCENDING, DAY, DEFAULT_WORKSPACE_NAME, DESCENDING, EXO_DAILY, EXO_INSTANTLY, EXO_IS_ACTIVE, EXO_LAST_MODIFIED_DATE, EXO_WEEKLY, JCR_ROOT, MESSAGE_HOME_NODE, MESSAGE_INFO_HOME_NODE, MIX_DEFAULT_SETTING, MIX_SUB_MESSAGE_HOME, NOTIFICATION_HOME_NODE, NOTIFICATION_PARENT_PATH, NTF_FROM, NTF_MESSAGE, NTF_MESSAGE_HOME, NTF_MESSAGE_INFO, NTF_MESSAGE_INFO_HOME, NTF_NOTIFICATION, NTF_ORDER, NTF_OWNER_PARAMETER, NTF_PROVIDER_TYPE, NTF_SEND_TO_DAILY, NTF_SEND_TO_WEEKLY, SETTING_NODE, SETTING_USER_NODE, SETTING_USER_PATH, STG_CONTEXT, STG_SCOPE, STG_SIMPLE_CONTEXT, STG_SUBCONTEXT, WORKSPACE_PARAM| Constructor and Description |
|---|
NotificationDataStorageImpl(NotificationConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
Map<org.exoplatform.commons.api.notification.model.NotificationKey,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() |
void |
save(org.exoplatform.commons.api.notification.model.NotificationInfo message) |
getCurrentTenantName, getMessageInfoHomeNode, getMessageNodeByPluginId, getNotificationHomeNode, getOrCreateMessageNode, getOrCreateMessageParent, getSession, sessionSavepublic NotificationDataStorageImpl(NotificationConfiguration configuration)
public void save(org.exoplatform.commons.api.notification.model.NotificationInfo message)
throws Exception
save in interface org.exoplatform.commons.api.notification.service.storage.NotificationDataStorageExceptionpublic Map<org.exoplatform.commons.api.notification.model.NotificationKey,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.NotificationDataStorageCopyright © 2003–2015 eXo Platform SAS. All rights reserved.