fr.paris.lutece.plugins.htmlpage.business
Interface IHtmlPageDAO

All Known Implementing Classes:
HtmlPageDAO

public interface IHtmlPageDAO

htmlPageInterface

Author:
lenaini

Method Summary
 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
 java.util.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 the data of enabled HtmlPage from the table
 java.util.Collection<HtmlPage> selectEnabledHtmlPageList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of htmlpages with valid status
 void store(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 object
plugin - 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 object
plugin - 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 HtmlPage
plugin - 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 HtmlPage
plugin - 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 htmlpage
plugin - The plugin


Copyright © 2010 Mairie de Paris. All Rights Reserved.