Class FormPanel
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.business.form.panel.FormPanel
-
public class FormPanel extends Object
Abstract class for implementation of the IFormPanel
-
-
Constructor Summary
Constructors Constructor Description FormPanel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFormPanelConfigurationgetFormPanelConfiguration()Return the FormPanelConfiguration of the FormPanel.List<FormResponseItem>getFormResponseItemList()Return the list of FormResponseItem of the PanelList<IFormPanelInitializer>getListFormPanelInitializer()Return the list of FormPanelInitializer class name of the FormPanelConfigurationStringgetTechnicalCode()Return the technical code of the panel from the configuration.StringgetTitle()Return the title of the panel from the configuration.intgetTotalFormResponseItemCount()Get the total form response item countvoidsetFormPanelConfiguration(IFormPanelConfiguration formPanelConfiguration)Set the FormPanelConfiguration of the FormPanelvoidsetFormResponseItemList(List<FormResponseItem> listFormResponseItem)Set the list of FormResponseItemvoidsetListFormPanelInitializer(List<IFormPanelInitializer> listFormPanelInitializer)Set the list of IFormPanelInitializervoidsetTotalFormResponseItemCount(int nTotalFormResponseItemCount)Set the total form response imte count
-
-
-
Method Detail
-
getFormPanelConfiguration
public IFormPanelConfiguration getFormPanelConfiguration()
Return the FormPanelConfiguration of the FormPanel. This configuration contains all informations of the FormPanel.- Returns:
- the FormPanelConfiguration of the FormPanel
-
getTitle
public String getTitle()
Return the title of the panel from the configuration. This is the title which will be display on the table view.- Returns:
- the title of the panel from the configuration
-
getTechnicalCode
public String getTechnicalCode()
Return the technical code of the panel from the configuration. This code is used as unique identifier for a FormPanel to manage the case of the selected FormPanel.- Returns:
- the technical code of the panel from the configuration
-
getFormResponseItemList
public List<FormResponseItem> getFormResponseItemList()
Return the list of FormResponseItem of the Panel- Returns:
- the list of all FormResponseItem of the Panel
-
setFormResponseItemList
public void setFormResponseItemList(List<FormResponseItem> listFormResponseItem)
Set the list of FormResponseItem- Parameters:
listFormResponseItem- The list of FormResponseItem to set to the Panel
-
setFormPanelConfiguration
public void setFormPanelConfiguration(IFormPanelConfiguration formPanelConfiguration)
Set the FormPanelConfiguration of the FormPanel- Parameters:
formPanelConfiguration- The FormPanelconfiguration to set the FormPanel
-
getListFormPanelInitializer
public List<IFormPanelInitializer> getListFormPanelInitializer()
Return the list of FormPanelInitializer class name of the FormPanelConfiguration- Returns:
- the list of FormPanelInitializer class name of the FormPanelConfiguration
-
setListFormPanelInitializer
public void setListFormPanelInitializer(List<IFormPanelInitializer> listFormPanelInitializer)
Set the list of IFormPanelInitializer- Parameters:
listFormPanelInitializer- The list of IFormPanelInitializer to set to the Panel
-
getTotalFormResponseItemCount
public int getTotalFormResponseItemCount()
Get the total form response item count- Returns:
- the total form response item count
-
setTotalFormResponseItemCount
public void setTotalFormResponseItemCount(int nTotalFormResponseItemCount)
Set the total form response imte count- Parameters:
nTotalFormResponseItemCount-
-
-