Class ChildPagesPortletHome
java.lang.Object
fr.paris.lutece.portal.business.portlet.PortletHome
fr.paris.lutece.plugins.childpages.business.portlet.ChildPagesPortletHome
- All Implemented Interfaces:
fr.paris.lutece.portal.business.portlet.PortletHomeInterface
public class ChildPagesPortletHome
extends fr.paris.lutece.portal.business.portlet.PortletHome
This class provides instances management methods for ChildPagesPortlet objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic fr.paris.lutece.util.ReferenceListgetChildPagesList(int nPageId) Returns the list of the child pages of a page whose identifier is specified in parameterstatic List<ChildPagesPortlet>getChildPagesPortlets(int parentPageId) Returns the list of ChildPages portlets whose parent page id is specifiedfr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOgetDAO()Returns the instance of the ChildPagesPortletDAO singletonstatic fr.paris.lutece.portal.business.portlet.PortletHomeReturns the instance of ChildPagesPortletHomestatic fr.paris.lutece.util.ReferenceListReturns the list of all the pages of the databasestatic intgetParentPageId(int nPortletId) Returns the portlet parent page identifier of the portlet whose identifier is specified in parameterReturns the identifier of the child pages portlet typeMethods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome
create, findByPrimaryKey, findByType, getAliasList, getLastModifiedPortlet, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, getUsedOrdersForColumns, hasAlias, invalidate, invalidate, notifyListeners, remove, update, updatePosition, updateStatus
-
Constructor Details
-
ChildPagesPortletHome
public ChildPagesPortletHome()Constructor
-
-
Method Details
-
getPortletTypeId
Returns the identifier of the child pages portlet type- Returns:
- the portlet type identifier
-
getInstance
public static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()Returns the instance of ChildPagesPortletHome- Returns:
- the ChildPagesPortletHome instance
-
getDAO
public fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()Returns the instance of the ChildPagesPortletDAO singleton- Returns:
- the instance of the ChildPagesPortletDAO
-
getParentPageId
public static int getParentPageId(int nPortletId) Returns the portlet parent page identifier of the portlet whose identifier is specified in parameter- Parameters:
nPortletId- the identifier of the portlet- Returns:
- the identifier of the parent page portlet
-
getPagesList
public static fr.paris.lutece.util.ReferenceList getPagesList()Returns the list of all the pages of the database- Returns:
- the list in form of a ReferenceList object
-
getChildPagesList
public static fr.paris.lutece.util.ReferenceList getChildPagesList(int nPageId) Returns 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
-
getChildPagesPortlets
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
-