public class HtmlPageDAO extends Object implements IHtmlPageDAO
Constructor and Description |
---|
HtmlPageDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(HtmlPage htmlpage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(HtmlPage htmlpage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
HtmlPage |
load(int nHtmlPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of HtmlPage from the table
|
Collection<HtmlPage> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of htmlpages
|
HtmlPage |
selectEnabledHtmlPage(int nHtmlPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load enabled htmlpage
|
Collection<HtmlPage> |
selectEnabledHtmlPageList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of htmlpages
|
void |
store(HtmlPage htmlpage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IHtmlPageDAO
htmlpage
- The htmlpage objectplugin
- The pluginpublic HtmlPage load(int nHtmlPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IHtmlPageDAO
nHtmlPageId
- The identifier of HtmlPageplugin
- The pluginpublic void delete(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IHtmlPageDAO
htmlpage
- The HtmlPage objectplugin
- The pluginpublic void store(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IHtmlPageDAO
htmlpage
- The reference of htmlpageplugin
- The pluginpublic Collection<HtmlPage> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll
in interface IHtmlPageDAO
plugin
- The pluginpublic HtmlPage selectEnabledHtmlPage(int nHtmlPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectEnabledHtmlPage
in interface IHtmlPageDAO
nHtmlPageId
- The page idplugin
- The pluginpublic Collection<HtmlPage> selectEnabledHtmlPageList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectEnabledHtmlPageList
in interface IHtmlPageDAO
plugin
- The pluginCopyright © 2015 City of Paris. All rights reserved.