Package org.javlo.mailing
Class MailingFactory
- java.lang.Object
-
- org.javlo.mailing.MailingFactory
-
public class MailingFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description MailingFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MailingFactorygetInstance(javax.servlet.ServletContext application)MailinggetLiveMailing(String id)MailinggetMailing(String id)List<Mailing>getMailingList()return the list of mailing id stored in this webapps.List<Mailing>getMailingListByContext(String contextKey)List<Mailing>getOldMailingList()return the list of mailing id stored in this webapps.List<Mailing>getOldMailingList(String sender)List<Mailing>getOldMailingListByContext(String contextKey)
-
-
-
Method Detail
-
getInstance
public static MailingFactory getInstance(javax.servlet.ServletContext application)
-
getMailingList
public List<Mailing> getMailingList() throws IOException
return the list of mailing id stored in this webapps.- Throws:
IOExceptionConfigurationException
-
getOldMailingList
public List<Mailing> getOldMailingList() throws IOException
return the list of mailing id stored in this webapps.- Throws:
IOExceptionConfigurationException
-
getOldMailingList
public List<Mailing> getOldMailingList(String sender) throws IOException
- Throws:
IOException
-
getOldMailingListByContext
public List<Mailing> getOldMailingListByContext(String contextKey) throws IOException
- Throws:
IOException
-
getMailingListByContext
public List<Mailing> getMailingListByContext(String contextKey) throws IOException
- Throws:
IOException
-
getMailing
public Mailing getMailing(String id) throws IOException
- Throws:
IOException
-
getLiveMailing
public Mailing getLiveMailing(String id) throws IOException
- Throws:
IOException
-
-