public class KcNotificationServiceImpl extends Object implements KcNotificationService
| Modifier and Type | Field and Description |
|---|---|
protected org.kuali.rice.ken.api.notification.NotificationChannel |
kcNotificationChannel |
protected org.kuali.rice.ken.api.notification.NotificationProducer |
systemNotificationProducer |
| Constructor and Description |
|---|
KcNotificationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
KcNotification |
copy(KcNotification oldNotification)
Make a copy of an existing notification
|
KcNotification |
createNotificationObject(NotificationContext context)
Creates a KC Notification based on the Notification Context.
|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
org.kuali.rice.kim.api.identity.IdentityService |
getIdentityService() |
KcEmailService |
getKcEmailService() |
KcPersonService |
getKcPersonService() |
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 actionTypeCode)
Returns the Notification Type based on a Module Code and Action Code.
|
org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService() |
org.kuali.rice.kim.api.role.RoleService |
getRoleManagementService() |
RolodexService |
getRolodexService() |
org.kuali.rice.ken.api.service.SendNotificationService |
getSendNotificationService() |
void |
saveNotification(KcNotification notification)
Saves a KC Notifications.
|
void |
sendEmailNotification(NotificationContext context)
Send an unedited KC Notification Email, using the context to populate context-specific role qualifiers within the Role-based Recipients.
|
void |
sendNotification(NotificationContext context)
Send an unedited KC Notification, using the context to populate context-specific role qualifiers within the Role-based Recipients.
|
void |
sendNotification(NotificationContext context,
KcNotification notification,
List<NotificationTypeRecipient> notificationTypeRecipients)
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) |
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setIdentityService(org.kuali.rice.kim.api.identity.IdentityService identityService) |
void |
setKcEmailService(KcEmailService kcEmailService) |
void |
setKcPersonService(KcPersonService kcPersonService) |
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
void |
setRoleManagementService(org.kuali.rice.kim.api.role.RoleService roleManagementService) |
void |
setRolodexService(RolodexService rolodexService) |
void |
setSendNotificationService(org.kuali.rice.ken.api.service.SendNotificationService sendNotificationService) |
protected org.kuali.rice.ken.api.notification.NotificationChannel kcNotificationChannel
protected org.kuali.rice.ken.api.notification.NotificationProducer systemNotificationProducer
public NotificationType getNotificationType(NotificationContext context)
getNotificationType in interface KcNotificationServiceKcNotificationService.getNotificationType(org.kuali.kra.common.notification.NotificationContext)public NotificationType getNotificationType(String moduleCode, String actionTypeCode)
getNotificationType in interface KcNotificationServiceKcNotificationService.getNotificationType(java.lang.String, java.lang.String)public KcNotification createNotificationObject(NotificationContext context)
createNotificationObject in interface KcNotificationServiceKcNotificationService.createNotificationObject(org.kuali.kra.common.notification.NotificationContext)public void saveNotification(KcNotification notification)
saveNotification in interface KcNotificationServiceKcNotificationService.saveNotification(org.kuali.kra.common.notification.bo.KcNotification)public List<KcNotification> getNotifications(String documentNumber, String moduleCode, Set<String> actionCodes)
getNotifications in interface KcNotificationServiceKcNotificationService.getNotifications(java.lang.String, java.lang.String, java.util.Set)public void sendNotification(NotificationContext context)
sendNotification in interface KcNotificationServiceorg.kuali.kra.common.notification.service.KcNotificationService#sendNotification(org.kuali.kra.common.notification.bo.KcNotification,
org.kuali.kra.common.notification.NotificationContext)public void sendNotification(NotificationContext context, KcNotification notification, List<NotificationTypeRecipient> notificationTypeRecipients)
public void sendNotification(String contextName, String subject, String message, List<String> principalNames)
principalNames using the given subject and message.sendNotification in interface KcNotificationServiceKcNotificationService.sendNotification(java.lang.String, java.lang.String, java.lang.String,
java.util.List)public void sendEmailNotification(NotificationContext context)
sendEmailNotification in interface KcNotificationServiceKcNotificationService.sendEmailNotification(org.kuali.kra.common.notification.NotificationContext)public void sendNotification(String contextName, String subject, String message, Collection<org.kuali.rice.ken.api.notification.NotificationRecipient.Builder> notificationRecipients)
KcNotificationServicesendNotification in interface KcNotificationServicepublic Set<org.kuali.rice.ken.api.notification.NotificationRecipient.Builder> getNotificationRecipients(NotificationContext context)
KcNotificationServicegetNotificationRecipients in interface KcNotificationServicepublic void sendNotificationAndPersist(NotificationContext context, KcNotification notification, KraPersistableBusinessObjectBase object)
KcNotificationServicesendNotificationAndPersist in interface KcNotificationServicepublic void sendNotificationAndPersist(NotificationContext context, KcNotification notification, List<NotificationTypeRecipient> notificationTypeRecipients, KraPersistableBusinessObjectBase object)
sendNotificationAndPersist in interface KcNotificationServicepublic org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
public org.kuali.rice.ken.api.service.SendNotificationService getSendNotificationService()
public void setSendNotificationService(org.kuali.rice.ken.api.service.SendNotificationService sendNotificationService)
public org.kuali.rice.kim.api.role.RoleService getRoleManagementService()
public void setRoleManagementService(org.kuali.rice.kim.api.role.RoleService roleManagementService)
public KcPersonService getKcPersonService()
public void setKcPersonService(KcPersonService kcPersonService)
public RolodexService getRolodexService()
public void setRolodexService(RolodexService rolodexService)
public org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
public org.kuali.rice.kim.api.identity.IdentityService getIdentityService()
public void setIdentityService(org.kuali.rice.kim.api.identity.IdentityService identityService)
public KcEmailService getKcEmailService()
public void setKcEmailService(KcEmailService kcEmailService)
public KcNotification copy(KcNotification oldNotification)
KcNotificationServicecopy in interface KcNotificationServiceCopyright © 2013 The Kuali Foundation. All Rights Reserved.