public class SQLPageParameterDAO extends Object implements ISQLPageParameterDAO
| Constructor and Description |
|---|
SQLPageParameterDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(SQLPageParameter sqlPageParameter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
SQLPageParameter |
load(int nId,
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
|
SQLPageParameter |
selectSQLPageParameterByKey(String strParameterKey,
int nIdPage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the parameter associated to a SQL Page by its name
|
List<SQLPageParameter> |
selectSQLPageParametersList(int nIdPage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the sqlPageParameter objects associated to a SQLPage
|
void |
store(SQLPageParameter sqlPageParameter,
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(SQLPageParameter sqlPageParameter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ISQLPageParameterDAOsqlPageParameter - instance of the SQLPageParameter object to insertplugin - the Pluginpublic void store(SQLPageParameter sqlPageParameter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ISQLPageParameterDAOsqlPageParameter - the reference of the SQLPageParameterplugin - the Pluginpublic void delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ISQLPageParameterDAOnId - The identifier of the SQLPageParameter to deleteplugin - the Pluginpublic SQLPageParameter load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ISQLPageParameterDAOnId - The identifier of the sqlPageParameterplugin - the Pluginpublic List<SQLPageParameter> selectSQLPageParametersList(int nIdPage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectSQLPageParametersList in interface ISQLPageParameterDAOnIdPage - The identifier of the SQLPageplugin - the Pluginpublic SQLPageParameter selectSQLPageParameterByKey(String strParameterKey, int nIdPage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectSQLPageParameterByKey in interface ISQLPageParameterDAOstrParameterKey - The key of the parameter to findnIdPage - The identifier of the SQLPage where to search for the parameterplugin - the PluginCopyright © 2017 City of Paris. All rights reserved.