Class WorkflowTransformService
java.lang.Object
com.logicaldoc.workflow.transform.WorkflowTransformService
Transform utility to convert Workflow models into processable documents and
 vice versa.
- Since:
- 6.8
- Author:
- Marco Meschieri - LogicalDOC
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfromModelToBPMN(WorkflowDefinition workflowDefinition) Convert a workflow model to the BPMN contentfromXmlToModel(String xmlData) Converts the XML specification into a Workflow modelretrieveWorkflowModels(Serializable binarayContent) voidsetXStream(com.thoughtworks.xstream.XStream stream) 
- 
Field Details- 
ACTIVITI_NS- See Also:
 
 
- 
- 
Constructor Details- 
WorkflowTransformServicepublic WorkflowTransformService()
 
- 
- 
Method Details- 
setXStreampublic void setXStream(com.thoughtworks.xstream.XStream stream) 
- 
fromXmlToModelConverts the XML specification into a Workflow model- Parameters:
- xmlData- the XML document's content
- Returns:
- the object representation of the workflow
 
- 
fromModelToBPMNConvert a workflow model to the BPMN content- Parameters:
- workflowDefinition- the object representation of the workflow
- Returns:
- the XML content
- Throws:
- TransformerException- Error processing the XML
 
- 
retrieveWorkflowModels
 
-