Package | Description |
---|---|
fr.paris.lutece.plugins.newsletter.business | |
fr.paris.lutece.plugins.newsletter.service |
Modifier and Type | Method and Description |
---|---|
static NewsLetter |
NewsLetterHome.create(NewsLetter newsLetter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the newsletter
|
static NewsLetter |
NewsLetterHome.findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an object NewsLetter from its identifier
|
NewsLetter |
NewsLetterDAO.load(int nNewsLetterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the data of the newsletter from the table
|
NewsLetter |
INewsLetterDAO.load(int nNewsLetterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the data of the newsletter from the table
|
static NewsLetter |
NewsLetterHome.update(NewsLetter newsLetter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
update of the newsletter which is specified in parameter
|
Modifier and Type | Method and Description |
---|---|
static Collection<NewsLetter> |
NewsLetterHome.findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of NewsLetter objects
|
static Collection<NewsLetter> |
NewsLetterHome.findAllByTemplateId(int nTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Gets a collection of NewsLetter associated with a given template
|
Collection<NewsLetter> |
NewsLetterDAO.selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the list of the newsletters available
|
Collection<NewsLetter> |
INewsLetterDAO.selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the list of the newsletters available
|
Collection<NewsLetter> |
NewsLetterDAO.selectAllByTemplateId(int nTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Gets a collection of NewsLetter associated with a given template
|
Collection<NewsLetter> |
INewsLetterDAO.selectAllByTemplateId(int nTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Gets a collection of NewsLetter associated with a given template
|
Modifier and Type | Method and Description |
---|---|
static NewsLetter |
NewsLetterHome.create(NewsLetter newsLetter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the newsletter
|
void |
NewsLetterDAO.insert(NewsLetter newsLetter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
INewsLetterDAO.insert(NewsLetter newsLetter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
NewsLetterDAO.store(NewsLetter newsLetter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void |
INewsLetterDAO.store(NewsLetter newsLetter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
static NewsLetter |
NewsLetterHome.update(NewsLetter newsLetter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
update of the newsletter which is specified in parameter
|
Modifier and Type | Method and Description |
---|---|
void |
NewsletterService.copyExistingNewsletter(NewsLetter newsletter,
fr.paris.lutece.portal.business.user.AdminUser user,
Locale locale)
Copy existing newsletter without its subscribers.
|
String |
NewsletterService.generateNewsletterHtmlCode(NewsLetter newsletter,
int nTemplateNewsLetterId,
String strBaseUrl,
fr.paris.lutece.portal.business.user.AdminUser user,
Locale locale)
Generate the html code of the newsletter according to the document and
newsletter templates
|
void |
NewsletterService.sendMail(NewsLetter newsletter,
String strObject,
String strBaseUrl,
fr.paris.lutece.util.html.HtmlTemplate templateNewsletter,
Collection<Subscriber> listSubscribers)
Send the newsletter to a list of subscribers
|
Copyright © 2019 City of Paris. All rights reserved.