Interface IHtmlPageDAO
- All Known Implementing Classes:
HtmlPageDAO
public interface IHtmlPageDAO
htmlPageInterface
- Author:
- lenaini
-
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a record from the tablevoidInsert a new record in the table.load(int nHtmlPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of HtmlPage from the tableselectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the list of htmlpagesselectEnabledHtmlPage(int nHtmlPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of enabled HtmlPage from the tableselectEnabledHtmlPageList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the list of htmlpages with valid statusvoidUpdate the record in the table
-
Method Details
-
delete
Delete a record from the table- Parameters:
htmlpage- The HtmlPage objectplugin- The plugin
-
insert
Insert a new record in the table.- Parameters:
htmlpage- The htmlpage objectplugin- The plugin
-
load
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
Load the list of htmlpages- Parameters:
plugin- The plugin- Returns:
- The Collection of the HtmlPages
-
selectEnabledHtmlPageList
Load the list of htmlpages with valid status- Parameters:
plugin- The plugin- Returns:
- The Collection of the HtmlPages
-
store
Update the record in the table- Parameters:
htmlpage- The reference of htmlpageplugin- The plugin
-