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
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    getChildPagesPortlets(int parentPageId)
    Returns the list of ChildPages portlets whose parent page id is specified
    fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
    Returns the instance of the ChildPagesPortletDAO singleton
    static fr.paris.lutece.portal.business.portlet.PortletHome
    Returns the instance of ChildPagesPortletHome
    static fr.paris.lutece.util.ReferenceList
    Returns the list of all the pages of the database
    static int
    getParentPageId(int nPortletId)
    Returns the portlet parent page identifier of the portlet whose identifier is specified in parameter
    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

    Methods inherited from class java.lang.Object

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

    • ChildPagesPortletHome

      public ChildPagesPortletHome()
      Constructor
  • Method Details

    • getPortletTypeId

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