public interface INewsletterTopicService
| Modifier and Type | Method and Description |
|---|---|
void |
createNewsletterTopic(NewsletterTopic newsletterTopic,
fr.paris.lutece.portal.business.user.AdminUser user,
Locale locale)
Creates a new topic for a newsletter
|
String |
getConfigurationPage(NewsletterTopic newsletterTopic,
String strBaseUrl,
fr.paris.lutece.portal.business.user.AdminUser user,
Locale locale)
Get the configuration page of the content type.
|
String |
getHtmlContent(NewsletterTopic newsletterTopic,
fr.paris.lutece.portal.business.user.AdminUser user,
Locale locale)
Get the html content of a topic.
|
String |
getNewsletterTopicTypeCode()
Get the unique code of the topic type associated with this service.
|
String |
getNewsletterTopicTypeName(Locale locale)
Get the localized name of the topic type associated with this service.
|
boolean |
hasConfiguration()
Check if topics of this topic type need a configuration or not.
|
void |
removeNewsletterTopic(int nNewsletterTopicId)
Remove a newsletter topic from its id.
|
void |
saveConfiguration(Map<String,String[]> mapParameters,
NewsletterTopic newsletterTopic,
fr.paris.lutece.portal.business.user.AdminUser user,
Locale locale) |
String getNewsletterTopicTypeCode()
String getNewsletterTopicTypeName(Locale locale)
locale - The locale to useboolean hasConfiguration()
String getConfigurationPage(NewsletterTopic newsletterTopic, String strBaseUrl, fr.paris.lutece.portal.business.user.AdminUser user, Locale locale)
newsletterTopic - The newsletter topic to get the configuration
of.strBaseUrl - The base urluser - The current userlocale - The localevoid saveConfiguration(Map<String,String[]> mapParameters, NewsletterTopic newsletterTopic, fr.paris.lutece.portal.business.user.AdminUser user, Locale locale)
mapParameters - The collection of parameters of the configuration.
Those parameters are request parameters in request contexts.newsletterTopic - The newsletter topic to get the configuration
of.user - The current userlocale - The localevoid createNewsletterTopic(NewsletterTopic newsletterTopic, fr.paris.lutece.portal.business.user.AdminUser user, Locale locale)
newsletterTopic - The details of the topic to createuser - The current userlocale - The localevoid removeNewsletterTopic(int nNewsletterTopicId)
nNewsletterTopicId - The id of the topic to remove.String getHtmlContent(NewsletterTopic newsletterTopic, fr.paris.lutece.portal.business.user.AdminUser user, Locale locale)
newsletterTopic - The topic to get the html of.user - The current userlocale - The localeCopyright © 2015 City of Paris. All rights reserved.