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 |
MockEmailNotificationServiceImpl
public MockEmailNotificationServiceImpl()
resetReminderCounts
public void resetReminderCounts()
- Resets the reminder counts
- Specified by:
resetReminderCounts
in interface MockEmailNotificationService
sendImmediateReminder
public 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
- 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
wasDailyReminderSent
public boolean wasDailyReminderSent()
- Specified by:
wasDailyReminderSent
in interface MockEmailNotificationService
sendWeeklyReminder
public void sendWeeklyReminder()
- Specified by:
sendWeeklyReminder
in interface MockEmailNotificationService
- Specified by:
sendWeeklyReminder
in interface ActionListEmailService
wasWeeklyReminderSent
public boolean wasWeeklyReminderSent()
- Specified by:
wasWeeklyReminderSent
in interface MockEmailNotificationService
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 © 2005-2012 The Kuali Foundation. All Rights Reserved.