public final class FormPortletDAO extends Object implements IFormPortletDAO
Constructor and Description |
---|
FormPortletDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nPortletId)
Deletes records for a portlet identifier in the table form_portlet
|
void |
insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table form_portlet
|
fr.paris.lutece.portal.business.portlet.Portlet |
load(int nPortletId)
Loads the data of Form Portlet whose identifier is specified in parameter
|
int |
selectCountPortletByIdForm(int nIdForm)
return number of form portlet who are associate to the id form
|
void |
store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Update the record in the table
|
public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
insert
in interface IFormPortletDAO
insert
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- the instance of the Portlet object to insertpublic void delete(int nPortletId)
delete
in interface IFormPortletDAO
delete
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
nPortletId
- the portlet identifierpublic fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load
in interface IFormPortletDAO
load
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
nPortletId
- The Portlet identifierpublic int selectCountPortletByIdForm(int nIdForm)
selectCountPortletByIdForm
in interface IFormPortletDAO
nIdForm
- the id of the formpublic void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store
in interface IFormPortletDAO
store
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- A portletCopyright © 2017 City of Paris. All rights reserved.