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
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    return number of form portlet who are associate to the id form
    fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
    Returns the instance of the portlet DAO singleton
    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
    static fr.paris.lutece.portal.business.portlet.PortletHome
    Returns the instance of FormPortletHome
    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      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
    • 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 identifier
      plugin - 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