java.lang.Object
fr.paris.lutece.plugins.newsletter.modules.blog.business.NewsletterBlog
All Implemented Interfaces:
Serializable

public class NewsletterBlog extends Object implements Serializable
Newsletter blogs topic class
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the id of the topic
    int
    Get the id of the template to apply to blogs of this topic
    boolean
    Check if this topic use blogs tags to get the blogs list, or document list portlets
    void
    setId(int nId)
    Set the id of the topic
    void
    setIdTemplate(int nIdTemplate)
    Set the id of the template to apply to blogs of this topic
    void
    setUseDocumentTags(boolean bUseDocumentTags)
    Set the flag to indicates if this topic use blogs tags to get the blogs list, or blogs list portlets

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NewsletterBlog

      public NewsletterBlog()
  • Method Details

    • getId

      public int getId()
      Get the id of the topic
      Returns:
      The id of the topic
    • setId

      public void setId(int nId)
      Set the id of the topic
      Parameters:
      nId - The id of the topic
    • getIdTemplate

      public int getIdTemplate()
      Get the id of the template to apply to blogs of this topic
      Returns:
      The id of the template to apply to blogs of this topic
    • setIdTemplate

      public void setIdTemplate(int nIdTemplate)
      Set the id of the template to apply to blogs of this topic
      Parameters:
      nIdTemplate - The id of the template to apply to blogs of this topic
    • getUseDocumentTags

      public boolean getUseDocumentTags()
      Check if this topic use blogs tags to get the blogs list, or document list portlets
      Returns:
      True if this topic use blogs categories to get the blogs list, false if it use portlets.
    • setUseDocumentTags

      public void setUseDocumentTags(boolean bUseDocumentTags)
      Set the flag to indicates if this topic use blogs tags to get the blogs list, or blogs list portlets
      Parameters:
      bUseDocumentTags - True if this topic use blogs tags to get the document list, false if it use portlets.