public abstract class ProtocolNotificationContextBase extends NotificationContextBase
| Constructor and Description |
|---|
ProtocolNotificationContextBase(ProtocolBase protocol,
ProtocolOnlineReviewBase protocolOnlineReview,
String actionTypeCode,
String contextName,
NotificationRenderer renderer)
Constructs a protocol notification context and sets the necessary services.
|
ProtocolNotificationContextBase(ProtocolBase protocol,
String actionTypeCode,
String contextName,
NotificationRenderer renderer)
Constructs an IRB notification context and sets the necessary services.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getActionTypeCode()
Returns the action type code for this context.
|
String |
getContextName()
Returns a the name used for the given context.
|
String |
getDocumentNumber()
Returns the document number for the associated document.
|
List<EmailAttachment> |
getEmailAttachments()
This method provides support for email attachments for email notifications.
|
String |
getForwardName() |
boolean |
isPopulateRole() |
void |
populateRoleQualifiers(NotificationTypeRecipient notificationRecipient)
This is a hook/hack for assign reviewer/submit for review, which has potential of multiple reviewers
reviewers are supposed to be processed separately, but for 'prompt user', it merged into one prompt.
|
void |
setEmailAttachments(List<EmailAttachment> emailAttachments)
This method sets a list of email attachments
|
void |
setForwardName(String forwardName) |
void |
setPopulateRole(boolean populateRole) |
getNotificationModuleRoleService, getNotificationRoleQualifierService, getNotificationService, getRenderer, replaceContextVariables, setNotificationModuleRoleService, setNotificationRoleQualifierService, setNotificationService, setRendererclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetModuleCodepublic ProtocolNotificationContextBase(ProtocolBase protocol, ProtocolOnlineReviewBase protocolOnlineReview, String actionTypeCode, String contextName, NotificationRenderer renderer)
protocol - protocolOnlineReview - actionTypeCode - contextName - public ProtocolNotificationContextBase(ProtocolBase protocol, String actionTypeCode, String contextName, NotificationRenderer renderer)
protocol - actionTypeCode - contextName - public String getDocumentNumber()
NotificationContext.getDocumentNumber()public String getActionTypeCode()
NotificationContext.getActionTypeCode()public String getContextName()
NotificationContext.getContextName()public List<EmailAttachment> getEmailAttachments()
NotificationContextNotificationContext.getEmailAttachments()public void setEmailAttachments(List<EmailAttachment> emailAttachments)
emailAttachments - public String getForwardName()
public void setForwardName(String forwardName)
public boolean isPopulateRole()
public void setPopulateRole(boolean populateRole)
public void populateRoleQualifiers(NotificationTypeRecipient notificationRecipient) throws UnknownRoleException
populateRoleQualifiers in interface NotificationContextpopulateRoleQualifiers in class NotificationContextBasenotificationRecipient - The recipient of the notification, it represents a KIM roleUnknownRoleException - if the role is unknown for this context.NotificationContextBase.populateRoleQualifiers(org.kuali.kra.common.notification.bo.NotificationTypeRecipient)Copyright © 2013 The Kuali Foundation. All Rights Reserved.