/** * Filter the recipients Users into the list of those who get this one immediately. Combine the * event's notification priority with the user's notification profile. Alias call to * {@link immediateRecipients(List<String>, String, String, int)} * * @param recipients * The List (User) of potential recipients. * @param notification * The notification responding to the event. * @param event * The event that matched criteria to cause the notification. * @return The List (User) of immediate recipients. */ protected List immediateRecipients(List recipients, Notification notification, Event event) { return immediateRecipients(recipients, notification.getId(), notification.getResourceFilter(), event.getPriority(), event); }
List immediate = immediateRecipients(recipients, notificationId, resourceFilter, eventPriority, event);