public abstract class NotificationContextBase extends Object implements NotificationContext, Serializable
| Constructor and Description |
|---|
NotificationContextBase(NotificationRenderer renderer)
Constructs a Notification Context base class.
|
| Modifier and Type | Method and Description |
|---|---|
KcNotificationModuleRoleService |
getNotificationModuleRoleService() |
KcNotificationRoleQualifierService |
getNotificationRoleQualifierService() |
KcNotificationService |
getNotificationService() |
NotificationRenderer |
getRenderer() |
void |
populateRoleQualifiers(NotificationTypeRecipient notificationRecipient)
This method populates the role qualifiers for use in KIM lookups by finding the associated notification
module roles and using the role qualifier service to find the values.
|
String |
replaceContextVariables(String text)
This method replaces the context variables using the default parameters.
|
void |
setNotificationModuleRoleService(KcNotificationModuleRoleService notificationModuleRoleService) |
void |
setNotificationRoleQualifierService(KcNotificationRoleQualifierService notificationRoleQualifierService) |
void |
setNotificationService(KcNotificationService notificationService) |
void |
setRenderer(NotificationRenderer renderer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActionTypeCode, getContextName, getDocumentNumber, getEmailAttachments, getModuleCodepublic NotificationContextBase(NotificationRenderer renderer)
renderer - the text renderer for this contextpublic String replaceContextVariables(String text)
replaceContextVariables in interface NotificationContexttext - The text to process.NotificationContext.replaceContextVariables(java.lang.String)public void populateRoleQualifiers(NotificationTypeRecipient notificationRecipient) throws UnknownRoleException
populateRoleQualifiers in interface NotificationContextnotificationRecipient - The recipient of the notification, it represents a KIM roleUnknownRoleExceptionpublic KcNotificationService getNotificationService()
public void setNotificationService(KcNotificationService notificationService)
public KcNotificationModuleRoleService getNotificationModuleRoleService()
public void setNotificationModuleRoleService(KcNotificationModuleRoleService notificationModuleRoleService)
public KcNotificationRoleQualifierService getNotificationRoleQualifierService()
public void setNotificationRoleQualifierService(KcNotificationRoleQualifierService notificationRoleQualifierService)
public NotificationRenderer getRenderer()
public void setRenderer(NotificationRenderer renderer)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.