Class HtmlPortletDAO
java.lang.Object
fr.paris.lutece.plugins.html.business.portlet.HtmlPortletDAO
- All Implemented Interfaces:
IHtmlPortletDAO,fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
this class provides Data Access methods for HtmlPortlet objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nPortletId) Delete record from tablevoidinsert(fr.paris.lutece.portal.business.portlet.Portlet portlet) Insert a new record in the table.fr.paris.lutece.portal.business.portlet.Portletload(int nIdPortlet) load the data of the portlet from the tablevoidstore(fr.paris.lutece.portal.business.portlet.Portlet portlet) Update the record in the table
-
Constructor Details
-
HtmlPortletDAO
public HtmlPortletDAO()
-
-
Method Details
-
insert
public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet) Insert a new record in the table.- Specified by:
insertin interfaceIHtmlPortletDAO- Specified by:
insertin interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
portlet- The Instance of the Portlet
-
delete
public void delete(int nPortletId) Delete record from table- Specified by:
deletein interfaceIHtmlPortletDAO- Specified by:
deletein interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
nPortletId- The indentifier of the Portlet
-
store
public void store(fr.paris.lutece.portal.business.portlet.Portlet portlet) Update the record in the table- Specified by:
storein interfaceIHtmlPortletDAO- Specified by:
storein interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
portlet- The reference of the portlet
-
load
public fr.paris.lutece.portal.business.portlet.Portlet load(int nIdPortlet) load the data of the portlet from the table- Specified by:
loadin interfaceIHtmlPortletDAO- Specified by:
loadin interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
nIdPortlet- The indentifier of the portlet- Returns:
- portlet The instance of the object portlet
-