fr.paris.lutece.plugins.myportal.business
Interface IDefaultPageBuilderDAO

All Known Implementing Classes:
DefaultPageBuilderDAO

public interface IDefaultPageBuilderDAO

IDefaultPageBuilderDAO


Method Summary
 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
 java.util.List<WidgetComponent> selectAllWidgetComponents(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Finds all WidgetComponent
 java.util.List<java.lang.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
 java.util.List<WidgetComponent> selectWidgetComponents(WidgetComponentFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Finds all WidgetComponent matching filter
 java.util.List<java.lang.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
 

Method Detail

newPrimaryKey

int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a new PK

Parameters:
plugin - Plugin
Returns:
the new PK

insert

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

Parameters:
widgetComponent - instance of the widgetComponent object to insert
plugin - Plugin

load

WidgetComponent load(int nIdWidgetComponent,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the IndexerAction from the table

Parameters:
nIdWidgetComponent - the ID of the widget component
plugin - Plugin
Returns:
the instance of the WidgetComponent

delete

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

Parameters:
nIdWidgetComponent - the ID of the widget component
plugin - Plugin

deleteByColumnMax

void deleteByColumnMax(int nColumnMax,
                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the records that have a column > to the given nColumnMax

Parameters:
nColumnMax - the column max
plugin - Plugin

deleteAll

void deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all record from the table

Parameters:
plugin - Plugin

store

void store(WidgetComponent widgetComponent,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the widgetComponent in the table

Parameters:
widgetComponent - instance of the widgetComponent object to update
plugin - Plugin

selectAllWidgetComponents

java.util.List<WidgetComponent> selectAllWidgetComponents(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all WidgetComponent

Parameters:
plugin - Plugin
Returns:
all WidgetComponent

selectWidgetComponents

java.util.List<WidgetComponent> selectWidgetComponents(WidgetComponentFilter filter,
                                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all WidgetComponent matching filter

Parameters:
filter - the filter
plugin - Plugin
Returns:
all WidgetComponent matching filter

selectMaxOrder

int selectMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the max order value, for all columns

Parameters:
plugin - Plugin
Returns:
the max order

selectMaxOrder

int selectMaxOrder(int nColumn,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the max order value, for the given column

Parameters:
plugin - Plugin
nColumn - the column
Returns:
the max order

selectColumns

java.util.List<java.lang.Integer> selectColumns(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the columns list

Parameters:
plugin - Plugin
Returns:
the columns list

selectWidgetIds

java.util.List<java.lang.Integer> selectWidgetIds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the widget ids list

Parameters:
plugin - Plugin
Returns:
the widget ids list


Copyright © 2012 Mairie de Paris. All Rights Reserved.