|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
java.util.List<Widget> |
getPublicMandatoryWidgets(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of public or mandatory widgets |
java.util.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 |
java.util.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 |
| Method Detail |
|---|
int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
void insert(Widget widget,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
widget - instance of the Widget object to inssertplugin - the Plugin
void store(Widget widget,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
widget - the reference of the Widgetplugin - the Plugin
void delete(int nIdWidget,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdWidget - int identifier of the Widget to deleteplugin - the Plugin
Widget load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the widgetplugin - the Plugin
java.util.Collection<Widget> selectWidgetsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Plugin
java.util.List<Widget> getPublicMandatoryWidgets(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
java.util.List<Widget> getWidgetsByFilter(WidgetFilter wFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
wFilter - the filterplugin - Plugin
Widget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||