Interface IChildPagesPortletDAO
-
- All Superinterfaces:
fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
- All Known Implementing Classes:
ChildPagesPortletDAO
public interface IChildPagesPortletDAO extends fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Author:
- nguyenme
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nPortletId)Deletes a record from the tablejava.util.List<ChildPagesPortlet>getChildPagesPortlets(int parentPageId)Returns the list of ChildPages portlets whose parent page id is specifiedvoidinsert(fr.paris.lutece.portal.business.portlet.Portlet portlet)Insert a new record in the table childpages_portletfr.paris.lutece.portal.business.portlet.Portletload(int nPortletId)Loads the data of a ChildPagesPortlet whose identifier is specified in parameter from the tablefr.paris.lutece.util.ReferenceListselectChildPagesList(int nPageId)Load the list of the child pages of a page whose identifier is specified in parameterfr.paris.lutece.util.ReferenceListselectPagesList()Load the list of all the pages of the databasevoidstore(fr.paris.lutece.portal.business.portlet.Portlet portlet)Updates a record in the table with the Portlet instance specified in parameter
-
-
-
Method Detail
-
delete
void delete(int nPortletId)
Deletes a record from the table- Specified by:
deletein interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
nPortletId- Identifier portlet
-
insert
void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table childpages_portlet- Specified by:
insertin interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
portlet- the instance of the Portlet object to insert
-
load
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- Specified by:
loadin interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
nPortletId- The ChildPagesPortlet identifier- Returns:
- the ChildPagesPortlet object
-
selectChildPagesList
fr.paris.lutece.util.ReferenceList selectChildPagesList(int nPageId)
Load the list of the child pages of a page whose identifier is specified in parameter- Parameters:
nPageId- the identifier of the page- Returns:
- the list in form of a ReferenceList object
-
selectPagesList
fr.paris.lutece.util.ReferenceList selectPagesList()
Load the list of all the pages of the database- Returns:
- the list in form of a ReferenceList object
-
store
void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Updates a record in the table with the Portlet instance specified in parameter- Specified by:
storein interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
portlet- the instance of Portlet class to be updated
-
getChildPagesPortlets
java.util.List<ChildPagesPortlet> getChildPagesPortlets(int parentPageId)
Returns the list of ChildPages portlets whose parent page id is specified- Parameters:
parentPageId- the parent page id- Returns:
- list of ChildPages portlets whose parent page id is parentPageId
-
-