public final class SQLPageDAO extends Object implements ISQLPageDAO
| Constructor and Description |
|---|
SQLPageDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(SQLPage sQLPage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
SQLPage |
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
|
int |
selectByName(String strName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a page by its name
|
List<Integer> |
selectIdSQLPagesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the sQLPage objects and returns them as a List
|
List<SQLPage> |
selectSQLPagesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the sQLPage objects and returns them as a List
|
void |
store(SQLPage sQLPage,
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)
plugin - The Pluginpublic void insert(SQLPage sQLPage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ISQLPageDAOsQLPage - instance of the SQLPage object to insertplugin - the Pluginpublic SQLPage load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ISQLPageDAOnKey - The identifier of the sQLPageplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ISQLPageDAOnKey - The identifier of the SQLPage to deleteplugin - the Pluginpublic void store(SQLPage sQLPage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ISQLPageDAOsQLPage - the reference of the SQLPageplugin - the Pluginpublic List<SQLPage> selectSQLPagesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectSQLPagesList in interface ISQLPageDAOplugin - the Pluginpublic List<Integer> selectIdSQLPagesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdSQLPagesList in interface ISQLPageDAOplugin - the Pluginpublic int selectByName(String strName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByName in interface ISQLPageDAOstrName - The page nameplugin - The pluginCopyright © 2017 City of Paris. All rights reserved.