public final class ChildPagesPortletDAO extends Object implements IChildPagesPortletDAO
| Constructor and Description |
|---|
ChildPagesPortletDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nPortletId)
Deletes a record from the table
|
List<ChildPagesPortlet> |
getChildPagesPortlets(int parentPageId)
Returns the list of ChildPages portlets whose parent page id is specified
|
void |
insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table childpages_portlet
|
fr.paris.lutece.portal.business.portlet.Portlet |
load(int nPortletId)
Loads the data of a ChildPagesPortlet whose identifier is specified in parameter from the table
|
fr.paris.lutece.util.ReferenceList |
selectChildPagesList(int nPageId)
Load the list of the child pages of a page whose identifier is specified in parameter
|
fr.paris.lutece.util.ReferenceList |
selectPagesList()
Load the list of all the pages of the database
|
void |
store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Updates a record in the table with the Portlet instance specified in parameter
|
public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
insert in interface IChildPagesPortletDAOinsert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - the instance of the Portlet object to insertpublic void delete(int nPortletId)
delete in interface IChildPagesPortletDAOdelete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - Identifier portletpublic fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load in interface IChildPagesPortletDAOload in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - The ChildPagesPortlet identifierpublic void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store in interface IChildPagesPortletDAOstore in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - the instance of Portlet class to be updatedpublic fr.paris.lutece.util.ReferenceList selectChildPagesList(int nPageId)
selectChildPagesList in interface IChildPagesPortletDAOnPageId - the identifier of the pagepublic fr.paris.lutece.util.ReferenceList selectPagesList()
selectPagesList in interface IChildPagesPortletDAOpublic List<ChildPagesPortlet> getChildPagesPortlets(int parentPageId)
IChildPagesPortletDAOgetChildPagesPortlets in interface IChildPagesPortletDAOparentPageId - the parent page idCopyright © 2018 City of Paris. All rights reserved.