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() |
sendPeriodicReminder
buildDailyReminderBody, buildImmediateReminderBody, buildWeeklyReminderBody, checkEmailNotificationPreferences, filterActionItemsToNotify, getActionListService, getActionListUrl, getApplicationEmailAddress, getDeploymentEnvironment, getDocumentTypeEmailAddress, getEmailFrom, getEmailSubject, getEmailSubject, getEmailTo, getHelpLink, getHelpLink, getPreferencesUrl, getUsersWithEmailSetting, isProduction, sendEmail, sendEmail
public MockEmailNotificationServiceImpl()
public void resetReminderCounts()
resetReminderCounts
in interface MockEmailNotificationService
public void sendImmediateReminder(ActionItem actionItem, Boolean skipOnApprovals)
sendImmediateReminder
in interface ActionListEmailService
sendImmediateReminder
in class CustomizableActionListEmailServiceImpl
protected boolean sendActionListEmailNotification()
sendActionListEmailNotification
in class ActionListEmailServiceImpl
public void sendDailyReminder()
sendDailyReminder
in interface MockEmailNotificationService
sendDailyReminder
in interface ActionListEmailService
sendDailyReminder
in class ActionListEmailServiceImpl
public boolean wasDailyReminderSent()
wasDailyReminderSent
in interface MockEmailNotificationService
public void sendWeeklyReminder()
sendWeeklyReminder
in interface MockEmailNotificationService
sendWeeklyReminder
in interface ActionListEmailService
sendWeeklyReminder
in class ActionListEmailServiceImpl
public boolean wasWeeklyReminderSent()
wasWeeklyReminderSent
in interface MockEmailNotificationService
public void scheduleBatchEmailReminders() throws Exception
scheduleBatchEmailReminders
in interface ActionListEmailService
scheduleBatchEmailReminders
in class ActionListEmailServiceImpl
Exception
protected void sendPeriodicReminder(Person user, Collection<ActionItem> actionItems, String emailSetting)
public Integer getTotalPeriodicRemindersSent(String emailReminderConstant)
getTotalPeriodicRemindersSent
in interface MockEmailNotificationService
public Integer getTotalPeriodicRemindersSent()
getTotalPeriodicRemindersSent
in interface MockEmailNotificationService
public boolean wasStyleServiceAccessed()
wasStyleServiceAccessed
in interface MockEmailNotificationService
public int immediateReminderEmailsSent(String networkId, String documentId, String actionRequestCd)
immediateReminderEmailsSent
in interface MockEmailNotificationService
public void setEmailContentGenerator(EmailContentService contentService)
setEmailContentGenerator
in class CustomizableActionListEmailServiceImpl
protected MockStyleableEmailContentService getEmailContentGenerator()
getEmailContentGenerator
in class CustomizableActionListEmailServiceImpl
public void setMailer(Mailer mailer)
setMailer
in class ActionListEmailServiceImpl
public void setDeploymentEnvironment(String deploymentEnvironment)
setDeploymentEnvironment
in class ActionListEmailServiceImpl
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.