public final class ColumnStyleDAO extends Object implements IWidgetStyleDAO
| Constructor and Description |
|---|
ColumnStyleDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nStyleId,
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 nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the style from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<Style> |
selectStylesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the styles and returns them as a List
|
void |
store(Style style,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface IWidgetStyleDAOplugin - The Pluginpublic void insert(Style style, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IWidgetStyleDAOstyle - instance of the Style object to insertplugin - The pluginpublic Style load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IWidgetStyleDAOnId - The identifier of the styleplugin - The pluginpublic void delete(int nStyleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IWidgetStyleDAOnStyleId - The identifier of the styleplugin - The pluginpublic void store(Style style, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IWidgetStyleDAOstyle - The reference of the styleplugin - The pluginpublic List<Style> selectStylesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectStylesList in interface IWidgetStyleDAOplugin - The pluginCopyright © 2017 City of Paris. All rights reserved.