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 child pages of a pagestatic List<ChildPagesPortlet>getChildPagesPortlets(int parentPageId) Returns the portlets bound to a parent pagefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOgetDAO()Returns the DAO instancestatic fr.paris.lutece.portal.business.portlet.PortletHomeReturns the home instancestatic fr.paris.lutece.util.ReferenceListReturns all the pages of the databasestatic intgetParentPageId(int nPortletId) Returns the parent page identifier of a portletReturns the child pages portlet type identifierMethods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome
create, findByPrimaryKey, findByType, getAliasList, getLastModifiedPortlet, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, getUsedOrdersForColumns, getXslFile, getXslSource, hasAlias, invalidate, invalidate, notifyListeners, remove, update, updatePosition, updateStatus
-
Constructor Details
-
ChildPagesPortletHome
public ChildPagesPortletHome()Builds the home instance
-
-
Method Details
-
getPortletTypeId
Returns the child pages portlet type identifier- Returns:
- the portlet type identifier
-
getInstance
public static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()Returns the home instance- Returns:
- the home instance
-
getDAO
public fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()Returns the DAO instance- Returns:
- the DAO instance
-
getParentPageId
public static int getParentPageId(int nPortletId) Returns the parent page identifier of a portlet- Parameters:
nPortletId- the portlet identifier- Returns:
- the parent page identifier
-
getPagesList
public static fr.paris.lutece.util.ReferenceList getPagesList()Returns all the pages of the database- Returns:
- the pages list
-
getChildPagesList
public static fr.paris.lutece.util.ReferenceList getChildPagesList(int nPageId) Returns the child pages of a page- Parameters:
nPageId- the page identifier- Returns:
- the child pages list
-
getChildPagesPortlets
Returns the portlets bound to a parent page- Parameters:
parentPageId- the parent page identifier- Returns:
- the portlets list
-