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 Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
- 
WorkflowTransformService
public WorkflowTransformService() 
 - 
 - 
Method Details
- 
setXStream
public void setXStream(com.thoughtworks.xstream.XStream stream)  - 
fromXmlToModel
Converts the XML specification into a Workflow model- Parameters:
 xmlData- the XML document's content- Returns:
 - the object representation of the workflow
 
 - 
fromModelToBPMN
Convert 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
 
 -