public final class MyAppsDatabaseUserDAO extends Object implements IMyAppsDatabaseUserDAO
| Constructor and Description |
|---|
MyAppsDatabaseUserDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nMyAppsUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
delete(int nMyAppId,
String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
MyAppsDatabaseUser |
getCredentials(int nMyAppsUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the credentials information
|
MyAppsDatabaseUser |
getCredentials(int nApplicationId,
String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the credentials information
|
void |
insert(MyAppsDatabaseUser myAppsUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
MyAppsDatabaseUser |
load(int nMyAppsUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of the right from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a new primary key
|
List<fr.paris.lutece.plugins.myapps.business.MyAppsUser> |
selectMyAppsUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of all the myAppsUsers and returns them in form of a collection
|
void |
store(MyAppsDatabaseUser myAppsUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface IMyAppsDatabaseUserDAOplugin - Pluginpublic void insert(MyAppsDatabaseUser myAppsUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IMyAppsDatabaseUserDAOmyAppsUser - instance of the MyAppsUser object to insertplugin - the Pluginpublic MyAppsDatabaseUser load(int nMyAppsUserId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IMyAppsDatabaseUserDAOnMyAppsUserId - The identifier of the myAppsUserplugin - the Pluginpublic void delete(int nMyAppsUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IMyAppsDatabaseUserDAOnMyAppsUserId - int identifier of the MyAppsUser to deleteplugin - the Pluginpublic void delete(int nMyAppId,
String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IMyAppsDatabaseUserDAOnMyAppId - the id of the MyAppstrUserName - the user nameplugin - the Pluginpublic void store(MyAppsDatabaseUser myAppsUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IMyAppsDatabaseUserDAOmyAppsUser - the reference of the MyAppsUserplugin - the Pluginpublic List<fr.paris.lutece.plugins.myapps.business.MyAppsUser> selectMyAppsUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMyAppsUsersList in interface IMyAppsDatabaseUserDAOplugin - the Pluginpublic MyAppsDatabaseUser getCredentials(int nApplicationId, String strUserName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getCredentials in interface IMyAppsDatabaseUserDAOnApplicationId - the application IDstrUserName - the user nameplugin - PluginMyAppsDatabaseUserpublic MyAppsDatabaseUser getCredentials(int nMyAppsUserId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getCredentials in interface IMyAppsDatabaseUserDAOnMyAppsUserId - the application user IDplugin - PluginMyAppsDatabaseUserCopyright © 2017 City of Paris. All rights reserved.