public final class FormParameterService extends Object
| Constructor and Description |
|---|
FormParameterService() |
| Modifier and Type | Method and Description |
|---|---|
fr.paris.lutece.util.ReferenceList |
findAll()
Find all form parameters
|
fr.paris.lutece.util.ReferenceItem |
findByKey(String strParameterKey)
Load the parameter value
|
fr.paris.lutece.util.ReferenceList |
findDefaultValueParameters()
Find the default value parameters of the form
|
fr.paris.lutece.util.ReferenceList |
findExportParameters()
Find the export parameters
|
String |
getExportCSVEncoding()
Get the encoding for export CSV
|
IExportType |
getExportDaemonType()
Get the export daemon type configured in the advanced parameters of
the plugin-form.
|
String |
getExportXMLEncoding()
Get the encoding for export XML
|
IExportService |
getFileExportDaemonType()
Get the export daemon type configured in the advanced parameters of
the plugin-form.
|
int |
getIdExportResponsesDaemon()
Get the id export responses for daemon
|
static FormParameterService |
getService()
Get the instance of the service
|
boolean |
isExportEncodingParameter(String strKey)
Check if the given key is from an encoding parameter
|
void |
update(fr.paris.lutece.util.ReferenceItem param)
Update the parameter value
|
public static FormParameterService getService()
public fr.paris.lutece.util.ReferenceList findAll()
ReferenceListpublic fr.paris.lutece.util.ReferenceList findDefaultValueParameters()
ReferenceListpublic fr.paris.lutece.util.ReferenceList findExportParameters()
ReferenceListpublic fr.paris.lutece.util.ReferenceItem findByKey(String strParameterKey)
strParameterKey - the parameter keypublic void update(fr.paris.lutece.util.ReferenceItem param)
param - A reference item contain the association key/value to
update. The key must be in the code parameter of the reference
item, and the value in the value parameterpublic String getExportCSVEncoding()
public String getExportXMLEncoding()
public int getIdExportResponsesDaemon()
public boolean isExportEncodingParameter(String strKey)
strKey - the keypublic IExportType getExportDaemonType()
IExportTypepublic IExportService getFileExportDaemonType()
IExportTypeCopyright © 2016 Mairie de Paris. All rights reserved.