Interface SendAllRecipientProvider
public interface SendAllRecipientProvider
Lists the users a send-all notification walks, page by page: the enabled
users of the platform, the internal ones only when asked. A send-all uses
the implementation registered in the portal container (a Kernel component,
or a Spring bean whose class carries
@Service, which the Kernel
bridge exports), and walks the enabled users of the organization service
when there is none. At most one implementation may be registered: with two,
every send-all active on a channel fails.-
Method Summary
Modifier and TypeMethodDescriptiongetRecipients(boolean internalsOnly, String afterUsername, int limit)
-
Method Details
-
getRecipients
- Parameters:
internalsOnly- whether the external users are left outafterUsername- the last username of the previous page, excluded, or null for the first pagelimit- the maximum number of usernames returned- Returns:
- the usernames that follow
afterUsername, in ascending order; fewer thanlimitonly on the last page
-