|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.mail.MgnlMailFactory
public class MgnlMailFactory
This reads the repository to know what kind of email to instantiate.
Constructor Summary | |
---|---|
MgnlMailFactory()
Use getInstance to get the current used instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MgnlMailFactory()
Method Detail |
---|
public MgnlMailHandler getEmailHandler()
public MgnlEmail getEmail(Map<String,Object> params)
public MgnlEmail getEmailFromType(Map<String,Object> params, String type)
public MgnlEmail getEmailFromType(Map<String,Object> params, String type, String contentType, List<MailAttachment> attachments)
public MgnlEmail getEmailFromType(Map<String,Object> params, String type, List<MailAttachment> attachments)
public MgnlEmail getEmail(Map<String,Object> params, List<MailAttachment> attachments)
public MgnlEmail getEmailFromTemplate(String id, List<MailAttachment> attachments, Map<String,Object> params) throws Exception
Exception
public MgnlEmail getEmailFromTemplate(String id, Map<String,Object> params) throws Exception
Exception
protected MgnlEmail getEmail(Map<String,Object> params, List<MailAttachment> attachments, MailTemplate template)
protected MgnlEmail getEmailFromType(MailTemplate template) throws Exception
Exception
protected MailTemplate getTemplate(String templateName) throws Exception
Exception
public Map<String,String> getRenderers()
public void setRenderers(Map<String,String> renderers)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |