Class NewsletterBlogTopicService

java.lang.Object
fr.paris.lutece.plugins.newsletter.modules.blog.service.NewsletterBlogTopicService
All Implemented Interfaces:
fr.paris.lutece.plugins.newsletter.service.topic.INewsletterTopicService

@ApplicationScoped @Named("newsletter-blog.newsBlogTopicService") public class NewsletterBlogTopicService extends Object implements fr.paris.lutece.plugins.newsletter.service.topic.INewsletterTopicService
The newsletter document topic service
  • Field Details

    • NEWSLETTER_DOCUMENT_TOPIC_TYPE

      public static final String NEWSLETTER_DOCUMENT_TOPIC_TYPE
      Newsletter document topic type
      See Also:
  • Constructor Details

    • NewsletterBlogTopicService

      public NewsletterBlogTopicService()
  • Method Details

    • getNewsletterTopicTypeCode

      public String getNewsletterTopicTypeCode()
      Specified by:
      getNewsletterTopicTypeCode in interface fr.paris.lutece.plugins.newsletter.service.topic.INewsletterTopicService
    • getNewsletterTopicTypeName

      public String getNewsletterTopicTypeName(Locale locale)
      Specified by:
      getNewsletterTopicTypeName in interface fr.paris.lutece.plugins.newsletter.service.topic.INewsletterTopicService
    • hasConfiguration

      public boolean hasConfiguration()
      Specified by:
      hasConfiguration in interface fr.paris.lutece.plugins.newsletter.service.topic.INewsletterTopicService
      Returns:
      Always return true
    • getConfigurationPage

      public String getConfigurationPage(fr.paris.lutece.plugins.newsletter.business.topic.NewsletterTopic newsletterTopic, String strBaseUrl, fr.paris.lutece.portal.business.user.AdminUser user, Locale locale)
      Specified by:
      getConfigurationPage in interface fr.paris.lutece.plugins.newsletter.service.topic.INewsletterTopicService
    • saveConfiguration

      public void saveConfiguration(Map<String,String[]> mapParameters, fr.paris.lutece.plugins.newsletter.business.topic.NewsletterTopic newsletterTopic, fr.paris.lutece.portal.business.user.AdminUser user, Locale locale)
      Specified by:
      saveConfiguration in interface fr.paris.lutece.plugins.newsletter.service.topic.INewsletterTopicService
    • createNewsletterTopic

      public void createNewsletterTopic(fr.paris.lutece.plugins.newsletter.business.topic.NewsletterTopic newsletterTopic, fr.paris.lutece.portal.business.user.AdminUser user, Locale locale)
      Specified by:
      createNewsletterTopic in interface fr.paris.lutece.plugins.newsletter.service.topic.INewsletterTopicService
    • removeNewsletterTopic

      public void removeNewsletterTopic(int nNewsletterTopicId)
      Specified by:
      removeNewsletterTopic in interface fr.paris.lutece.plugins.newsletter.service.topic.INewsletterTopicService
    • getHtmlContent

      public String getHtmlContent(fr.paris.lutece.plugins.newsletter.business.topic.NewsletterTopic newsletterTopic, fr.paris.lutece.portal.business.user.AdminUser user, Locale locale)
      Specified by:
      getHtmlContent in interface fr.paris.lutece.plugins.newsletter.service.topic.INewsletterTopicService
    • copyNewsletterTopic

      public void copyNewsletterTopic(int oldTopicId, fr.paris.lutece.plugins.newsletter.business.topic.NewsletterTopic newsletterTopic, fr.paris.lutece.portal.business.user.AdminUser user, Locale locale)
      Specified by:
      copyNewsletterTopic in interface fr.paris.lutece.plugins.newsletter.service.topic.INewsletterTopicService