public class CommentExtenderConfig
extends fr.paris.lutece.plugins.extend.business.extender.config.ExtenderConfig
Constructor and Description |
---|
CommentExtenderConfig() |
Modifier and Type | Method and Description |
---|---|
int |
getAddCommentPosition() |
String |
getAdminBadge()
Get the badge of comments posted by admin users
|
boolean |
getAuthorizeSubComments()
Check if sub comments are authorized for this extender
|
boolean |
getDeleteComments()
Returns the DeleteComments option
|
int |
getIdMailingList() |
int |
getIdWorkflow()
Getter for id_workflow
|
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 |
isDisplaySubComments() |
boolean |
isEnabledAuthMode() |
boolean |
isModerated()
Checks if is moderated.
|
boolean |
isTriCommentsByCreation()
Get Tri date comments
|
void |
setAddCommentPosition(int nPosition)
* @param the position number
|
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 |
setDeleteComments(boolean bDeleteComments)
Sets the DeleteComments option
|
void |
setDisplaySubComments(boolean bDisplaySubComments) |
void |
setEnabledAuthMode(boolean bEnableAuthMode) |
void |
setIdMailingList(int nIdMailingList) |
void |
setIdWorkflow(int nIdWorkflow)
setter for id_workflow
|
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 |
setTriCommentsByCreation(boolean bTriDateComments)
Sets tri date comments
|
void |
setUseBBCodeEditor(boolean bUseBBCodeEditor)
Set the usage of a BBCode editor compose comments
|
public boolean isModerated()
public void setModerated(boolean bModerated)
bModerated
- the new moderatedpublic int getNbComments()
public void setNbComments(int nNbComments)
nNbComments
- the nNbComments to setpublic int getIdMailingList()
public void setIdMailingList(int nIdMailingList)
nIdMailingList
- the nIdMailingList to setpublic boolean getAuthorizeSubComments()
public void setAuthorizeSubComments(boolean bAuthorizeSubComments)
bAuthorizeSubComments
- True if sub comments are authorized, false otherwisepublic boolean getUseBBCodeEditor()
public void setUseBBCodeEditor(boolean bUseBBCodeEditor)
bUseBBCodeEditor
- True to use a BBCode editor to compose comments, false otherwisepublic String getAdminBadge()
public void setAdminBadge(String strAdminAnswerBadge)
strAdminAnswerBadge
- The badge of comments posted by admin userspublic String getMessageCommentCreated()
public void setMessageCommentCreated(String strMessageCommentCreated)
strMessageCommentCreated
- The message to displaypublic int getAddCommentPosition()
public void setAddCommentPosition(int nPosition)
public boolean isEnabledAuthMode()
public void setEnabledAuthMode(boolean bEnableAuthMode)
bEnableAuthMode
- true if the authentication mode is enablepublic boolean isDisplaySubComments()
public void setDisplaySubComments(boolean bDisplaySubComments)
bDisplaySubComments
- true if the display sub comments mode is enablepublic boolean getDeleteComments()
public void setDeleteComments(boolean bDeleteComments)
bDeleteComments
- The DeleteComments optionpublic boolean isTriCommentsByCreation()
public void setTriCommentsByCreation(boolean bTriDateComments)
bTriDateComments
- tri date commentspublic int getIdWorkflow()
public void setIdWorkflow(int nIdWorkflow)
nIdWorkflow
- the Id Workflow to setCopyright © 2021 City of Paris. All rights reserved.