Class AbstractFormJsonService
java.lang.Object
fr.paris.lutece.plugins.forms.service.json.AbstractFormJsonService
- Direct Known Subclasses:
FormJsonService
-
Method Summary
Modifier and TypeMethodDescriptionjsonExportStep(int idForm, int idStep) Export the step as a Json Object.jsonExportStepAsData(int idForm, int idStep) Export the step as a StepJsonData Object.voidjsonImportStep(int idForm, StepJsonData jsonData, Locale locale) voidjsonImportStep(int idForm, String json, Locale locale) Import the step from a Json Object.
-
Method Details
-
jsonExportStep
public String jsonExportStep(int idForm, int idStep) throws com.fasterxml.jackson.core.JsonProcessingException Export the step as a Json Object.- Returns:
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
jsonExportStepAsData
public StepJsonData jsonExportStepAsData(int idForm, int idStep) throws com.fasterxml.jackson.core.JsonProcessingException Export the step as a StepJsonData Object.- Returns:
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
jsonImportStep
public void jsonImportStep(int idForm, String json, Locale locale) throws com.fasterxml.jackson.core.JsonProcessingException Import the step from a Json Object.- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
jsonImportStep
-