Class FormPortletHome
java.lang.Object
fr.paris.lutece.portal.business.portlet.PortletHome
fr.paris.lutece.plugins.form.business.portlet.FormPortletHome
- All Implemented Interfaces:
fr.paris.lutece.portal.business.portlet.PortletHomeInterface
public class FormPortletHome
extends fr.paris.lutece.portal.business.portlet.PortletHome
This class provides instances management methods for ArticlesListPortlet
objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetCountPortletByIdForm(int nIdForm) return number of form portlet who are associate to the id formfr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOgetDAO()Returns the instance of the portlet DAO singletonstatic FormgetFormByPortletId(int nPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns an instance of a Form associate to the portle witch identifier is specified in parameterstatic fr.paris.lutece.portal.business.portlet.PortletHomeReturns the instance of FormPortletHomeReturns the identifier of the portlet typeMethods 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
-
Constructor Details
-
FormPortletHome
public FormPortletHome()Constructor
-
-
Method Details
-
getInstance
public static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()Returns the instance of FormPortletHome- Returns:
- the FormPortletHome 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
-
getFormByPortletId
public static Form getFormByPortletId(int nPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns an instance of a Form associate to the portle witch identifier is specified in parameter- Parameters:
nPortletId- the portlet identifierplugin- the plugin- Returns:
- An instance of Form
-
getCountPortletByIdForm
public static int getCountPortletByIdForm(int nIdForm) return number of form portlet who are associate to the id form- Parameters:
nIdForm- the id of the form- Returns:
- number of form portlet who are associate to the id form
-