fr.paris.lutece.plugins.form.service.parameter
Class FormParameterService

java.lang.Object
  extended by fr.paris.lutece.plugins.form.service.parameter.FormParameterService

public final class FormParameterService
extends java.lang.Object

FormParameterService


Constructor Summary
FormParameterService()
           
 
Method Summary
 fr.paris.lutece.util.ReferenceList findAll()
          Find all directory parameters
 fr.paris.lutece.util.ReferenceItem findByKey(java.lang.String strParameterKey)
          Load the parameter value
 fr.paris.lutece.util.ReferenceList findDefaultValueParameters()
          Find the default value parameters of the directory
 fr.paris.lutece.util.ReferenceList findExportParameters()
          Find the export parameters
 java.lang.String getExportCSVEncoding()
          Get the encoding for export CSV
 IExportType getExportDaemonType()
          Get tge export daemon type configured in the advanced parameters of the plugin-form.
 java.lang.String getExportXMLEncoding()
          Get the encoding for export XML
 int getIdExportResponsesDaemon()
          Get the id export responses for daemon
static FormParameterService getService()
          Get the instance of the service
 boolean isExportEncodingParameter(java.lang.String strKey)
          Check if the given key is from an encoding parameter
 void update(fr.paris.lutece.util.ReferenceItem param)
          Update the parameter value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormParameterService

public FormParameterService()
Method Detail

getService

public static FormParameterService getService()
Get the instance of the service

Returns:
the instance of the service

findAll

public fr.paris.lutece.util.ReferenceList findAll()
Find all directory parameters

Returns:
a ReferenceList

findDefaultValueParameters

public fr.paris.lutece.util.ReferenceList findDefaultValueParameters()
Find the default value parameters of the directory

Returns:
a ReferenceList

findExportParameters

public fr.paris.lutece.util.ReferenceList findExportParameters()
Find the export parameters

Returns:
a ReferenceList

findByKey

public fr.paris.lutece.util.ReferenceItem findByKey(java.lang.String strParameterKey)
Load the parameter value

Parameters:
strParameterKey - the parameter key
Returns:
The parameter value

update

public void update(fr.paris.lutece.util.ReferenceItem param)
Update the parameter value

Parameters:
strParameterKey - The parameter key
strParameterValue - The parameter value

getExportCSVEncoding

public java.lang.String getExportCSVEncoding()
Get the encoding for export CSV

Returns:
the encoding for export CSV

getExportXMLEncoding

public java.lang.String getExportXMLEncoding()
Get the encoding for export XML

Returns:
the encoding for export XML

getIdExportResponsesDaemon

public int getIdExportResponsesDaemon()
Get the id export responses for daemon

Returns:
the id export responses for daemon

isExportEncodingParameter

public boolean isExportEncodingParameter(java.lang.String strKey)
Check if the given key is from an encoding parameter

Parameters:
strKey - the key
Returns:
true if it is an encoding parameter, false otherwise

getExportDaemonType

public IExportType getExportDaemonType()
Get tge export daemon type configured in the advanced parameters of the plugin-form.

Returns:
a IExportType


Copyright © 2012 Mairie de Paris. All Rights Reserved.