public class MailingFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
KEY |
protected static Logger |
logger
create a static logger.
|
Constructor and Description |
---|
MailingFactory() |
Modifier and Type | Method and Description |
---|---|
static MailingFactory |
getInstance(javax.servlet.ServletContext application) |
Mailing |
getLiveMailing(String id) |
Mailing |
getMailing(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) |
protected static Logger logger
public static final String KEY
public static MailingFactory getInstance(javax.servlet.ServletContext application)
public List<Mailing> getMailingList() throws IOException
IOException
ConfigurationException
public List<Mailing> getOldMailingList() throws IOException
IOException
ConfigurationException
public List<Mailing> getOldMailingList(String sender) throws IOException
IOException
public List<Mailing> getOldMailingListByContext(String contextKey) throws IOException
IOException
public List<Mailing> getMailingListByContext(String contextKey) throws IOException
IOException
public Mailing getMailing(String id) throws IOException
IOException
public Mailing getLiveMailing(String id) throws IOException
IOException
Copyright © 2012-2018. All Rights Reserved.