public final class MyLutecePortletDAO extends Object implements IMyLutecePortletDAO
Constructor and Description |
---|
MyLutecePortletDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nPortletId)
Delete a record from the table
|
void |
insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table.
|
fr.paris.lutece.portal.business.portlet.Portlet |
load(int nPortletId)
loads the data of portlet from the table
|
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 IMyLutecePortletDAO
insert
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- the object to be insertedpublic void delete(int nPortletId)
delete
in interface IMyLutecePortletDAO
delete
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
nPortletId
- the Html Portlet identifierpublic fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load
in interface IMyLutecePortletDAO
load
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
nPortletId
- The Html Portlet identifierpublic void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store
in interface IMyLutecePortletDAO
store
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- the instance of Portlet class to be updatedCopyright © 2021 City of Paris. All rights reserved.