Package org.javlo.module.mailing
Class MailingModuleContext
- java.lang.Object
-
- org.javlo.module.core.AbstractModuleContext
-
- org.javlo.module.mailing.MailingModuleContext
-
public class MailingModuleContext extends AbstractModuleContext
-
-
Field Summary
-
Fields inherited from class org.javlo.module.core.AbstractModuleContext
globalContext, i18nAccess, module
-
-
Constructor Summary
Constructors Constructor Description MailingModuleContext()
-
Method Summary
-
Methods inherited from class org.javlo.module.core.AbstractModuleContext
getCurrentInstance, getCurrentLink, getFlatNavigation, getInstance, getRenderer, getWizardStep, setCurrentLink, setRenderer, setRendererFromNavigation, setWizardStep
-
-
-
-
Method Detail
-
getInstance
public static MailingModuleContext getInstance(javax.servlet.http.HttpServletRequest request) throws ModuleException, FileNotFoundException, IOException, InstantiationException, IllegalAccessException
-
getNavigation
public List<LinkToRenderer> getNavigation()
Description copied from class:AbstractModuleContext
get the navigation of the module- Specified by:
getNavigation
in classAbstractModuleContext
- Returns:
-
init
public void init()
- Specified by:
init
in classAbstractModuleContext
-
getHomeLink
public LinkToRenderer getHomeLink()
- Specified by:
getHomeLink
in classAbstractModuleContext
-
setCurrentTemplate
public void setCurrentTemplate(String currentTemplate)
-
getCurrentTemplate
public String getCurrentTemplate()
-
getSender
public String getSender()
-
setSender
public void setSender(String sender)
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String subject)
-
getReportTo
public String getReportTo()
-
setReportTo
public void setReportTo(String reportTo)
-
getRecipients
public String getRecipients()
-
setRecipients
public void setRecipients(String recipients)
-
isTestMailing
public boolean isTestMailing()
-
setTestMailing
public void setTestMailing(boolean isTest)
-
getAllRecipients
public Set<javax.mail.internet.InternetAddress> getAllRecipients()
-
setAllRecipients
public void setAllRecipients(Set<javax.mail.internet.InternetAddress> allRecipients)
-
validate
public boolean validate(ContentContext ctx)
-
reset
public void reset()
-
sendMailing
public void sendMailing(ContentContext ctx) throws Exception
- Throws:
Exception
-
getStructuredRecipients
public String getStructuredRecipients()
-
setStructuredRecipients
public void setStructuredRecipients(String structuredRecipients)
-
-