mocks
Class MockEmailNotificationServiceImpl

java.lang.Object
  extended by mocks.MockEmailNotificationServiceImpl
All Implemented Interfaces:
MockEmailNotificationService, ActionListEmailService

public class MockEmailNotificationServiceImpl
extends Object
implements MockEmailNotificationService


Field Summary
static boolean SEND_DAILY_REMINDER_CALLED
           
static boolean SEND_WEEKLY_REMINDER_CALLED
           
 
Constructor Summary
MockEmailNotificationServiceImpl()
           
 
Method Summary
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(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
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 wasStyleServiceAccessed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEND_DAILY_REMINDER_CALLED

public static boolean SEND_DAILY_REMINDER_CALLED

SEND_WEEKLY_REMINDER_CALLED

public static boolean SEND_WEEKLY_REMINDER_CALLED
Constructor Detail

MockEmailNotificationServiceImpl

public MockEmailNotificationServiceImpl()
Method Detail

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.