fr.paris.lutece.plugins.myapps.business
Interface IMyAppsUserDAO

All Known Implementing Classes:
MyAppsUserDAO

public interface IMyAppsUserDAO

IMyAppsUserDAO Interface


Method Summary
 void delete(int nIdMyAppsUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 MyAppsUser getCredentials(int nApplicationId, java.lang.String strUserName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Loads the a user credentials for a specific application
 void insert(MyAppsUser myAppsUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 MyAppsUser load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          load the data of the right from the table
 java.util.Collection 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(MyAppsUser myAppsUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

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

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

store

void store(MyAppsUser 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 nIdMyAppsUser,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

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

load

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

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

selectMyAppsUsersList

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

MyAppsUser getCredentials(int nApplicationId,
                          java.lang.String strUserName,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the a user credentials for a specific application

Parameters:
plugin - the Plugin
Returns:
the myappuser for a specific application


Copyright © 2009 Mairie de Paris. All Rights Reserved.