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 statusselectHtmlPagesListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, List<Integer> listIds) Load the data of all the html page objects and returns them as a listselectIdHtmlPagesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the html page objects and returns them as a listvoidUpdate 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
-
selectIdHtmlPagesList
Load the id of all the html page objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the html page objects
-
store
Update the record in the table- Parameters:
htmlpage- The reference of htmlpageplugin- The plugin
-
selectHtmlPagesListByIds
List<HtmlPage> selectHtmlPagesListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, List<Integer> listIds) Load the data of all the html page objects and returns them as a list- Parameters:
plugin- the PluginlistIds- liste of ids- Returns:
- The list which contains the data of all the html page objects
-