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

    Fields inherited from interface org.exoplatform.commons.api.notification.service.storage.NotificationService

    NOTIFICATION_PROCESSED_EVENT
  • 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.services.organization.OrganizationService organizationService, NotificationContextFactory notificationContextFactory, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.commons.api.notification.service.NotificationCompletionService completionService, org.exoplatform.commons.persistence.impl.EntityManagerService entityManagerService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(Collection<org.exoplatform.commons.api.notification.model.NotificationInfo> messages)
     
    void
    process(org.exoplatform.commons.api.notification.model.NotificationInfo notification)
     

    Methods inherited from class org.exoplatform.commons.notification.impl.AbstractService

    getValues

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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, NotificationContextFactory notificationContextFactory, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.commons.api.notification.service.NotificationCompletionService completionService, org.exoplatform.commons.persistence.impl.EntityManagerService entityManagerService)
  • Method Details

    • process

      public void process(org.exoplatform.commons.api.notification.model.NotificationInfo notification) throws Exception
      Specified by:
      process in interface org.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:
      process in interface org.exoplatform.commons.api.notification.service.storage.NotificationService
      Throws:
      Exception