public class CommentSubmit extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
STATE_DISABLE |
static int |
STATE_ENABLE |
| Constructor and Description |
|---|
CommentSubmit() |
| Modifier and Type | Method and Description |
|---|---|
List<CommentSubmit> |
getComments() |
Timestamp |
getDateComment()
return the comment date
|
Timestamp |
getDateModify()
return the last comment date
|
int |
getIdCommentSubmit()
return the id of the comment submit
|
int |
getIdParent() |
String |
getLuteceUserKey() |
SuggestSubmit |
getSuggestSubmit() |
String |
getValue() |
String |
getXml(javax.servlet.http.HttpServletRequest request,
Locale locale)
Returns the xml of this suggest submit
|
boolean |
isActive() |
Boolean |
isOfficialAnswer() |
void |
setActive(boolean active)
set true if the comment is active
|
void |
setComments(List<CommentSubmit> listComments) |
void |
setDateComment(Timestamp commentDate)
set the comment date
|
void |
setDateModify(Timestamp lastCommentDate)
set the last comment date
|
void |
setIdCommentSubmit(int idCommentSubmit)
set the id of the comment submit
|
void |
setIdParent(int nIdParent) |
void |
setLuteceUserKey(String luteceUserKey)
set the lutece user key associate to the suggest submit
|
void |
setOfficialAnswer(Boolean bOfficialAnswer) |
void |
setSuggestSubmit(SuggestSubmit suggestSubmit)
set the suggest submit of the comment
|
void |
setValue(String value)
set the value of the comment
|
public static final int STATE_DISABLE
public static final int STATE_ENABLE
public int getIdCommentSubmit()
public void setIdCommentSubmit(int idCommentSubmit)
idCommentSubmit - the id of the comment submitpublic SuggestSubmit getSuggestSubmit()
public void setSuggestSubmit(SuggestSubmit suggestSubmit)
suggestSubmit - the suggest submit of the commentpublic Timestamp getDateComment()
public void setDateComment(Timestamp commentDate)
commentDate - the comment datepublic String getValue()
public void setValue(String value)
value - the value of the commentpublic boolean isActive()
public void setActive(boolean active)
active - true if the comment is activepublic String getLuteceUserKey()
public void setLuteceUserKey(String luteceUserKey)
luteceUserKey - the lutece user keypublic void setOfficialAnswer(Boolean bOfficialAnswer)
bOfficialAnswer - the _bOfficialAnswer to setpublic Boolean isOfficialAnswer()
public void setComments(List<CommentSubmit> listComments)
listComments - the _listComments to setpublic List<CommentSubmit> getComments()
public void setIdParent(int nIdParent)
nIdParent - the _nIdParent to setpublic int getIdParent()
public Timestamp getDateModify()
public void setDateModify(Timestamp lastCommentDate)
lastCommentDate - the last comment dateCopyright © 2016 City of Paris. All rights reserved.