public final class CommentSubmitHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
create(CommentSubmit commentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of commentSubmit
|
static CommentSubmit |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a CommentSubmitwhose identifier is specified in
parameter
|
static List<CommentSubmit> |
findSuggestCommentByDate(Date dateCreation,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of comments posted after a given date
|
static List<CommentSubmit> |
getCommentSubmitList(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
|
static int |
getCountCommentSubmit(SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the number of all the commentSubmit who verify the filter
|
static void |
remove(int nIdCommentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the commentSubmit whose identifier is specified in parameter
|
static void |
removeByIdParent(int nIdParentCommentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the commentSubmit whose parent identifier is specified in
parameter
|
static void |
update(CommentSubmit commentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the commentSubmit which is specified in parameter
|
static void |
updateDateModify(Timestamp dateModify,
int idCommentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the modification date of the commentSubmit which is specified in
parameter
|
public static void create(CommentSubmit commentSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
commentSubmit - The instance of the commentSubmit which contains the
informations to storeplugin - the Pluginpublic static void update(CommentSubmit commentSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
commentSubmit - The instance of the commentSubmit which contains the
informations to updateplugin - the Pluginpublic static void updateDateModify(Timestamp dateModify, int idCommentSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
dateModify - The new date of modification of the commentSubmitidCommentSubmit - The id of the comment submit to updateplugin - the Pluginpublic static void remove(int nIdCommentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCommentSubmit - The commentSubmitIdplugin - the Pluginpublic static void removeByIdParent(int nIdParentCommentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdParentCommentSubmit - The parent identifierplugin - the Pluginpublic static CommentSubmit findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The commentSubmit primary keyplugin - the Pluginpublic static List<CommentSubmit> getCommentSubmitList(SubmitFilter filter, Integer nLimit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filternLimit - the number limit of comment returnplugin - the pluginpublic static List<CommentSubmit> findSuggestCommentByDate(Date dateCreation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
dateCreation - The creation date of commentsplugin - The pluginpublic static int getCountCommentSubmit(SubmitFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the pluginCopyright © 2016 City of Paris. All rights reserved.