Class BlogListPortletHome
java.lang.Object
fr.paris.lutece.portal.business.portlet.PortletHome
fr.paris.lutece.plugins.blog.business.portlet.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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckIsAliasPortlet(int nPortletId) Check whether a portlet is an alias portletstatic Collection<fr.paris.lutece.util.ReferenceItem>findByFilter(int nDocumentId, PortletOrder pOrder, PortletFilter pFilter) Load the list of Portletfr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOgetDAO()Returns the instance of the portlet DAO singletonstatic fr.paris.lutece.portal.business.portlet.PortletHomeReturns the instance of DocumentListPortletHomestatic intLoad the portlet template whose type is specified in parameterReturns the identifier of the portlet typeMethods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome
create, findByPrimaryKey, findByType, getAliasList, getColumnPositions, getLastModifiedPortlet, getPagePositions, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, getUsedOrdersForColumns, getXslFile, getXslSource, hasAlias, invalidate, invalidate, notifyListeners, placeInColumn, remove, update, updatePosition, updateStatus
-
Constructor Details
-
BlogListPortletHome
public BlogListPortletHome()Constructor
-
-
Method Details
-
getInstance
public static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()Returns the instance of DocumentListPortletHome- Returns:
- the DocumentListPortletHome instance
-
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 Collection<fr.paris.lutece.util.ReferenceItem> findByFilter(int nDocumentId, PortletOrder pOrder, PortletFilter pFilter) Load the list of Portlet- Parameters:
nDocumentId- the document IDpOrder- order of the portletspFilter- The portlet filter- Returns:
- The Collection of the ReferenceItem
-
getMinDocBlogOrder
public static int getMinDocBlogOrder()Load the portlet template whose type is specified in parameter- Returns:
- The minimum value of blog document order
-