Package com.founder.fix.fixflow.explorer.service

Examples of com.founder.fix.fixflow.explorer.service.FlowExplorerService


            input = new FileInputStream(buildPath() +File.separator+fileName);
            pngInputStream = new FileInputStream(buildPath() +File.separator+pngFileName);
            Map<String,InputStream> fileInputSteamMap = new HashMap<String, InputStream>();
            fileInputSteamMap.put(fileName, input);
            fileInputSteamMap.put(pngFileName, pngInputStream);
            FlowExplorerService flowExplorerService = new FlowExplorerServiceImpl();
            flowExplorerService.deploy(fileInputSteamMap, deploymentId, userId);
            success("发布成功", "string");
      }catch(Exception ex){
        ex.printStackTrace();
        error("发布失败:" + ex.getMessage());
      }
View Full Code Here


    public void getProcessVersionInfo() throws Exception{
      String userId = session(FlowCenterService.LOGIN_USER_ID);
      String fileName =  request("fileName");
      String result = null;
      try{
        FlowExplorerService flowExplorerService = new FlowExplorerServiceImpl();
          result = flowExplorerService.getProcessVersionInfo(fileName, userId);
          success(result);
      }catch(Exception ex){
        error("创建失败" + ex.getMessage());
      }
    }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.explorer.service.FlowExplorerService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.