Interface IHtmlPageDAO
-
- All Known Implementing Classes:
HtmlPageDAO
public interface IHtmlPageDAOhtmlPageInterface- Author:
- lenaini
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.HtmlPageload(int nHtmlPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of HtmlPage from the tablejava.util.Collection<HtmlPage>selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the list of htmlpagesHtmlPageselectEnabledHtmlPage(int nHtmlPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of enabled HtmlPage from the tablejava.util.Collection<HtmlPage>selectEnabledHtmlPageList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the list of htmlpages with valid statusvoidstore(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
delete
void delete(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table- Parameters:
htmlpage- The HtmlPage objectplugin- The plugin
-
insert
void insert(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
htmlpage- The htmlpage objectplugin- The plugin
-
load
HtmlPage load(int nHtmlPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of HtmlPage from the table- Parameters:
nHtmlPageId- The identifier of HtmlPageplugin- The plugin- Returns:
- the instance of the HtmlPage
-
selectEnabledHtmlPage
HtmlPage selectEnabledHtmlPage(int nHtmlPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of enabled HtmlPage from the table- Parameters:
nHtmlPageId- The identifier of HtmlPageplugin- The plugin- Returns:
- the instance of the HtmlPage
-
selectAll
java.util.Collection<HtmlPage> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of htmlpages- Parameters:
plugin- The plugin- Returns:
- The Collection of the HtmlPages
-
selectEnabledHtmlPageList
java.util.Collection<HtmlPage> selectEnabledHtmlPageList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of htmlpages with valid status- Parameters:
plugin- The plugin- Returns:
- The Collection of the HtmlPages
-
store
void store(HtmlPage htmlpage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
htmlpage- The reference of htmlpageplugin- The plugin
-
-