Constructor and Description |
---|
PanelDAO() |
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(Panel panel,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Panel |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Panel |
loadByCode(String strCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Panel |
loadDefaultPanel(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load default Panel
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<Integer> |
selectIdPanelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the panel objects and returns them as a list
|
List<Panel> |
selectPanelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the panel objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectPanelsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the panel objects and returns them as a referenceList
|
void |
store(Panel panel,
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(Panel panel, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Panel load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Panel loadByCode(String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByCode
in interface IPanelDAO
plugin
- the Pluginpublic void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Panel panel, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Panel> selectPanelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPanelsList
in interface IPanelDAO
plugin
- the Pluginpublic List<Integer> selectIdPanelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdPanelsList
in interface IPanelDAO
plugin
- the Pluginpublic fr.paris.lutece.util.ReferenceList selectPanelsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPanelsReferenceList
in interface IPanelDAO
plugin
- the Pluginpublic Panel loadDefaultPanel(fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadDefaultPanel
in interface IPanelDAO
plugin
- the PluginCopyright © 2016 City of Paris. All rights reserved.