Class AliasPortletHome

java.lang.Object
fr.paris.lutece.portal.business.portlet.PortletHome
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
  • Method Details

    • getPortletTypeId

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

      public static ReferenceList getAcceptAliasPortletRefList()
      Returns the Reference list of the portlets which accept an alias
      Returns:
      the list of the portlets in form of ReferenceList
    • getAcceptAliasPortletList

      public static Collection<Portlet> getAcceptAliasPortletList()
      Returns the list of the portlets which accept an alias
      Returns:
      the list of the portlets
    • getPortletsByTypeList

      public static ReferenceList getPortletsByTypeList(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