fr.paris.lutece.plugins.form.business.portlet
Class FormPortletHome

java.lang.Object
  extended by fr.paris.lutece.portal.business.portlet.PortletHome
      extended by 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
FormPortletHome()
          Constructor
 
Method Summary
static int getCountPortletByIdForm(int nIdForm)
          return number of form portlet who are associate to the id form
 fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
          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 getInstance()
          Returns the instance of FormPortletHome
 java.lang.String getPortletTypeId()
          Returns the identifier of the portlet type
 
Methods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome
create, findByPrimaryKey, findByType, getPortletListByStyle, getPortletsListbyName, getPortletType, getStylesList, hasAlias, invalidate, invalidate, remove, update, updateStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormPortletHome

public FormPortletHome()
Constructor

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 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


Copyright © 2008 Mairie de Paris. All Rights Reserved.