public class WorkflowJsonService extends Object
| Modifier and Type | Field and Description |
|---|---|
static WorkflowJsonService |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static WorkflowJsonService |
getInstance() |
int |
importWorkflow(fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow workflow,
Locale locale) |
String |
jsonExportWorkflow(int idWorkflow)
Export the workflow as a Json Object.
|
void |
jsonImportWorkflow(String json,
Locale locale) |
public static final WorkflowJsonService INSTANCE
public static WorkflowJsonService getInstance()
public String jsonExportWorkflow(int idWorkflow) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException@Transactional public void jsonImportWorkflow(String json, Locale locale) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic int importWorkflow(fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow workflow,
Locale locale)
Copyright © 2022 City of Paris. All rights reserved.