public class FormJsonService extends Object
| Modifier and Type | Field and Description |
|---|---|
static FormJsonService |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static FormJsonService |
getInstance() |
String |
jsonExportForm(int idForm)
Export the form as a Json Object.
|
String |
jsonExportStep(int idForm,
int idStep)
Export the step as a Json Object.
|
void |
jsonImportForm(String json,
Locale locale)
Import the form from a Json Object.
|
void |
jsonImportStep(int idForm,
String json,
Locale locale)
Import the step from a Json Object.
|
public static final FormJsonService INSTANCE
public static FormJsonService getInstance()
public String jsonExportForm(int idForm) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException@Transactional(value="forms.transactionManager") public void jsonImportForm(String json, Locale locale) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic String jsonExportStep(int idForm, int idStep) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2021 City of Paris. All rights reserved.