| java.lang.Object org.blojsom.plugin.notification.AbstractNotification org.blojsom.plugin.notification.AbstractVelocityEmailNotification
All known Subclasses: org.blojsom.plugin.registration.RegistrationNotification,
AbstractVelocityEmailNotification | abstract public class AbstractVelocityEmailNotification extends AbstractNotification implements ServletContextAware(Code) | | |
Constructor Summary | |
public | AbstractVelocityEmailNotification(Email email, URL emailTemplate) | public | AbstractVelocityEmailNotification(URL emailTemplate, String charEncoding, String mailServer, String contentType) | public | AbstractVelocityEmailNotification(URL emailTemplate, String charEncoding, String mailServer, String contentType, Properties velocityProps) | public | AbstractVelocityEmailNotification(URL emailTemplate, String charEncoding, String mailServer, String contentType, String velocityPropsPath) |
AbstractVelocityEmailNotification | public AbstractVelocityEmailNotification(Email email, URL emailTemplate) throws MessagingException(Code) | | Construct a new abstract velocity e-mail notification
Parameters: email - E-mail message Parameters: emailTemplate - E-mail template throws: MessagingException - If there is an error constructing the e-mail notification |
AbstractVelocityEmailNotification | public AbstractVelocityEmailNotification(URL emailTemplate, String charEncoding, String mailServer, String contentType) throws Exception(Code) | | Construct a new abstract velocity e-mail notification
Parameters: emailTemplate - E-mail template Parameters: charEncoding - Character encoding Parameters: mailServer - Mail server Parameters: contentType - Content type throws: Exception - If there is an error constructing the e-mail notification |
AbstractVelocityEmailNotification | public AbstractVelocityEmailNotification(URL emailTemplate, String charEncoding, String mailServer, String contentType, Properties velocityProps) throws Exception(Code) | | Construct a new abstract velocity e-mail notification
Parameters: emailTemplate - E-mail template Parameters: charEncoding - Character encoding Parameters: mailServer - Mail server Parameters: contentType - Content type Parameters: velocityProps - Velocity properties throws: Exception - If there is an error constructing the e-mail notification |
AbstractVelocityEmailNotification | public AbstractVelocityEmailNotification(URL emailTemplate, String charEncoding, String mailServer, String contentType, String velocityPropsPath) throws Exception(Code) | | Construct a new abstract velocity e-mail notification
Parameters: emailTemplate - E-mail template Parameters: charEncoding - Character encoding Parameters: mailServer - Mail server Parameters: contentType - Content type Parameters: velocityPropsPath - Velocity properties path throws: Exception - If there is an error constructing the e-mail notification |
get | public Object get(String key)(Code) | | Get a value from the context
Parameters: key - Key Value for the given key |
getMessage | protected String getMessage() throws Exception(Code) | | Get the e-mail message content evaluated
E-mail message content throws: Exception - If there is an error evaluating the template |
put | public void put(String name, Object value)(Code) | | Put a name and value in the context
Parameters: name - Name Parameters: value - Value |
putAll | public void putAll(Map values)(Code) | | Put a map of name/value pairs in the context
Parameters: values - Map of name/value pairs |
|
|