Class WorkflowTransformService
- java.lang.Object
-
- com.logicaldoc.workflow.transform.WorkflowTransformService
-
public class WorkflowTransformService extends Object
Transform utility to convert Workflow models into processable documents and vice versa.- Since:
- 6.8
- Author:
- Marco Meschieri - LogicalDOC
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACTIVITI_NS
-
Constructor Summary
Constructors Constructor Description WorkflowTransformService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
fromModelToBPMN(WorkflowDefinition workflowDefinition)
Convert a workflow model to the BPMN contentWorkflowDefinition
fromXmlToModel(String xmlData)
Converts the XML specification into a Workflow modelWorkflowDefinition
retrieveWorkflowModels(Serializable binarayContent)
void
setXStream(com.thoughtworks.xstream.XStream stream)
-
-
-
Field Detail
-
ACTIVITI_NS
public static final String ACTIVITI_NS
- See Also:
- Constant Field Values
-
-
Method Detail
-
setXStream
public void setXStream(com.thoughtworks.xstream.XStream stream)
-
fromXmlToModel
public WorkflowDefinition fromXmlToModel(String xmlData)
Converts the XML specification into a Workflow model- Parameters:
xmlData
- the XML document's content- Returns:
- the object representation of the workflow
-
fromModelToBPMN
public String fromModelToBPMN(WorkflowDefinition workflowDefinition)
Convert a workflow model to the BPMN content- Parameters:
workflowDefinition
- the object representation of the workflow- Returns:
- the XML content
-
retrieveWorkflowModels
public WorkflowDefinition retrieveWorkflowModels(Serializable binarayContent)
-
-