fr.paris.lutece.plugins.myapps.modules.database.business
Interface IMyAppsDatabaseUserDAO

All Known Implementing Classes:
MyAppsDatabaseUserDAO

public interface IMyAppsDatabaseUserDAO

IMyAppsDatabaseUserDAO Interface


Method Summary
 void delete(int nMyAppsUserId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void delete(int nMyAppId, java.lang.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
 fr.paris.lutece.plugins.myapps.business.MyAppsUser getCredentials(int nMyAppId, java.lang.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.
 fr.paris.lutece.plugins.myapps.business.MyAppsUser 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
 java.util.Collection<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
 

Method Detail

newPrimaryKey

int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a new primary key

Parameters:
plugin - Plugin
Returns:
a new primary key

insert

void insert(MyAppsDatabaseUser myAppsUser,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
myAppsUser - instance of the MyAppsUser object to insert
plugin - the Plugin

store

void store(MyAppsDatabaseUser myAppsUser,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
myAppsUser - the reference of the MyAppsUser
plugin - the Plugin

delete

void delete(int nMyAppsUserId,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nMyAppsUserId - int identifier of the MyAppsUser to delete
plugin - the Plugin

delete

void delete(int nMyAppId,
            java.lang.String strUserName,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nMyAppId - the id of the MyApp
strUserName - the user name
plugin - the Plugin

load

fr.paris.lutece.plugins.myapps.business.MyAppsUser load(int nMyAppsUserId,
                                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of the right from the table

Parameters:
nMyAppsUserId - The identifier of the myAppsUser
plugin - the Plugin
Returns:
The instance of the myAppsUser

selectMyAppsUsersList

java.util.Collection<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

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

getCredentials

fr.paris.lutece.plugins.myapps.business.MyAppsUser getCredentials(int nMyAppId,
                                                                  java.lang.String strUserName,
                                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the credentials information

Parameters:
nMyAppId - the application ID
strUserName - the user name
plugin - Plugin
Returns:
a MyAppsDatabaseUser

getCredentials

MyAppsDatabaseUser getCredentials(int nMyAppsUserId,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the credentials information

Parameters:
nMyAppsUserId - the application user ID
plugin - Plugin
Returns:
a MyAppsDatabaseUser


Copyright © 2012 Mairie de Paris. All Rights Reserved.