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

java.lang.Object
  extended by org.kuali.rice.kew.mail.service.impl.BaseEmailContentServiceImpl
All Implemented Interfaces:
EmailContentService
Direct Known Subclasses:
StyleableEmailContentServiceImpl

public abstract class BaseEmailContentServiceImpl
extends Object
implements EmailContentService

Base EmailContentService implementation with a default email from address that can be configured via Spring property injection

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

Field Summary
protected  String defaultEmailFromAddress
           
protected  String deploymentEnvironment
           
 
Constructor Summary
BaseEmailContentServiceImpl()
           
 
Method Summary
protected  String getActionListUrl()
           
 String getApplicationEmailAddress()
           
protected static CustomEmailAttribute getCustomEmailAttribute(Person user, ActionItem actionItem)
           
 String getDeploymentEnvironment()
           
 String getDocumentTypeEmailAddress(DocumentType documentType)
           
protected  String getPreferencesUrl()
           
 void setDefaultEmailFromAddress(String defaultEmailFromAddress)
           
 void setDeploymentEnvironment(String deploymentEnvironment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kew.mail.service.EmailContentService
generateDailyReminder, generateFeedback, generateImmediateReminder, generateWeeklyReminder
 

Field Detail

defaultEmailFromAddress

protected String defaultEmailFromAddress

deploymentEnvironment

protected String deploymentEnvironment
Constructor Detail

BaseEmailContentServiceImpl

public BaseEmailContentServiceImpl()
Method Detail

setDefaultEmailFromAddress

public void setDefaultEmailFromAddress(String defaultEmailFromAddress)

getApplicationEmailAddress

public String getApplicationEmailAddress()
Specified by:
getApplicationEmailAddress in interface EmailContentService

getDocumentTypeEmailAddress

public String getDocumentTypeEmailAddress(DocumentType documentType)
Specified by:
getDocumentTypeEmailAddress in interface EmailContentService

getDeploymentEnvironment

public String getDeploymentEnvironment()

setDeploymentEnvironment

public void setDeploymentEnvironment(String deploymentEnvironment)

getCustomEmailAttribute

protected static CustomEmailAttribute getCustomEmailAttribute(Person user,
                                                              ActionItem actionItem)
                                                       throws WorkflowException
Throws:
WorkflowException

getActionListUrl

protected String getActionListUrl()

getPreferencesUrl

protected String getPreferencesUrl()


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.