public interface KcNotificationService
| Modifier and Type | Method and Description |
|---|---|
KcNotification |
copy(KcNotification oldNotification)
Make a copy of an existing notification
|
KcNotification |
createNotificationObject(NotificationContext notificationContext)
Creates a KC Notification based on the Notification Context.
|
Set<org.kuali.rice.ken.api.notification.NotificationRecipient.Builder> |
getNotificationRecipients(NotificationContext context)
Return the notification recipients for this notification context.
|
List<KcNotification> |
getNotifications(String documentNumber,
String moduleCode,
Set<String> actionCodes)
Retrieves a list of KC Notifications based on a Document Number, a Module Code, and a set of Action Codes.
|
NotificationType |
getNotificationType(NotificationContext context)
Returns the Notification Type based on a Notification Context.
|
NotificationType |
getNotificationType(String moduleCode,
String actionCode)
Returns the Notification Type based on a Module Code and Action Code.
|
void |
saveNotification(KcNotification notification)
Saves a KC Notifications.
|
void |
sendEmailNotification(NotificationContext notificationContext)
Send an unedited KC Notification Email, using the context to populate context-specific role qualifiers within the Role-based Recipients.
|
void |
sendNotification(NotificationContext notificationContext)
Send an unedited KC Notification, using the context to populate context-specific role qualifiers within the Role-based Recipients.
|
void |
sendNotification(NotificationContext notificationContext,
KcNotification notification,
List<NotificationTypeRecipient> notificationRecipients)
Send a previously saved or edited KC Notification, using the context to populate context-specific role qualifiers within the Role-based Recipients and
additionally sending the notification to other non-role users.
|
void |
sendNotification(String contextName,
String subject,
String message,
Collection<org.kuali.rice.ken.api.notification.NotificationRecipient.Builder> notificationRecipients)
Send a notification to the specified recipients.
|
void |
sendNotification(String contextName,
String subject,
String message,
List<String> principalNames)
Send an unedited KC Notification to
principalNames using the given subject and message. |
void |
sendNotificationAndPersist(NotificationContext context,
KcNotification notification,
KraPersistableBusinessObjectBase object)
Sends notification, completes notification object, and persists it.
|
void |
sendNotificationAndPersist(NotificationContext context,
KcNotification notification,
List<NotificationTypeRecipient> notificationTypeRecipients,
KraPersistableBusinessObjectBase object) |
NotificationType getNotificationType(NotificationContext context)
context - NotificationType getNotificationType(String moduleCode, String actionCode)
moduleCode - actionCode - KcNotification createNotificationObject(NotificationContext notificationContext)
notificationContext - void saveNotification(KcNotification notification)
notification - void sendNotificationAndPersist(NotificationContext context, KcNotification notification, KraPersistableBusinessObjectBase object)
notificationContext - void sendNotificationAndPersist(NotificationContext context, KcNotification notification, List<NotificationTypeRecipient> notificationTypeRecipients, KraPersistableBusinessObjectBase object)
List<KcNotification> getNotifications(String documentNumber, String moduleCode, Set<String> actionCodes)
documentNumber - moduleCode - actionCodes - void sendNotification(NotificationContext notificationContext)
notificationContext - void sendNotification(NotificationContext notificationContext, KcNotification notification, List<NotificationTypeRecipient> notificationRecipients)
notificationContext - notification - notificationRecipients - void sendNotification(String contextName, String subject, String message, List<String> principalNames)
principalNames using the given subject and message.contextName - subject - message - principalNames - void sendEmailNotification(NotificationContext notificationContext)
notificationContext - Set<org.kuali.rice.ken.api.notification.NotificationRecipient.Builder> getNotificationRecipients(NotificationContext context)
context - void sendNotification(String contextName, String subject, String message, Collection<org.kuali.rice.ken.api.notification.NotificationRecipient.Builder> notificationRecipients)
contextName - subject - message - notificationRecipients - KcNotification copy(KcNotification oldNotification)
notification - Copyright © 2013 The Kuali Foundation. All Rights Reserved.