public interface ILinkDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdLink,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Link link,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Link |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Collection<Link> |
selectLinksList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the link objects and returns them as a collection
|
Collection<Link> |
selectLinksListTag(int hashtag,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the link objects whose hashtag is specified in parameter and returns them as a collection
|
void |
store(Link link,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(Link link, fr.paris.lutece.portal.service.plugin.Plugin plugin)
link
- instance of the Link object to insertplugin
- the Pluginvoid store(Link link, fr.paris.lutece.portal.service.plugin.Plugin plugin)
link
- the reference of the Linkplugin
- the Pluginvoid delete(int nIdLink, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdLink
- int identifier of the Link to deleteplugin
- the PluginLink load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the linkplugin
- the PluginCollection<Link> selectLinksList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginCollection<Link> selectLinksListTag(int hashtag, fr.paris.lutece.portal.service.plugin.Plugin plugin)
hashtag
- The hashtagplugin
- the PluginCopyright © 2016 City of Paris. All rights reserved.