public class MockEmailNotificationServiceImpl extends CustomizableActionListEmailServiceImpl implements MockEmailNotificationService
| Constructor and Description |
|---|
MockEmailNotificationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected MockStyleableEmailContentService |
getEmailContentGenerator() |
Integer |
getTotalPeriodicRemindersSent() |
Integer |
getTotalPeriodicRemindersSent(String emailReminderConstant) |
int |
immediateReminderEmailsSent(String networkId,
String documentId,
String actionRequestCd) |
void |
resetReminderCounts()
Resets the reminder counts
|
void |
scheduleBatchEmailReminders() |
protected boolean |
sendActionListEmailNotification()
This overridden method returns a value of true always
|
void |
sendDailyReminder() |
void |
sendImmediateReminder(ActionItem actionItem,
Boolean skipOnApprovals)
This overridden method will perform the standard operations from org.kuali.rice.kew.mail.ActionListEmailServiceImpl but will also keep track of action
items processed
|
protected void |
sendPeriodicReminder(Person user,
Collection<ActionItem> actionItems,
String emailSetting) |
void |
sendWeeklyReminder() |
void |
setDeploymentEnvironment(String deploymentEnvironment) |
void |
setEmailContentGenerator(EmailContentService contentService) |
void |
setMailer(Mailer mailer) |
boolean |
wasDailyReminderSent() |
boolean |
wasStyleServiceAccessed() |
boolean |
wasWeeklyReminderSent() |
sendPeriodicReminderbuildDailyReminderBody, buildImmediateReminderBody, buildWeeklyReminderBody, checkEmailNotificationPreferences, filterActionItemsToNotify, getActionListService, getActionListUrl, getApplicationEmailAddress, getDeploymentEnvironment, getDocumentTypeEmailAddress, getEmailFrom, getEmailSubject, getEmailSubject, getEmailTo, getHelpLink, getHelpLink, getPreferencesUrl, getUsersWithEmailSetting, isProduction, sendEmail, sendEmailpublic MockEmailNotificationServiceImpl()
public void resetReminderCounts()
resetReminderCounts in interface MockEmailNotificationServicepublic void sendImmediateReminder(ActionItem actionItem, Boolean skipOnApprovals)
sendImmediateReminder in interface ActionListEmailServicesendImmediateReminder in class CustomizableActionListEmailServiceImplprotected boolean sendActionListEmailNotification()
sendActionListEmailNotification in class ActionListEmailServiceImplpublic void sendDailyReminder()
sendDailyReminder in interface MockEmailNotificationServicesendDailyReminder in interface ActionListEmailServicesendDailyReminder in class ActionListEmailServiceImplpublic boolean wasDailyReminderSent()
wasDailyReminderSent in interface MockEmailNotificationServicepublic void sendWeeklyReminder()
sendWeeklyReminder in interface MockEmailNotificationServicesendWeeklyReminder in interface ActionListEmailServicesendWeeklyReminder in class ActionListEmailServiceImplpublic boolean wasWeeklyReminderSent()
wasWeeklyReminderSent in interface MockEmailNotificationServicepublic void scheduleBatchEmailReminders() throws Exception
scheduleBatchEmailReminders in interface ActionListEmailServicescheduleBatchEmailReminders in class ActionListEmailServiceImplExceptionprotected void sendPeriodicReminder(Person user, Collection<ActionItem> actionItems, String emailSetting)
public Integer getTotalPeriodicRemindersSent(String emailReminderConstant)
getTotalPeriodicRemindersSent in interface MockEmailNotificationServicepublic Integer getTotalPeriodicRemindersSent()
getTotalPeriodicRemindersSent in interface MockEmailNotificationServicepublic boolean wasStyleServiceAccessed()
wasStyleServiceAccessed in interface MockEmailNotificationServicepublic int immediateReminderEmailsSent(String networkId, String documentId, String actionRequestCd)
immediateReminderEmailsSent in interface MockEmailNotificationServicepublic void setEmailContentGenerator(EmailContentService contentService)
setEmailContentGenerator in class CustomizableActionListEmailServiceImplprotected MockStyleableEmailContentService getEmailContentGenerator()
getEmailContentGenerator in class CustomizableActionListEmailServiceImplpublic void setMailer(Mailer mailer)
setMailer in class ActionListEmailServiceImplpublic void setDeploymentEnvironment(String deploymentEnvironment)
setDeploymentEnvironment in class ActionListEmailServiceImplCopyright © 2005–2014 The Kuali Foundation. All rights reserved.