public interface IFavoriteDAO
| Modifier and Type | Method and Description |
|---|---|
int |
countProviderNameRemoteId(String strProviderName,
String strRemoteId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Count the number of favorite for one provider name AND one remote id (should be 1 or 0)
|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Favorite favorite,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Favorite |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Favorite> |
selectActivatedFavoritesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the activated favorite objects and returns them as a list
|
List<Favorite> |
selectDefaultFavoritesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the default favorites list
|
List<Favorite> |
selectFavoritesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the favorite objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectFavoritesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the favorite objects and returns them as a referenceList
|
List<Integer> |
selectIdFavoritesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the favorite objects and returns them as a list
|
List<Favorite> |
selectProviderNameFavoritesList(String strProviderName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the favorite provided by the ProviderName
|
void |
store(Favorite favorite,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(Favorite favorite, fr.paris.lutece.portal.service.plugin.Plugin plugin)
favorite - instance of the Favorite object to insertplugin - the Pluginvoid store(Favorite favorite, fr.paris.lutece.portal.service.plugin.Plugin plugin)
favorite - the reference of the Favoriteplugin - the Pluginvoid delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the Favorite to deleteplugin - the PluginFavorite load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the favoriteplugin - the PluginList<Favorite> selectFavoritesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Integer> selectIdFavoritesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginfr.paris.lutece.util.ReferenceList selectFavoritesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Favorite> selectActivatedFavoritesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Favorite> selectProviderNameFavoritesList(String strProviderName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProviderName - the favorite provider nameplugin - the Pluginint countProviderNameRemoteId(String strProviderName, String strRemoteId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProviderName - the favorite provider namestrRemoteId - the favorite remote idplugin - the PluginCopyright © 2022 City of Paris. All rights reserved.