Class AppointmentFormPortletDAO
java.lang.Object
fr.paris.lutece.plugins.appointment.business.portlet.AppointmentFormPortletDAO
- All Implemented Interfaces:
IAppointmentFormPortletDAO,fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
@ApplicationScoped
public class AppointmentFormPortletDAO
extends Object
implements IAppointmentFormPortletDAO
this class provides Data Access methods for AppointmentPortlet objects
- Author:
- Laurent Payen
-
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 dbpagePortlet from the tablevoidstore(fr.paris.lutece.portal.business.portlet.Portlet portlet) Update the record in the table
-
Constructor Details
-
AppointmentFormPortletDAO
public AppointmentFormPortletDAO()
-
-
Method Details
-
insert
public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet) Insert a new record in the table.- 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 interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
nPortletId- The identifier of the Portlet
-
store
public void store(fr.paris.lutece.portal.business.portlet.Portlet portlet) Update the record in the table- 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 dbpagePortlet from the table- Specified by:
loadin interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
nIdPortlet- The identifier of the portlet- Returns:
- portlet The instance of the object portlet
-