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
|
DiggSubmit |
getDiggSubmit() |
int |
getIdCommentSubmit()
return the id of the comment submit
|
int |
getIdParent() |
String |
getLuteceUserKey() |
String |
getValue() |
String |
getXml(javax.servlet.http.HttpServletRequest request,
Locale locale)
Returns the xml of this digg 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 |
setDiggSubmit(DiggSubmit diggSubmit)
set the digg submit of the comment
|
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 digg submit
|
void |
setOfficialAnswer(Boolean bOfficialAnswer) |
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 DiggSubmit getDiggSubmit()
public void setDiggSubmit(DiggSubmit diggSubmit)
diggSubmit
- the digg 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 Mairie de Paris. All Rights Reserved.