org.torweg.pulse.site
Class CaseDrivenRedirectAndEmailConfig
java.lang.Object
org.torweg.pulse.configuration.AbstractConfigBean
org.torweg.pulse.site.CaseDrivenRedirectConfig
org.torweg.pulse.site.CaseDrivenRedirectAndEmailConfig
- All Implemented Interfaces:
- java.io.Serializable, ConfigBean
- Direct Known Subclasses:
- SignUpControllerConfig
public class CaseDrivenRedirectAndEmailConfig
- extends CaseDrivenRedirectConfig
a ConfigBean supporting redirects and email with cases.
- Version:
- $Revision: 1396 $
- Author:
- Daniel Dietz
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaseDrivenRedirectAndEmailConfig
public CaseDrivenRedirectAndEmailConfig()
getFrom
public final javax.mail.internet.InternetAddress getFrom(java.lang.String c, ServiceRequest request)
- returns the from address for the case.
- Parameters:
c - the name of the caserequest - the current request
- Returns:
- the from address for the case
getSubject
public final java.lang.String getSubject(java.lang.String c,
java.lang.String s)
- Parameters:
c - the case names - the subject-name
- Returns:
- Returns the subject.
getTextXSLFile
public final XSLHandle getTextXSLFile(java.lang.String c)
- Parameters:
c - the case name
- Returns:
- Returns the textXSLFile.
getHtmlXSLFile
public final XSLHandle getHtmlXSLFile(java.lang.String c)
- Parameters:
c - the case name
- Returns:
- Returns the htmlXSLFile.
init
public void init(org.jdom.Element conf)
- initializes this
ConfigBean with a given configuration.
- Specified by:
init in interface ConfigBean- Overrides:
init in class CaseDrivenRedirectConfig
- Parameters:
conf - the configuration- See Also:
ConfigBean.init(org.jdom.Element)