|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.myportal.business.WidgetStyleDAO
public final class WidgetStyleDAO
This class provides Data Access methods for Style objects
| Constructor Summary | |
|---|---|
WidgetStyleDAO()
|
|
| Method Summary | |
|---|---|
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 |
java.util.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WidgetStyleDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface IWidgetStyleDAOplugin - The Plugin
public void insert(Style style,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IWidgetStyleDAOstyle - instance of the Style object to insertplugin - The plugin
public Style load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IWidgetStyleDAOnId - The identifier of the styleplugin - The plugin
public void delete(int nStyleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IWidgetStyleDAOnStyleId - The identifier of the styleplugin - The plugin
public void store(Style style,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IWidgetStyleDAOstyle - The reference of the styleplugin - The pluginpublic java.util.List<Style> selectStylesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectStylesList in interface IWidgetStyleDAOplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||