public final class MyAppsDatabaseUserHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
create(MyAppsDatabaseUser myAppsUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of myAppsUser
|
static fr.paris.lutece.plugins.myapps.business.MyAppsUser |
findByPrimaryKey(int nMyAppsUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a myAppsUser whose identifier is specified in parameter
|
static fr.paris.lutece.plugins.myapps.business.MyAppsUser |
getCredentials(int nMyAppsUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of all the myAppsUsers and returns them in form of a collection
|
static fr.paris.lutece.plugins.myapps.business.MyAppsUser |
getCredentials(int nMyAppId,
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 Collection<fr.paris.lutece.plugins.myapps.business.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 List<MyAppsDatabaseUser> |
getUserListApplications(String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the list of all applications of a user
|
static int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a new primary key
|
static void |
remove(int nMyAppsUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the myAppsUser whose identifier is specified in parameter
|
static void |
remove(int nMyAppId,
String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the myAppsUser whose identifier is specified in parameter
|
static void |
update(MyAppsDatabaseUser myAppsUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the myAppsUser which is specified in parameter
|
static void |
updateMyAppsDatabseUserOrder(int nMyAppsOrder,
int nMyAppsUserId,
String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the order of MyApps user
|
public static int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginpublic static void create(MyAppsDatabaseUser myAppsUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
myAppsUser - The instance of the MyAppsUser which contains the informations to storeplugin - the Pluginpublic static void update(MyAppsDatabaseUser myAppsUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
myAppsUser - The instance of the MyAppsUser which contains the data to storeplugin - the Pluginpublic static void remove(int nMyAppsUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppsUserId - The myAppsUser Idplugin - the Pluginpublic static void remove(int nMyAppId,
String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppId - The Id of the applicationstrUserName - the user nameplugin - the Pluginpublic static fr.paris.lutece.plugins.myapps.business.MyAppsUser findByPrimaryKey(int nMyAppsUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppsUserId - The myAppsUser primary keyplugin - the Pluginpublic static Collection<fr.paris.lutece.plugins.myapps.business.MyAppsUser> getMyAppsUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginpublic static fr.paris.lutece.plugins.myapps.business.MyAppsUser getCredentials(int nMyAppId,
String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppId - the ID of the appicationstrUserName - the user nameplugin - the PluginMyAppsUserpublic static fr.paris.lutece.plugins.myapps.business.MyAppsUser getCredentials(int nMyAppsUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMyAppsUserId - the ID of the appication userplugin - the PluginMyAppsUserpublic static List<MyAppsDatabaseUser> getUserListApplications(String strUserName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strUserName - the user nameplugin - the Pluginpublic static void updateMyAppsDatabseUserOrder(int nMyAppsOrder,
int nMyAppsUserId,
String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nApplicationOrder - the new order to setnApplicationId - the id of the application to updatestrUserName - the name of the userplugin - the PluginCopyright © 2018 City of Paris. All rights reserved.