public class FavoriteDAO extends Object implements IFavoriteDAO
| Constructor and Description |
|---|
FavoriteDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdfavorite,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete.
|
void |
deleteByResource(String strIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete by id hub resource.
|
void |
insert(Favorite favorite,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert.
|
Favorite |
load(int nIdfavorite,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load.
|
List<Favorite> |
loadByFilter(FavoriteFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Favorite |
loadByResource(String strIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select by id hub resource.
|
void |
store(Favorite favorite,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Store.
|
public void insert(Favorite favorite, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IFavoriteDAOfavorite - the Favoriteplugin - the pluginpublic Favorite load(int nIdfavorite, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IFavoriteDAOnIdfavorite - the n id Favoriteplugin - the pluginpublic void delete(int nIdfavorite,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IFavoriteDAOnIdfavorite - the n id Favoriteplugin - the pluginpublic void deleteByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByResource in interface IFavoriteDAOstrIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typeplugin - the pluginpublic void store(Favorite favorite, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IFavoriteDAOfavorite - the Favoriteplugin - the pluginpublic Favorite loadByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByResource in interface IFavoriteDAOstrIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typeplugin - the pluginpublic List<Favorite> loadByFilter(FavoriteFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByFilter in interface IFavoriteDAOfilter - the filterplugin - the pluginCopyright © 2017 City of Paris. All rights reserved.