public final class CommentSubmitDAO extends Object implements ICommentSubmitDAO
| Constructor and Description |
|---|
CommentSubmitDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdTagSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the comment submit whose identifier is specified in parameter
|
void |
deleteByIdParent(int nIdParentCommentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the comment submit whose parent identifier is specified in parameter
|
List<CommentSubmit> |
findSuggestCommentByDate(Date dateCreation,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of comments posted after a given date
|
void |
insert(CommentSubmit commentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
CommentSubmit |
load(int nIdCommentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the commentSubmit from the table
|
int |
selectCountByFilter(SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the number of all the commentSubmit who verify the filter
|
List<CommentSubmit> |
selectListByFilter(SubmitFilter filter,
Integer nLimit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the commentSubmit who verify the filter and returns them in a list
|
void |
store(CommentSubmit commentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the commentSubmit in the table
|
void |
storeDateModify(Timestamp dateModify,
int idCommentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update date modify
|
public void insert(CommentSubmit commentSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ICommentSubmitDAOcommentSubmit - instance of the Comment Submit object to insertplugin - the pluginpublic CommentSubmit load(int nIdCommentSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ICommentSubmitDAOnIdCommentSubmit - The identifier of the comment submitplugin - the pluginpublic void delete(int nIdTagSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ICommentSubmitDAOnIdTagSubmit - The identifier of the comment submitplugin - the pluginpublic void store(CommentSubmit commentSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ICommentSubmitDAOcommentSubmit - instance of the commentSubmit object to updateplugin - the pluginpublic void storeDateModify(Timestamp dateModify, int idCommentSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
storeDateModify in interface ICommentSubmitDAOdateModify - update the modification dateidCommentSubmit - the comment idplugin - the pluginpublic List<CommentSubmit> selectListByFilter(SubmitFilter filter, Integer nLimit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListByFilter in interface ICommentSubmitDAOfilter - the filternLimit - the number limit of comment returnplugin - the pluginpublic List<CommentSubmit> findSuggestCommentByDate(Date dateCreation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findSuggestCommentByDate in interface ICommentSubmitDAOdateCreation - The creation date of commentsplugin - The pluginpublic int selectCountByFilter(SubmitFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCountByFilter in interface ICommentSubmitDAOfilter - the filterplugin - the pluginpublic void deleteByIdParent(int nIdParentCommentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByIdParent in interface ICommentSubmitDAOnIdParentCommentSubmit - The parent identifierplugin - the pluginCopyright © 2016 City of Paris. All rights reserved.