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.PortletHomeThis class provides instances management methods for ChildPagesPortlet objects
-
-
Constructor Summary
Constructors Constructor Description ChildPagesPortletHome()Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static fr.paris.lutece.util.ReferenceListgetChildPagesList(int nPageId)Returns the list of the child pages of a page whose identifier is specified in parameterstatic java.util.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.PortletHomegetInstance()Returns the instance of ChildPagesPortletHomestatic fr.paris.lutece.util.ReferenceListgetPagesList()Returns 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 parameterjava.lang.StringgetPortletTypeId()Returns the identifier of the child pages portlet type-
Methods 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
-
-
-
-
Method Detail
-
getPortletTypeId
public java.lang.String 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
public static 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
-
-