Class SocialSendAllRecipientProvider

java.lang.Object
io.meeds.social.notification.service.SocialSendAllRecipientProvider
All Implemented Interfaces:
org.exoplatform.commons.api.notification.service.SendAllRecipientProvider

@Service("socialSendAllRecipientProvider") public class SocialSendAllRecipientProvider extends Object implements org.exoplatform.commons.api.notification.service.SendAllRecipientProvider
Lists the recipients of a send-all notification from the social identities: one database query per page, however the organization service is backed. The enabled status follows the organization service's. The external status is the identity's external profile property, which follows the membership of the externals group and of which the organization service's user.other-info.external attribute is a copy: that attribute written by another means does not reach it.
  • Constructor Details

    • SocialSendAllRecipientProvider

      public SocialSendAllRecipientProvider()
  • Method Details

    • getRecipients

      public List<String> getRecipients(boolean internalsOnly, String afterUsername, int limit)
      Specified by:
      getRecipients in interface org.exoplatform.commons.api.notification.service.SendAllRecipientProvider