Class BlogListPortletHome

  • All Implemented Interfaces:
    fr.paris.lutece.portal.business.portlet.PortletHomeInterface

    public class BlogListPortletHome
    extends fr.paris.lutece.portal.business.portlet.PortletHome
    This class provides instances management methods for BlogsListPortlet objects
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean checkIsAliasPortlet​(int nPortletId)
      Check whether a portlet is an alias portlet
      static java.util.Collection<fr.paris.lutece.util.ReferenceItem> findByFilter​(int nDocumentId, PortletOrder pOrder, PortletFilter pFilter)
      Load the list of Portlet
      fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
      Returns the instance of the portlet DAO singleton
      static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()
      Returns the instance of DocumentListPortletHome
      static int getMinDocBlogOrder()
      Load the portlet template whose type is specified in parameter
      java.lang.String getPortletTypeId()
      Returns the identifier of the portlet type
      static java.util.Map<java.lang.Integer,​java.lang.String> loadPages​(java.lang.String strPortletType)
      Load the portlet template whose type is specified in parameter
      • 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

      • BlogListPortletHome

        public BlogListPortletHome()
        Constructor
    • Method Detail

      • getInstance

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

        public java.lang.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
      • 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
      • findByFilter

        public static java.util.Collection<fr.paris.lutece.util.ReferenceItem> findByFilter​(int nDocumentId,
                                                                                            PortletOrder pOrder,
                                                                                            PortletFilter pFilter)
        Load the list of Portlet
        Parameters:
        nDocumentId - the document ID
        pOrder - order of the portlets
        pFilter - The portlet filter
        Returns:
        The Collection of the ReferenceItem
      • loadPages

        public static java.util.Map<java.lang.Integer,​java.lang.String> loadPages​(java.lang.String strPortletType)
        Load the portlet template whose type is specified in parameter
        Parameters:
        strPortletType -
        Returns:
        Map template
      • getMinDocBlogOrder

        public static int getMinDocBlogOrder()
        Load the portlet template whose type is specified in parameter
        Returns:
        The minimum value of blog document order