kimi
2020-03-31 74472c9d22dddcb41383794caf0011043b20f817
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.highdatas.mdm.service.act;
 
import com.alibaba.fastjson.JSONArray;
import com.highdatas.mdm.pojo.Result;
import org.activiti.engine.repository.Model;
import org.springframework.stereotype.Service;
 
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
 
/**
 * @author kimi
 * @description
 * @date 2019-12-11 15:53
 */
 
@Service
public interface RepositoryService extends BaseService{
    public boolean saveModel(String modelId, HttpServletRequest request);
    public Model getModel(String modelId);
    public void getEditor();
    public String createModel(String modelName, String key, String desp) throws UnsupportedEncodingException;
    public boolean deleteModel(String modelId);
    public boolean deployModel(String modelId);
    public boolean deleteDeployModel(String modelId);
    public Result<JSONArray> getProcessList();
    public void readProcessResource(String resoucreType, String processDefinitionId,HttpServletResponse response);
    public void uploadFlow(HttpServletRequest request);
    public boolean updateProcessDefStatus(String type, String modelId);
    public void getModelXml(HttpServletResponse response,String modelId) throws IOException;
 
    InputStream getModelImg(String modelId);
}