fr.paris.lutece.plugins.mypage.business
Interface IWidgetDAO

All Known Implementing Classes:
WidgetDAO

public interface IWidgetDAO

IWidgetDAO Interface


Method Summary
 void delete(int nIdWidget, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(Widget widget, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 Widget load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 java.util.List<Widget> selectWidgetsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the widget objects and returns them as a List
 void store(Widget widget, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

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

Parameters:
widget - instance of the Widget object to inssert
plugin - the Plugin

store

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

Parameters:
widget - the reference of the Widget
plugin - the Plugin

delete

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

Parameters:
nIdWidget - int identifier of the Widget to delete
plugin - the Plugin

load

Widget load(int nKey,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Parameters:
nKey - The identifier of the widget
plugin - the Plugin
Returns:
The instance of the widget

selectWidgetsList

java.util.List<Widget> selectWidgetsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the widget objects and returns them as a List

Parameters:
plugin - the Plugin
Returns:
The List which contains the data of all the widget objects


Copyright © 2011 Mairie de Paris. All Rights Reserved.