fr.paris.lutece.portal.business.portlet
Class AliasPortletHome

java.lang.Object
  extended by fr.paris.lutece.portal.business.portlet.PortletHome
      extended by fr.paris.lutece.portal.business.portlet.AliasPortletHome
All Implemented Interfaces:
PortletHomeInterface

public class AliasPortletHome
extends PortletHome

This class provides instances management methods for AliasPortlet objects


Constructor Summary
AliasPortletHome()
          Constructor
 
Method Summary
static ReferenceList getAcceptAliasPortletList()
          Returns the list of the portlets which accept an alias
static int getAliasId(int nIdPortlet)
          Returns the portlet alias identifier of the portlet whose identifier is specified in parameter
 IPortletInterfaceDAO getDAO()
          Returns the instance of the FolderListingPortletDAO singleton
static PortletHome getInstance()
          Returns the instance of AliasPortletHome
static ReferenceList getPortletsByTypeList(java.lang.String strPortletTypeId)
          Loads the list of the portlets whose type is the same as the one specified in parameter
 java.lang.String getPortletTypeId()
          Returns the identifier of the alias portlet type
 
Methods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome
create, findByPrimaryKey, findByType, getAliasList, getLastModifiedPortlet, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, hasAlias, invalidate, invalidate, notifyListeners, remove, update, updateStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AliasPortletHome

public AliasPortletHome()
Constructor

Method Detail

getPortletTypeId

public java.lang.String getPortletTypeId()
Returns the identifier of the alias portlet type

Returns:
the portlet type identifier

getInstance

public static PortletHome getInstance()
Returns the instance of AliasPortletHome

Returns:
the AliasPortletHome instance

getDAO

public IPortletInterfaceDAO getDAO()
Returns the instance of the FolderListingPortletDAO singleton

Returns:
the instance of the FolderListingPortletDAO

getAliasId

public static int getAliasId(int nIdPortlet)
Returns the portlet alias identifier of the portlet whose identifier is specified in parameter

Parameters:
nIdPortlet - the identifier of the portlet
Returns:
the identifier of the alias portlet

getAcceptAliasPortletList

public static ReferenceList getAcceptAliasPortletList()
Returns the list of the portlets which accept an alias

Returns:
the list of the portlets in form of ReferenceList

getPortletsByTypeList

public static ReferenceList getPortletsByTypeList(java.lang.String strPortletTypeId)
Loads the list of the portlets whose type is the same as the one specified in parameter

Parameters:
strPortletTypeId - the portlet type identifier
Returns:
the list of the portlets in form of a ReferenceList


Copyright © 2012 Mairie de Paris. All Rights Reserved.