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

      All Methods Static Methods Instance Methods Concrete Methods 
      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
      static java.util.List<ChildPagesPortlet> getChildPagesPortlets​(int parentPageId)
      Returns the list of ChildPages portlets whose parent page id is specified
      fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
      Returns the instance of the ChildPagesPortletDAO singleton
      static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()
      Returns the instance of ChildPagesPortletHome
      static fr.paris.lutece.util.ReferenceList getPagesList()
      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
      java.lang.String getPortletTypeId()
      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 Detail

      • ChildPagesPortletHome

        public ChildPagesPortletHome()
        Constructor
    • 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