| | |
| | | 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 |
| | |
| | | |
| | | @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); |
| | | boolean saveModel(String modelId, HttpServletRequest request); |
| | | Model getModel(String modelId); |
| | | boolean deleteModel(String modelId); |
| | | InputStream getModelImg(String modelId); |
| | | } |