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

All Known Implementing Classes:
MyAppsDAO

public interface IMyAppsDAO

IMyAppsDAO Interface


Method Summary
 void delete(int nIdMyApps, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 fr.paris.lutece.portal.service.image.ImageResource getIconResource(int nIdMyApps, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Loads the icon representing the favorite application
 void insert(MyApps myApps, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 MyApps load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          load the data of the right from the table
 java.util.List selectMyAppsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Loads all the myapps
 java.util.List selectMyAppsListByUser(java.lang.String strUserName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Loads all the myapps belonging to a user
 void store(MyApps myApps, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

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

Parameters:
myApps - instance of the MyApps object to inssert
plugin - the Plugin

store

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

Parameters:
myApps - the reference of the MyApps
plugin - the Plugin

delete

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

Parameters:
nIdMyApps - int identifier of the MyApps to delete
plugin - the Plugin

load

MyApps 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 myApps
plugin - the Plugin
Returns:
The instance of the myApps

selectMyAppsList

java.util.List selectMyAppsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads all the myapps

Parameters:
plugin - the Plugin
Returns:
the list which contains the myApps

selectMyAppsListByUser

java.util.List selectMyAppsListByUser(java.lang.String strUserName,
                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads all the myapps belonging to a user

Parameters:
plugin - the Plugin
Returns:
the list which contains the myApps

getIconResource

fr.paris.lutece.portal.service.image.ImageResource getIconResource(int nIdMyApps,
                                                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the icon representing the favorite application

Parameters:
nIdMyApps - int identifier of the MyApps to fetch
plugin - the Plugin


Copyright © 2007 Mairie de Paris. All Rights Reserved.