Class WorkflowJsonService
java.lang.Object
fr.paris.lutece.plugins.workflow.service.json.WorkflowJsonService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowJsonServiceintimportWorkflow(fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow workflow, Locale locale) jsonExportWorkflow(int idWorkflow) Export the workflow as a Json Object.voidjsonImportWorkflow(String json, Locale locale)
-
Field Details
-
INSTANCE
-
-
Method Details
-
getInstance
-
jsonExportWorkflow
public String jsonExportWorkflow(int idWorkflow) throws com.fasterxml.jackson.core.JsonProcessingException Export the workflow as a Json Object.- Returns:
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
jsonImportWorkflow
@Transactional public void jsonImportWorkflow(String json, Locale locale) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
importWorkflow
public int importWorkflow(fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow workflow, Locale locale)
-