public interface ICommentDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteByIdFom(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a list comment from the table
|
void |
insert(Comment comment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Comment |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Comment> |
selectCommentsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the comment objects and returns them as a list
|
List<Comment> |
selectCommentsList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
Date startingDate,
Date endingDate,
int nIdForm)
Load the data from the table
|
List<Comment> |
selectCommentsListInclusive(fr.paris.lutece.portal.service.plugin.Plugin plugin,
Date startingDate,
Date endingDate,
int nIdForm)
Load the data from the table
|
fr.paris.lutece.util.ReferenceList |
selectCommentsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the comment objects and returns them as a referenceList
|
List<Integer> |
selectIdCommentsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the comment objects and returns them as a list
|
void |
store(Comment comment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(Comment comment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
comment - instance of the Comment object to insertplugin - the Pluginvoid store(Comment comment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
comment - the reference of the Commentplugin - the Pluginvoid delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the Comment to deleteplugin - the Pluginvoid deleteByIdFom(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - The identifier of the formplugin - the PluginComment load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the commentplugin - the PluginList<Comment> selectCommentsList(fr.paris.lutece.portal.service.plugin.Plugin plugin, Date startingDate, Date endingDate, int nIdForm)
plugin - the pluginstartingDate - the date startendingDate - the date endnIdFrom - the id FormList<Comment> selectCommentsListInclusive(fr.paris.lutece.portal.service.plugin.Plugin plugin, Date startingDate, Date endingDate, int nIdForm)
plugin - the pluginstartingDate - the date startendingDate - the date endnIdFrom - the id FormList<Comment> selectCommentsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Integer> selectIdCommentsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginfr.paris.lutece.util.ReferenceList selectCommentsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginCopyright © 2022 City of Paris. All rights reserved.