public class MockEmailNotificationServiceImpl extends Object 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() |
public MockEmailNotificationServiceImpl()
public void resetReminderCounts()
resetReminderCounts in interface MockEmailNotificationServicepublic void sendImmediateReminder(ActionItem actionItem, Boolean skipOnApprovals)
sendImmediateReminder in interface ActionListEmailServiceprotected boolean sendActionListEmailNotification()
public void sendDailyReminder()
sendDailyReminder in interface MockEmailNotificationServicesendDailyReminder in interface ActionListEmailServicepublic boolean wasDailyReminderSent()
wasDailyReminderSent in interface MockEmailNotificationServicepublic void sendWeeklyReminder()
sendWeeklyReminder in interface MockEmailNotificationServicesendWeeklyReminder in interface ActionListEmailServicepublic boolean wasWeeklyReminderSent()
wasWeeklyReminderSent in interface MockEmailNotificationServicepublic void scheduleBatchEmailReminders() throws Exception
scheduleBatchEmailReminders in interface ActionListEmailServiceExceptionprotected 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)
protected MockStyleableEmailContentService getEmailContentGenerator()
public void setDeploymentEnvironment(String deploymentEnvironment)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.