Class NewsletterBlog
java.lang.Object
fr.paris.lutece.plugins.newsletter.modules.blog.business.NewsletterBlog
- All Implemented Interfaces:
Serializable
Newsletter blogs topic class
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()Get the id of the topicintGet the id of the template to apply to blogs of this topicbooleanCheck if this topic use blogs tags to get the blogs list, or document list portletsvoidsetId(int nId) Set the id of the topicvoidsetIdTemplate(int nIdTemplate) Set the id of the template to apply to blogs of this topicvoidsetUseDocumentTags(boolean bUseDocumentTags) Set the flag to indicates if this topic use blogs tags to get the blogs list, or blogs list portlets
-
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.
-