fr.paris.lutece.plugins.extend.modules.comment.business.config
Class CommentExtenderConfig

java.lang.Object
  extended by fr.paris.lutece.plugins.extend.business.extender.config.ExtenderConfig
      extended by fr.paris.lutece.plugins.extend.modules.comment.business.config.CommentExtenderConfig
All Implemented Interfaces:
fr.paris.lutece.plugins.extend.business.extender.config.IExtenderConfig

public class CommentExtenderConfig
extends fr.paris.lutece.plugins.extend.business.extender.config.ExtenderConfig

CommentExtenderConfig


Constructor Summary
CommentExtenderConfig()
           
 
Method Summary
 String getAdminBadge()
          Get the badge of comments posted by admin users
 boolean getAuthorizeSubComments()
          Check if sub comments are authorized for this extender
 int getIdMailingList()
           
 String getMessageCommentCreated()
          Get the message to display to users when a comment is created
 int getNbComments()
           
 boolean getUseBBCodeEditor()
          Check if a BBCode editor should be used to compose comments
 boolean isModerated()
          Checks if is moderated.
 void setAdminBadge(String strAdminAnswerBadge)
          Set the badge of comments posted by admin users
 void setAuthorizeSubComments(boolean bAuthorizeSubComments)
          Authorize or unauthorize sub comments for this extender
 void setIdMailingList(int nIdMailingList)
           
 void setMessageCommentCreated(String strMessageCommentCreated)
          Set the message to display to users when a comment is created
 void setModerated(boolean bModerated)
          Sets the moderated.
 void setNbComments(int nNbComments)
           
 void setUseBBCodeEditor(boolean bUseBBCodeEditor)
          Set the usage of a BBCode editor compose comments
 
Methods inherited from class fr.paris.lutece.plugins.extend.business.extender.config.ExtenderConfig
getIdExtender, setIdExtender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentExtenderConfig

public CommentExtenderConfig()
Method Detail

isModerated

public boolean isModerated()
Checks if is moderated.

Returns:
true, if is moderated

setModerated

public void setModerated(boolean bModerated)
Sets the moderated.

Parameters:
bModerated - the new moderated

getNbComments

public int getNbComments()
Returns:
the nNbComments

setNbComments

public void setNbComments(int nNbComments)
Parameters:
nNbComments - the nNbComments to set

getIdMailingList

public int getIdMailingList()
Returns:
the nIdMailingList

setIdMailingList

public void setIdMailingList(int nIdMailingList)
Parameters:
nIdMailingList - the nIdMailingList to set

getAuthorizeSubComments

public boolean getAuthorizeSubComments()
Check if sub comments are authorized for this extender

Returns:
True if sub comments are authorized, false otherwise

setAuthorizeSubComments

public void setAuthorizeSubComments(boolean bAuthorizeSubComments)
Authorize or unauthorize sub comments for this extender

Parameters:
bAuthorizeSubComments - True if sub comments are authorized, false otherwise

getUseBBCodeEditor

public boolean getUseBBCodeEditor()
Check if a BBCode editor should be used to compose comments

Returns:
True if a BBCode should be used to compose comments, false otherwise

setUseBBCodeEditor

public void setUseBBCodeEditor(boolean bUseBBCodeEditor)
Set the usage of a BBCode editor compose comments

Parameters:
bUseBBCodeEditor - True to use a BBCode editor to compose comments, false otherwise

getAdminBadge

public String getAdminBadge()
Get the badge of comments posted by admin users

Returns:
The badge of comments posted by admin users

setAdminBadge

public void setAdminBadge(String strAdminAnswerBadge)
Set the badge of comments posted by admin users

Parameters:
strAdminAnswerBadge - The badge of comments posted by admin users

getMessageCommentCreated

public String getMessageCommentCreated()
Get the message to display to users when a comment is created

Returns:
The message to display

setMessageCommentCreated

public void setMessageCommentCreated(String strMessageCommentCreated)
Set the message to display to users when a comment is created

Parameters:
strMessageCommentCreated - The message to display


Copyright © 2013 Mairie de Paris. All Rights Reserved.