org.kuali.rice.kew.mail.service.impl
Class HardCodedEmailContentServiceImpl

java.lang.Object
  extended by org.kuali.rice.kew.mail.service.impl.BaseEmailContentServiceImpl
      extended by org.kuali.rice.kew.mail.service.impl.HardCodedEmailContentServiceImpl
All Implemented Interfaces:
EmailContentService

public class HardCodedEmailContentServiceImpl
extends BaseEmailContentServiceImpl

EmailContentGenerator that reproduces the hardcoded messages generated by the current ActionListEmailServiceImpl. This is for testing purposes during the transition to the EmailContentService.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
protected  java.lang.String defaultReminderSubject
           
 
Fields inherited from class org.kuali.rice.kew.mail.service.impl.BaseEmailContentServiceImpl
defaultEmailFromAddress, deploymentEnvironment
 
Constructor Summary
HardCodedEmailContentServiceImpl()
           
 
Method Summary
 EmailContent generateDailyReminder(org.kuali.rice.kim.bo.Person person, java.util.Collection<ActionItem> actionItems)
           
 EmailContent generateFeedback(FeedbackForm form)
           
 EmailContent generateImmediateReminder(org.kuali.rice.kim.bo.Person person, ActionItem actionItem, DocumentType documentType)
           
 EmailContent generateWeeklyReminder(org.kuali.rice.kim.bo.Person user, java.util.Collection<ActionItem> actionItems)
           
 java.lang.String getDailyWeeklyMessageBody(java.util.Collection actionItems)
           
 void setDefaultReminderSubject(java.lang.String defaultReminderSubject)
           
 
Methods inherited from class org.kuali.rice.kew.mail.service.impl.BaseEmailContentServiceImpl
getActionListUrl, getApplicationEmailAddress, getCustomEmailAttribute, getDeploymentEnvironment, getDocumentTypeEmailAddress, getPreferencesUrl, setDefaultEmailFromAddress, setDeploymentEnvironment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultReminderSubject

protected java.lang.String defaultReminderSubject
Constructor Detail

HardCodedEmailContentServiceImpl

public HardCodedEmailContentServiceImpl()
Method Detail

setDefaultReminderSubject

public void setDefaultReminderSubject(java.lang.String defaultReminderSubject)

generateImmediateReminder

public EmailContent generateImmediateReminder(org.kuali.rice.kim.bo.Person person,
                                              ActionItem actionItem,
                                              DocumentType documentType)

generateDailyReminder

public EmailContent generateDailyReminder(org.kuali.rice.kim.bo.Person person,
                                          java.util.Collection<ActionItem> actionItems)

generateWeeklyReminder

public EmailContent generateWeeklyReminder(org.kuali.rice.kim.bo.Person user,
                                           java.util.Collection<ActionItem> actionItems)

generateFeedback

public EmailContent generateFeedback(FeedbackForm form)
Parameters:
form - feedback form from action
Returns:
email content
See Also:
FeedbackAction

getDailyWeeklyMessageBody

public java.lang.String getDailyWeeklyMessageBody(java.util.Collection actionItems)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.