public interface IShortUrlDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdShortener,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
delete(String strKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table using key
|
void |
insert(ShortUrl shortener,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
ShortUrl |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
ShortUrl |
load(String strKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Collection<ShortUrl> |
selectShortenersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the shortener objects and returns them as a collection
|
void |
store(ShortUrl shortener,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
static final String BEAN_NAME
void insert(ShortUrl shortener, fr.paris.lutece.portal.service.plugin.Plugin plugin)
shortener - instance of the ShortUrl object to inssertplugin - the Pluginvoid store(ShortUrl shortener, fr.paris.lutece.portal.service.plugin.Plugin plugin)
shortener - the reference of the ShortUrlplugin - the Pluginvoid delete(int nIdShortener,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdShortener - int identifier of the ShortUrl to deleteplugin - the Pluginvoid delete(String strKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strKey - the shortener key to deleteplugin - the PluginShortUrl load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strId - The identifier of the shortenerplugin - the PluginCollection<ShortUrl> selectShortenersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginCopyright © 2019 City of Paris. All rights reserved.