public interface ISQLFragmentDAO
| 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(SQLFragment sQLFragment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
SQLFragment |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<SQLFragment> |
selectSQLFragmentsList(int nIdPage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the sQLFragment objects and returns them as a List
|
void |
store(SQLFragment sQLFragment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void |
swapFragmentsOrder(SQLFragment fragment1,
SQLFragment fragment2,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Swap fragments order
|
void insert(SQLFragment sQLFragment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
sQLFragment - instance of the SQLFragment object to insertplugin - the Pluginvoid store(SQLFragment sQLFragment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
sQLFragment - the reference of the SQLFragmentplugin - the Pluginvoid delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the SQLFragment to deleteplugin - the PluginSQLFragment load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the sQLFragmentplugin - the PluginList<SQLFragment> selectSQLFragmentsList(int nIdPage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPage - The Page IDplugin - the Pluginvoid swapFragmentsOrder(SQLFragment fragment1, SQLFragment fragment2, fr.paris.lutece.portal.service.plugin.Plugin plugin)
fragment1 - the fragment 1fragment2 - the fragment 2plugin - The pluginCopyright © 2016 City of Paris. All rights reserved.