public final class MyAppsDatabaseHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
create(MyAppsDatabase myApp,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of myApps
|
static fr.paris.lutece.plugins.myapps.business.MyApps |
findByPrimaryKey(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a myApps whose identifier is specified in parameter
|
static fr.paris.lutece.portal.service.image.ImageResource |
getImageResource(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the image resource
|
static fr.paris.lutece.util.ReferenceList |
getMyAppsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of myApps
|
static List<fr.paris.lutece.plugins.myapps.business.MyApps> |
getMyAppsListByFilter(MyAppsDatabaseFilter filter,
boolean bIsAscSort,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads a list of myApps belonging to a filter
|
static boolean |
hasIcon(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the given MyApp Id has an icon or not
|
static int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a new primary key
|
static void |
remove(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the myApps whose identifier is specified in parameter
|
static List<fr.paris.lutece.plugins.myapps.business.MyApps> |
selectMyAppsList(MyAppsDatabaseFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads a list of all myApps
|
static void |
update(MyAppsDatabase myApp,
boolean bUpdateIcon,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the myApps which is specified in parameter
|
public static int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginpublic static void create(MyAppsDatabase myApp, fr.paris.lutece.portal.service.plugin.Plugin plugin)
myApp - The instance of the MyApps which contains the informations to storeplugin - the Pluginpublic static void update(MyAppsDatabase myApp, boolean bUpdateIcon, fr.paris.lutece.portal.service.plugin.Plugin plugin)
myApp - The instance of the MyApps which contains the data to storebUpdateIcon - true if the icon must also be updated, false otherwiseplugin - the Pluginpublic static void remove(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppId - The myApp Idplugin - the Pluginpublic static fr.paris.lutece.plugins.myapps.business.MyApps findByPrimaryKey(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppId - The myApps primary keyplugin - the Pluginpublic static List<fr.paris.lutece.plugins.myapps.business.MyApps> selectMyAppsList(MyAppsDatabaseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the app filterplugin - the Pluginpublic static List<fr.paris.lutece.plugins.myapps.business.MyApps> getMyAppsListByFilter(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 Pluginpublic static fr.paris.lutece.portal.service.image.ImageResource getImageResource(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppId - The myApp Idplugin - the Pluginpublic static fr.paris.lutece.util.ReferenceList getMyAppsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - PluginMyAppspublic static boolean hasIcon(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppId - the MyApp Idplugin - PluginCopyright © 2017 City of Paris. All rights reserved.