public class CommentSubmitService extends Object implements ICommentSubmitService
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_SERVICE |
| Constructor and Description |
|---|
CommentSubmitService() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(CommentSubmit commentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of commentSubmit
|
CommentSubmit |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a CommentSubmitwhose identifier is specified in parameter
|
List<CommentSubmit> |
getCommentSubmitList(SubmitFilter filter,
Integer nLimitParentNumber,
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
|
List<CommentSubmit> |
getCommentSubmitList(SubmitFilter filter,
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
|
int |
getCountCommentSubmit(SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the number of all the commentSubmit who verify the filter
|
static ICommentSubmitService |
getService()
Returns the instance of the singleton
|
void |
remove(int nIdCommentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the commentSubmit whose identifier is specified in parameter
|
void |
update(CommentSubmit commentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the commentSubmit which is specified in parameter
|
public static final String BEAN_SERVICE
public void create(CommentSubmit commentSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
create in interface ICommentSubmitServicecommentSubmit - The instance of the commentSubmit which contains the informations to storeplugin - the Pluginpublic void update(CommentSubmit commentSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
update in interface ICommentSubmitServicecommentSubmit - The instance of the commentSubmit which contains the informations to updateplugin - the Pluginpublic void remove(int nIdCommentSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove in interface ICommentSubmitServicenIdCommentSubmit - The commentSubmitIdplugin - the Pluginpublic CommentSubmit findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByPrimaryKey in interface ICommentSubmitServicenKey - The commentSubmit primary keyplugin - the Pluginpublic List<CommentSubmit> getCommentSubmitList(SubmitFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getCommentSubmitList in interface ICommentSubmitServicefilter - the filterplugin - the pluginpublic List<CommentSubmit> getCommentSubmitList(SubmitFilter filter, Integer nLimitParentNumber, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getCommentSubmitList in interface ICommentSubmitServicefilter - the filternLimitParentNumber - limit the number of parent comment returnplugin - the pluginpublic int getCountCommentSubmit(SubmitFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getCountCommentSubmit in interface ICommentSubmitServicefilter - the filterplugin - the pluginpublic static ICommentSubmitService getService()
Copyright © 2016 City of Paris. All rights reserved.