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.PortletHomeThis class provides instances management methods for ArticlesListPortlet objects
-
-
Constructor Summary
Constructors Constructor Description FormPortletHome()Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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.PortletHomegetInstance()Returns the instance of FormPortletHomejava.lang.StringgetPortletTypeId()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, hasAlias, invalidate, invalidate, notifyListeners, remove, update, updatePosition, updateStatus
-
-
-
-
Method Detail
-
getInstance
public static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()
Returns the instance of FormPortletHome- Returns:
- the FormPortletHome 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
-
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
-
-