mocks
Class MockEmailNotificationServiceImpl
java.lang.Object
mocks.MockEmailNotificationServiceImpl
- All Implemented Interfaces:
- MockEmailNotificationService, ActionListEmailService
public class MockEmailNotificationServiceImpl
- extends Object
- implements MockEmailNotificationService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEND_DAILY_REMINDER_CALLED
public static boolean SEND_DAILY_REMINDER_CALLED
SEND_WEEKLY_REMINDER_CALLED
public static boolean SEND_WEEKLY_REMINDER_CALLED
MockEmailNotificationServiceImpl
public MockEmailNotificationServiceImpl()
resetReminderCounts
public void resetReminderCounts()
- Resets the reminder counts
- Specified by:
resetReminderCounts
in interface MockEmailNotificationService
sendImmediateReminder
public void sendImmediateReminder(Person user,
ActionItem actionItem)
- This overridden method will perform the standard operations from org.kuali.rice.kew.mail.ActionListEmailServiceImpl but will also keep track of action
items processed
- Specified by:
sendImmediateReminder
in interface ActionListEmailService
sendActionListEmailNotification
protected boolean sendActionListEmailNotification()
- This overridden method returns a value of true always
sendDailyReminder
public void sendDailyReminder()
- Specified by:
sendDailyReminder
in interface MockEmailNotificationService
- Specified by:
sendDailyReminder
in interface ActionListEmailService
sendWeeklyReminder
public void sendWeeklyReminder()
- Specified by:
sendWeeklyReminder
in interface MockEmailNotificationService
- Specified by:
sendWeeklyReminder
in interface ActionListEmailService
scheduleBatchEmailReminders
public void scheduleBatchEmailReminders()
throws Exception
- Specified by:
scheduleBatchEmailReminders
in interface ActionListEmailService
- Throws:
Exception
sendPeriodicReminder
protected void sendPeriodicReminder(Person user,
Collection<ActionItem> actionItems,
String emailSetting)
getTotalPeriodicRemindersSent
public Integer getTotalPeriodicRemindersSent(String emailReminderConstant)
- Specified by:
getTotalPeriodicRemindersSent
in interface MockEmailNotificationService
getTotalPeriodicRemindersSent
public Integer getTotalPeriodicRemindersSent()
- Specified by:
getTotalPeriodicRemindersSent
in interface MockEmailNotificationService
wasStyleServiceAccessed
public boolean wasStyleServiceAccessed()
- Specified by:
wasStyleServiceAccessed
in interface MockEmailNotificationService
immediateReminderEmailsSent
public int immediateReminderEmailsSent(String networkId,
String documentId,
String actionRequestCd)
- Specified by:
immediateReminderEmailsSent
in interface MockEmailNotificationService
setEmailContentGenerator
public void setEmailContentGenerator(EmailContentService contentService)
getEmailContentGenerator
protected MockStyleableEmailContentService getEmailContentGenerator()
setMailer
public void setMailer(Mailer mailer)
setDeploymentEnvironment
public void setDeploymentEnvironment(String deploymentEnvironment)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.