fr.paris.lutece.plugins.myapps.business
Class MyAppsHome

java.lang.Object
  extended by fr.paris.lutece.plugins.myapps.business.MyAppsHome

public final class MyAppsHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for MyApps objects


Method Summary
static MyApps create(MyApps myApps, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of myApps
static MyApps findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns an instance of a myApps whose identifier is specified in parameter
static java.util.List<MyApps> getmyAppsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Loads a list of all myApps
static java.util.List<MyApps> getmyAppsListByUser(java.lang.String strUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Loads a list of myApps belonging to a user
static void remove(int nMyAppsId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the myApps whose identifier is specified in parameter
static MyApps update(MyApps myApps, 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

create

public static MyApps create(MyApps myApps,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of myApps

Parameters:
myApps - The instance of the MyApps which contains the informations to store
plugin - the Plugin
Returns:
The instance of myApps which has been created with its primary key.

update

public static MyApps update(MyApps myApps,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the myApps which is specified in parameter

Parameters:
myApps - The instance of the MyApps which contains the data to store
plugin - the Plugin
Returns:
The instance of the myApps which has been updated

remove

public static void remove(int nMyAppsId,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the myApps whose identifier is specified in parameter

Parameters:
nMyAppsId - The myApps Id
plugin - the Plugin

findByPrimaryKey

public static MyApps findByPrimaryKey(int nKey,
                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a myApps whose identifier is specified in parameter

Parameters:
nKey - The myApps primary key
plugin - the Plugin
Returns:
an instance of MyApps

getmyAppsList

public static java.util.List<MyApps> getmyAppsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads a list of all myApps

Parameters:
plugin - the Plugin
Returns:
the collection which contains the data of all the myApps

getmyAppsListByUser

public static java.util.List<MyApps> getmyAppsListByUser(java.lang.String strUser,
                                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads a list of myApps belonging to a user

Parameters:
strUser - the user name
plugin - the Plugin
Returns:
the collection which contains the data of all the myApps


Copyright © 2007 Mairie de Paris. All Rights Reserved.