Package org.javlo.mailing
Class MailingBuilder
- java.lang.Object
-
- org.javlo.mailing.MailingBuilder
-
public class MailingBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description MailingBuilder()
-
Method Summary
-
-
-
Method Detail
-
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)
-
getEditorGroups
public Collection<String> getEditorGroups()
-
setEditorGroups
public void setEditorGroups(Collection<String> editorGroups)
-
getVisitorGroups
public Collection<String> getVisitorGroups()
-
setVisitorGroups
public void setVisitorGroups(Collection<String> groups)
-
getExcludedUsers
public Collection<String> getExcludedUsers()
-
setExcludedUsers
public void setExcludedUsers(Collection<String> excludedUserLogin)
-
getRecipients
public String getRecipients()
-
setRecipients
public void setRecipients(String recipients)
-
isTestMailing
public boolean isTestMailing()
-
setTestMailing
public void setTestMailing(boolean isTest)
-
setAllRecipients
public void setAllRecipients(Map<javax.mail.internet.InternetAddress,String> allRecipients)
-
setAllRecipients
public void setAllRecipients(Collection<javax.mail.internet.InternetAddress> address)
-
prepare
public boolean prepare(ContentContext ctx)
-
sendMailing
public void sendMailing(ContentContext ctx) throws Exception
- Throws:
Exception
-
-