Class NotificationServiceImpl
- java.lang.Object
-
- org.exoplatform.commons.notification.impl.AbstractService
-
- org.exoplatform.commons.notification.impl.service.NotificationServiceImpl
-
- All Implemented Interfaces:
org.exoplatform.commons.api.notification.service.storage.NotificationService
public class NotificationServiceImpl extends AbstractService implements org.exoplatform.commons.api.notification.service.storage.NotificationService
-
-
Field Summary
-
Fields inherited from class org.exoplatform.commons.notification.impl.AbstractService
EXO_DAILY, EXO_INSTANTLY, EXO_IS_ACTIVE, EXO_IS_ENABLED, EXO_LAST_READ_DATE, EXO_WEEKLY, VALUE_PATTERN
-
-
Constructor Summary
Constructors Constructor Description NotificationServiceImpl(org.exoplatform.commons.api.notification.channel.ChannelManager channelManager, 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.MailNotificationStorage storage, NotificationContextFactory notificationContextFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddigest(org.exoplatform.commons.api.notification.NotificationContext notifContext)voidprocess(Collection<org.exoplatform.commons.api.notification.model.NotificationInfo> messages)voidprocess(org.exoplatform.commons.api.notification.model.NotificationInfo notification)-
Methods inherited from class org.exoplatform.commons.notification.impl.AbstractService
getValues
-
-
-
-
Constructor Detail
-
NotificationServiceImpl
public NotificationServiceImpl(org.exoplatform.commons.api.notification.channel.ChannelManager channelManager, 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.MailNotificationStorage storage, NotificationContextFactory notificationContextFactory)
-
-
Method Detail
-
process
public void process(org.exoplatform.commons.api.notification.model.NotificationInfo notification) throws Exception- Specified by:
processin interfaceorg.exoplatform.commons.api.notification.service.storage.NotificationService- Throws:
Exception
-
process
public void process(Collection<org.exoplatform.commons.api.notification.model.NotificationInfo> messages) throws Exception
- Specified by:
processin interfaceorg.exoplatform.commons.api.notification.service.storage.NotificationService- Throws:
Exception
-
-