Interface InboxNotificationSender
-
@ProviderType public interface InboxNotificationSenderOSGi Service that is used to send AEM Notifications notifications.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InboxNotificationbuildInboxNotification()Builds an InboxNotifcation object that can be populate prior to sending.voidsendInboxNotification(org.apache.sling.api.resource.ResourceResolver resourceResolver, InboxNotification inboxNotification)Sends a AEM inbox Notification.voidsendInboxNotifications(org.apache.sling.api.resource.ResourceResolver resourceResolver, List<InboxNotification> inboxNotifications)Sends multiple AEM inbox notifications.
-
-
-
Method Detail
-
sendInboxNotification
void sendInboxNotification(org.apache.sling.api.resource.ResourceResolver resourceResolver, InboxNotification inboxNotification) throws com.adobe.granite.taskmanagement.TaskManagerExceptionSends a AEM inbox Notification.- Parameters:
resourceResolver- the resource resolver used to send the notification.inboxNotification- the notification to send.- Throws:
com.adobe.granite.taskmanagement.TaskManagerException
-
sendInboxNotifications
void sendInboxNotifications(org.apache.sling.api.resource.ResourceResolver resourceResolver, List<InboxNotification> inboxNotifications) throws com.adobe.granite.taskmanagement.TaskManagerExceptionSends multiple AEM inbox notifications.- Parameters:
resourceResolver- the resource resolver used to send the notification.inboxNotifications- the notifications to send.- Throws:
com.adobe.granite.taskmanagement.TaskManagerException
-
buildInboxNotification
InboxNotification buildInboxNotification()
Builds an InboxNotifcation object that can be populate prior to sending.- Returns:
- a blank InboxNotification object.
-
-