|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.myapps.modules.database.business.MyAppsDatabaseHome
public final class MyAppsDatabaseHome
MyAppsDatabaseHome
| Method Summary | |
|---|---|
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 java.util.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 java.util.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
public 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 Plugin
public 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 Plugin
public static void remove(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppId - The myApp Idplugin - the Plugin
public 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 Plugin
public static java.util.List<fr.paris.lutece.plugins.myapps.business.MyApps> selectMyAppsList(MyAppsDatabaseFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the app filterplugin - the Plugin
public static java.util.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 Plugin
public static fr.paris.lutece.portal.service.image.ImageResource getImageResource(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppId - The myApp Idplugin - the Plugin
public static fr.paris.lutece.util.ReferenceList getMyAppsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
MyApps
public static boolean hasIcon(int nMyAppId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppId - the MyApp Idplugin - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||