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

All Known Implementing Classes:
ColumnStyleDAO, WidgetStyleDAO

public interface IWidgetStyleDAO

IStyleDAO Interface


Method Summary
 void delete(int nIdStyle, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(Style style, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 Style 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.List<Style> selectStylesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the style objects and returns them as a List
 void store(Style style, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

newPrimaryKey

int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key

Parameters:
plugin - The Plugin
Returns:
The new primary key

insert

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

Parameters:
style - instance of the Style object to inssert
plugin - the Plugin

store

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

Parameters:
style - the reference of the Style
plugin - the Plugin

delete

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

Parameters:
nIdStyle - int identifier of the Style to delete
plugin - the Plugin

load

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

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

selectStylesList

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

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.