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 MockEmailNotificationService
public void sendImmediateReminder(ActionItem actionItem, Boolean skipOnApprovals)
sendImmediateReminder
in interface ActionListEmailService
protected boolean sendActionListEmailNotification()
public void sendDailyReminder()
sendDailyReminder
in interface MockEmailNotificationService
sendDailyReminder
in interface ActionListEmailService
public boolean wasDailyReminderSent()
wasDailyReminderSent
in interface MockEmailNotificationService
public void sendWeeklyReminder()
sendWeeklyReminder
in interface MockEmailNotificationService
sendWeeklyReminder
in interface ActionListEmailService
public boolean wasWeeklyReminderSent()
wasWeeklyReminderSent
in interface MockEmailNotificationService
public void scheduleBatchEmailReminders() throws Exception
scheduleBatchEmailReminders
in interface ActionListEmailService
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)
protected MockStyleableEmailContentService getEmailContentGenerator()
public void setDeploymentEnvironment(String deploymentEnvironment)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.