public interface IMyAppsDatabaseDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
fr.paris.lutece.portal.service.image.ImageResource |
getIconResource(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the icon representing the favorite application
|
fr.paris.lutece.util.ReferenceList |
getMyAppsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of my apps
|
boolean |
hasIcon(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the Myapps has an icon or not
|
void |
insert(MyAppsDatabase myApp,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
fr.paris.lutece.plugins.myapps.business.MyApps |
load(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of the right from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a new primary key
|
List<fr.paris.lutece.plugins.myapps.business.MyApps> |
selectMyAppsList(MyAppsDatabaseFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads all the myapps
|
List<fr.paris.lutece.plugins.myapps.business.MyApps> |
selectMyAppsListByFilter(MyAppsDatabaseFilter filter,
boolean bIsAscSort,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads all the myapps belonging to a filter
|
List<fr.paris.lutece.plugins.myapps.business.MyApps> |
selectMyAppsListByUser(String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads all the myapps belonging to a user ordered by the order specify by the user
|
void |
store(MyAppsDatabase myApp,
boolean bUpdateIcon,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginvoid insert(MyAppsDatabase myApp, fr.paris.lutece.portal.service.plugin.Plugin plugin)
myApp - instance of the MyApps object to insertplugin - the Pluginvoid store(MyAppsDatabase myApp, boolean bUpdateIcon, fr.paris.lutece.portal.service.plugin.Plugin plugin)
myApp - the reference of the MyAppsbUpdateIcon - true if the icon must also be updated, false otherwiseplugin - the Pluginvoid delete(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppId - int identifier of the MyApps to deleteplugin - the Pluginfr.paris.lutece.plugins.myapps.business.MyApps load(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppId - The identifier of the myAppsplugin - the PluginList<fr.paris.lutece.plugins.myapps.business.MyApps> selectMyAppsList(MyAppsDatabaseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the app filterplugin - the PluginList<fr.paris.lutece.plugins.myapps.business.MyApps> selectMyAppsListByFilter(MyAppsDatabaseFilter filter, boolean bIsAscSort, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the app filterbIsAscSort - true if it is sorted ascendly, false otherwiseplugin - the PluginList<fr.paris.lutece.plugins.myapps.business.MyApps> selectMyAppsListByUser(String strUserName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strUserName - the name of the userplugin - the Pluginfr.paris.lutece.portal.service.image.ImageResource getIconResource(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppId - int identifier of the MyApps to fetchplugin - the Pluginfr.paris.lutece.util.ReferenceList getMyAppsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - PluginMyAppsDatabaseboolean hasIcon(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppId - the ID of the MyAppplugin - PluginCopyright © 2018 City of Paris. All rights reserved.