| Constructor and Description |
|---|
LinkDAO() |
| 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 |
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
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
Collection<Integer> |
selectIdLinksList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the link objects and returns them as a collection
|
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> |
selectLinksListSearch(LinkSearcher linkSearcher,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
store(Link link,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic void insert(Link link, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Link load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Link link, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Collection<Link> selectLinksList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectLinksList in interface ILinkDAOplugin - the Pluginpublic Collection<Integer> selectIdLinksList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdLinksList in interface ILinkDAOplugin - the Pluginpublic Collection<Link> selectLinksListSearch(LinkSearcher linkSearcher, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectLinksListSearch in interface ILinkDAOlinkSearcher - the link searchplugin - the pluginCopyright © 2020 City of Paris. All rights reserved.