public class DefaultPageBuilderDAO extends Object implements IDefaultPageBuilderDAO
| Constructor and Description |
|---|
DefaultPageBuilderDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdWidgetComponent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all record from the table
|
void |
deleteByColumnMax(int nColumnMax,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the records that have a column > to the given nColumnMax
|
void |
insert(WidgetComponent widgetComponent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
WidgetComponent |
load(int nIdWidgetComponent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the IndexerAction from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a new PK
|
List<WidgetComponent> |
selectAllWidgetComponents(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all WidgetComponent
|
List<Integer> |
selectColumns(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the columns list
|
int |
selectMaxOrder(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the max order value, for the given column
|
int |
selectMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the max order value, for all columns
|
List<WidgetComponent> |
selectWidgetComponents(WidgetComponentFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all WidgetComponent matching filter
|
List<Integer> |
selectWidgetIds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the widget ids list
|
void |
store(WidgetComponent widgetComponent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the widgetComponent in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface IDefaultPageBuilderDAOplugin - Pluginpublic void delete(int nIdWidgetComponent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IDefaultPageBuilderDAOnIdWidgetComponent - the ID of the widget componentplugin - Pluginpublic void deleteByColumnMax(int nColumnMax,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByColumnMax in interface IDefaultPageBuilderDAOnColumnMax - the column maxplugin - Pluginpublic void deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteAll in interface IDefaultPageBuilderDAOplugin - Pluginpublic void insert(WidgetComponent widgetComponent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IDefaultPageBuilderDAOwidgetComponent - instance of the widgetComponent object to insertplugin - Pluginpublic WidgetComponent load(int nIdWidgetComponent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IDefaultPageBuilderDAOnIdWidgetComponent - the ID of the widget componentplugin - Pluginpublic List<WidgetComponent> selectAllWidgetComponents(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAllWidgetComponents in interface IDefaultPageBuilderDAOplugin - Pluginpublic int selectMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMaxOrder in interface IDefaultPageBuilderDAOplugin - Pluginpublic int selectMaxOrder(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMaxOrder in interface IDefaultPageBuilderDAOnColumn - the columnplugin - Pluginpublic List<WidgetComponent> selectWidgetComponents(WidgetComponentFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectWidgetComponents in interface IDefaultPageBuilderDAOfilter - the filterplugin - Pluginpublic void store(WidgetComponent widgetComponent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IDefaultPageBuilderDAOwidgetComponent - instance of the widgetComponent object to updateplugin - Pluginpublic List<Integer> selectColumns(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectColumns in interface IDefaultPageBuilderDAOplugin - Pluginpublic List<Integer> selectWidgetIds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectWidgetIds in interface IDefaultPageBuilderDAOplugin - PluginCopyright © 2021 City of Paris. All rights reserved.