Search in sources :

Example 6 with ProcessImporter

use of com.centurylink.mdw.dataaccess.ProcessImporter in project mdw-designer by CenturyLinkCloud.

the class Importer method parsePackageXml.

private PackageVO parsePackageXml(String xml) throws DataAccessException {
    int schemaVersion = dataAccess.getDatabaseSchemaVersion();
    ProcessImporter importer = DataAccess.getProcessImporter(schemaVersion);
    return importer.importPackage(xml);
}
Also used : ProcessImporter(com.centurylink.mdw.dataaccess.ProcessImporter)

Aggregations

ProcessImporter (com.centurylink.mdw.dataaccess.ProcessImporter)6 ProcessVO (com.centurylink.mdw.model.value.process.ProcessVO)4 DataAccessException (com.centurylink.mdw.common.exception.DataAccessException)3 PackageVO (com.centurylink.mdw.model.value.process.PackageVO)3 WorkflowProcess (com.centurylink.mdw.plugin.designer.model.WorkflowProcess)2 IOException (java.io.IOException)2 JSONObject (org.json.JSONObject)2 MDWProcess (com.centurylink.mdw.bpm.MDWProcess)1 MDWProcessDefinition (com.centurylink.mdw.bpm.MDWProcessDefinition)1 ProcessDefinitionDocument (com.centurylink.mdw.bpm.ProcessDefinitionDocument)1 DataAccessOfflineException (com.centurylink.mdw.dataaccess.DataAccessOfflineException)1 ProcessWorker (com.centurylink.mdw.designer.utils.ProcessWorker)1 RestfulServer (com.centurylink.mdw.designer.utils.RestfulServer)1 ValidationException (com.centurylink.mdw.designer.utils.ValidationException)1 VariableVO (com.centurylink.mdw.model.value.variable.VariableVO)1 CodeTimer (com.centurylink.mdw.plugin.CodeTimer)1 WorkflowPackage (com.centurylink.mdw.plugin.designer.model.WorkflowPackage)1 HashMap (java.util.HashMap)1 Map (java.util.Map)1 JSONException (org.json.JSONException)1