public class NotificationServiceImpl extends AbstractService implements org.exoplatform.commons.api.notification.service.storage.NotificationService
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 |
|---|
NotificationServiceImpl(org.exoplatform.commons.api.notification.service.setting.UserSettingService userService,
org.exoplatform.commons.api.notification.service.template.DigestorService digestorService,
org.exoplatform.commons.api.notification.service.storage.NotificationDataStorage storage) |
| Modifier and Type | Method and Description |
|---|---|
void |
digest(org.exoplatform.commons.api.notification.NotificationContext notifContext) |
void |
process(Collection<org.exoplatform.commons.api.notification.model.NotificationInfo> messages) |
void |
process(org.exoplatform.commons.api.notification.model.NotificationInfo notification) |
getCurrentTenantName, getMessageInfoHomeNode, getMessageNodeByPluginId, getNotificationHomeNode, getOrCreateMessageNode, getOrCreateMessageParent, getSession, sessionSavepublic NotificationServiceImpl(org.exoplatform.commons.api.notification.service.setting.UserSettingService userService,
org.exoplatform.commons.api.notification.service.template.DigestorService digestorService,
org.exoplatform.commons.api.notification.service.storage.NotificationDataStorage storage)
public void process(org.exoplatform.commons.api.notification.model.NotificationInfo notification)
throws Exception
process in interface org.exoplatform.commons.api.notification.service.storage.NotificationServiceExceptionpublic void process(Collection<org.exoplatform.commons.api.notification.model.NotificationInfo> messages) throws Exception
process in interface org.exoplatform.commons.api.notification.service.storage.NotificationServiceExceptionCopyright © 2003–2015 eXo Platform SAS. All rights reserved.