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

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

public final class MyAppsUserHome
extends java.lang.Object

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


Method Summary
static MyAppsUser create(MyAppsUser myAppsUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of myAppsUser
static MyAppsUser findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns an instance of a myAppsUser whose identifier is specified in parameter
static MyAppsUser getCredentials(int nApplicationId, java.lang.String strUserName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Loads the data of all the myAppsUsers and returns them in form of a collection
static java.util.Collection<MyAppsUser> getmyAppsUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Loads the data of all the myAppsUsers and returns them in form of a collection
static void remove(int nMyAppsUserId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the myAppsUser whose identifier is specified in parameter
static MyAppsUser update(MyAppsUser myAppsUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update of the myAppsUser 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 MyAppsUser create(MyAppsUser myAppsUser,
                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of myAppsUser

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

update

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

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

remove

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

Parameters:
nMyAppsUserId - The myAppsUser Id
plugin - the Plugin

findByPrimaryKey

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

Parameters:
nKey - The myAppsUser primary key
plugin - the Plugin
Returns:
an instance of MyAppsUser

getmyAppsUsersList

public static java.util.Collection<MyAppsUser> getmyAppsUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of all the myAppsUsers and returns them in form of a collection

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

getCredentials

public static MyAppsUser getCredentials(int nApplicationId,
                                        java.lang.String strUserName,
                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of all the myAppsUsers and returns them in form of a collection

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


Copyright © 2009 Mairie de Paris. All Rights Reserved.