public interface ICommentSubmitDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdCommentSubmit,
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
|
void insert(CommentSubmit commentSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
commentSubmit - instance of the Comment Submit object to insertplugin - the pluginCommentSubmit load(int nIdCommentSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCommentSubmit - The identifier of the comment submitplugin - the pluginvoid delete(int nIdCommentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCommentSubmit - The identifier of the comment submitplugin - the pluginvoid deleteByIdParent(int nIdParentCommentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdParentCommentSubmit - The parent identifierplugin - the pluginvoid store(CommentSubmit commentSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
commentSubmit - instance of the commentSubmit object to updateplugin - the pluginList<CommentSubmit> selectListByFilter(SubmitFilter filter, Integer nLimit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filternLimit - the number limit of comment returnplugin - the pluginList<CommentSubmit> findSuggestCommentByDate(Date dateCreation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
dateCreation - The creation date of commentsplugin - The pluginint selectCountByFilter(SubmitFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the pluginvoid storeDateModify(Timestamp dateModify, int idCommentSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
dateModify - update the modification dateidCommentSubmit - the comment idplugin - the pluginCopyright © 2016 City of Paris. All rights reserved.