fr.paris.lutece.plugins.childpages.business.portlet
Class ChildPagesPortletHome

java.lang.Object
  extended by fr.paris.lutece.portal.business.portlet.PortletHome
      extended by 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
ChildPagesPortletHome()
           
 
Method Summary
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
 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, getPortletListByStyle, getPortletsListbyName, getPortletType, getStylesList, hasAlias, invalidate, invalidate, remove, update, updateStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildPagesPortletHome

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


Copyright © 2007 Mairie de Paris. All Rights Reserved.