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
    Constructor
    Description
    Builds the home instance
  • Method Summary

    Modifier and Type
    Method
    Description
    static fr.paris.lutece.util.ReferenceList
    getChildPagesList(int nPageId)
    Returns the child pages of a page
    getChildPagesPortlets(int parentPageId)
    Returns the portlets bound to a parent page
    fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
    Returns the DAO instance
    static fr.paris.lutece.portal.business.portlet.PortletHome
    Returns the home instance
    static fr.paris.lutece.util.ReferenceList
    Returns all the pages of the database
    static int
    getParentPageId(int nPortletId)
    Returns the parent page identifier of a portlet
    Returns the child pages portlet type identifier

    Methods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome

    create, findByPrimaryKey, findByType, getAliasList, getColumnPositions, getLastModifiedPortlet, getPagePositions, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, getUsedOrdersForColumns, getXslFile, getXslSource, hasAlias, invalidate, invalidate, notifyListeners, placeInColumn, remove, update, updatePosition, updateStatus

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChildPagesPortletHome

      public ChildPagesPortletHome()
      Builds the home instance
  • Method Details

    • getPortletTypeId

      public String 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

      public static List<ChildPagesPortlet> getChildPagesPortlets(int parentPageId)
      Returns the portlets bound to a parent page
      Parameters:
      parentPageId - the parent page identifier
      Returns:
      the portlets list