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_MUTED_SPACES, EXO_WEEKLY, VALUE_PATTERN -
Constructor Summary
ConstructorsConstructorDescriptionNotificationServiceImpl(org.exoplatform.commons.api.notification.channel.ChannelManager channelManager, org.exoplatform.commons.api.notification.service.setting.UserSettingService userService, org.exoplatform.services.organization.OrganizationService organizationService, org.exoplatform.commons.api.notification.service.template.DigestorService digestorService, org.exoplatform.commons.api.notification.service.storage.MailNotificationStorage storage, NotificationContextFactory notificationContextFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoiddigest(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 Details
-
NotificationServiceImpl
public NotificationServiceImpl(org.exoplatform.commons.api.notification.channel.ChannelManager channelManager, org.exoplatform.commons.api.notification.service.setting.UserSettingService userService, org.exoplatform.services.organization.OrganizationService organizationService, org.exoplatform.commons.api.notification.service.template.DigestorService digestorService, org.exoplatform.commons.api.notification.service.storage.MailNotificationStorage storage, NotificationContextFactory notificationContextFactory)
-
-
Method Details
-
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
-
digest
public void digest(org.exoplatform.commons.api.notification.NotificationContext notifContext) throws Exception - Specified by:
digestin interfaceorg.exoplatform.commons.api.notification.service.storage.NotificationService- Throws:
Exception
-