public interface IPostDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdPost,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Post post,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Post |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Collection<Post> |
selectPostsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the post objects and returns them as a collection
|
Collection<Post> |
selectPostsListIdAuteur(int nIdAuteur,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the post objects and returns them as a collection
|
void |
store(Post post,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(Post post, fr.paris.lutece.portal.service.plugin.Plugin plugin)
post - instance of the Post object to insertplugin - the Pluginvoid store(Post post, fr.paris.lutece.portal.service.plugin.Plugin plugin)
post - the reference of the Postplugin - the Pluginvoid delete(int nIdPost,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPost - int identifier of the Post to deleteplugin - the PluginPost load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the postplugin - the PluginCollection<Post> selectPostsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginCollection<Post> selectPostsListIdAuteur(int nIdAuteur, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAuteur - the IdAuteurplugin - the PluginCopyright © 2016 City of Paris. All rights reserved.