fr.paris.lutece.plugins.newsletter.modules.document.business
Class NewsletterDocument

java.lang.Object
  extended by fr.paris.lutece.plugins.newsletter.modules.document.business.NewsletterDocument

public class NewsletterDocument
extends Object

Newsletter document topic class


Constructor Summary
NewsletterDocument()
           
 
Method Summary
 int getId()
          Get the id of the topic
 int getIdTemplate()
          Get the id of the template to apply to documents of this topic
 boolean getUseDocumentCategories()
          Check if this topic use document categories to get the document 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 documents of this topic
 void setUseDocumentCategories(boolean bUseDocumentCategories)
          Set the flag to indicates if this topic use document categories to get the document list, or document list portlets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewsletterDocument

public NewsletterDocument()
Method Detail

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 documents of this topic

Returns:
The id of the template to apply to documents of this topic

setIdTemplate

public void setIdTemplate(int nIdTemplate)
Set the id of the template to apply to documents of this topic

Parameters:
nIdTemplate - The id of the template to apply to documents of this topic

getUseDocumentCategories

public boolean getUseDocumentCategories()
Check if this topic use document categories to get the document list, or document list portlets

Returns:
True if this topic use document categories to get the document list, false if it use portlets.

setUseDocumentCategories

public void setUseDocumentCategories(boolean bUseDocumentCategories)
Set the flag to indicates if this topic use document categories to get the document list, or document list portlets

Parameters:
bUseDocumentCategories - True if this topic use document categories to get the document list, false if it use portlets.


Copyright © 2013 Mairie de Paris. All Rights Reserved.