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

public class CommentExtenderConfig extends fr.paris.lutece.plugins.extend.business.extender.config.ExtenderConfig
CommentExtenderConfig
See Also:
  • Constructor Details

    • CommentExtenderConfig

      public CommentExtenderConfig()
  • Method Details

    • 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
    • getAddCommentPosition

      public int getAddCommentPosition()
    • setAddCommentPosition

      public void setAddCommentPosition(int nPosition)
      * @param the position number
    • isEnabledAuthMode

      public boolean isEnabledAuthMode()
      Returns:
      isEnableAuthMode true if the authentication mode is enable
    • setEnabledAuthMode

      public void setEnabledAuthMode(boolean bEnableAuthMode)
      Parameters:
      bEnableAuthMode - true if the authentication mode is enable
    • isDisplaySubComments

      public boolean isDisplaySubComments()
      Returns:
      isDisplaySubComments true if the display sub comments mode is enable
    • setDisplaySubComments

      public void setDisplaySubComments(boolean bDisplaySubComments)
      Parameters:
      bDisplaySubComments - true if the display sub comments mode is enable
    • getDeleteComments

      public boolean getDeleteComments()
      Returns the DeleteComments option
      Returns:
      True if the the option is enabled
    • setDeleteComments

      public void setDeleteComments(boolean bDeleteComments)
      Sets the DeleteComments option
      Parameters:
      bDeleteComments - The DeleteComments option
    • isTriCommentsByCreation

      public boolean isTriCommentsByCreation()
      Get Tri date comments
      Returns:
      if tri date comments
    • setTriCommentsByCreation

      public void setTriCommentsByCreation(boolean bTriDateComments)
      Sets tri date comments
      Parameters:
      bTriDateComments - tri date comments
    • getIdWorkflow

      public int getIdWorkflow()
      Getter for id_workflow
      Returns:
      the _nIdWorkflow
    • setIdWorkflow

      public void setIdWorkflow(int nIdWorkflow)
      setter for id_workflow
      Parameters:
      nIdWorkflow - the Id Workflow to set