public interface IWidgetDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdWidget,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
List<Widget> |
getPublicMandatoryWidgets(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of public or mandatory widgets
|
List<Widget> |
getWidgetsByFilter(WidgetFilter wFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of widgets by filter
|
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
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
Collection<Widget> |
selectWidgetsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the widget objects and returns them as a collection
|
void |
store(Widget widget,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Pluginvoid insert(Widget widget, fr.paris.lutece.portal.service.plugin.Plugin plugin)
widget
- instance of the Widget object to inssertplugin
- the Pluginvoid store(Widget widget, fr.paris.lutece.portal.service.plugin.Plugin plugin)
widget
- the reference of the Widgetplugin
- the Pluginvoid delete(int nIdWidget, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdWidget
- int identifier of the Widget to deleteplugin
- the PluginWidget load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the widgetplugin
- the PluginCollection<Widget> selectWidgetsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginList<Widget> getPublicMandatoryWidgets(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- Plugin
List<Widget> getWidgetsByFilter(WidgetFilter wFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
wFilter
- the filterplugin
- Plugin
Widget
Copyright © 2020 City of Paris. All rights reserved.