Class DocumentListPortletHome

java.lang.Object
fr.paris.lutece.portal.business.portlet.PortletHome
fr.paris.lutece.plugins.document.business.portlet.DocumentListPortletHome
All Implemented Interfaces:
fr.paris.lutece.portal.business.portlet.PortletHomeInterface

public class DocumentListPortletHome extends fr.paris.lutece.portal.business.portlet.PortletHome
This class provides instances management methods for ArticlesListPortlet objects
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    checkIsAliasPortlet(int nPortletId)
    Check whether a portlet is an alias portlet
    static Collection<fr.paris.lutece.util.ReferenceItem>
    findByCodeDocumentTypeAndCategory(int nDocumentId, String strCodeDocumentType, PortletOrder pOrder, PortletFilter pFilter)
    Load the list of documentTypes
    fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
    Returns the instance of the portlet DAO singleton
    static fr.paris.lutece.portal.business.portlet.PortletHome
    Returns the instance of DocumentListPortletHome
    Returns the identifier of the portlet type

    Methods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome

    create, findByPrimaryKey, findByType, getAliasList, getLastModifiedPortlet, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, getUsedOrdersForColumns, getXslFile, getXslSource, 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

    • DocumentListPortletHome

      public DocumentListPortletHome()
      Constructor
  • Method Details

    • getInstance

      public static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()
      Returns the instance of DocumentListPortletHome
      Returns:
      the DocumentListPortletHome instance
    • getPortletTypeId

      public String getPortletTypeId()
      Returns the identifier of the portlet type
      Returns:
      the portlet type identifier
    • getDAO

      public fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
      Returns the instance of the portlet DAO singleton
      Returns:
      the instance of the DAO singleton
    • findByCodeDocumentTypeAndCategory

      public static Collection<fr.paris.lutece.util.ReferenceItem> findByCodeDocumentTypeAndCategory(int nDocumentId, String strCodeDocumentType, PortletOrder pOrder, PortletFilter pFilter)
      Load the list of documentTypes
      Parameters:
      nDocumentId - the document ID
      strCodeDocumentType - The code
      pOrder - order of the portlets
      pFilter - The portlet filter
      Returns:
      The Collection of the ReferenceItem
    • checkIsAliasPortlet

      public static boolean checkIsAliasPortlet(int nPortletId)
      Check whether a portlet is an alias portlet
      Parameters:
      nPortletId - The id of the portlet
      Returns:
      True if the portlet is an alias portlet, false otherwise