Package net.risesoft.api
Class ProcessModelApiImpl
- java.lang.Object
-
- net.risesoft.api.ProcessModelApiImpl
-
- All Implemented Interfaces:
ProcessModelApi
@RestController @RequestMapping(value="/services/rest/processModel", produces="application/json") public class ProcessModelApiImpl extends Object implements ProcessModelApi流程设计相关接口- Author:
- qinman, zhangchongjie
- Date:
- 2022/12/30
-
-
Constructor Summary
Constructors Constructor Description ProcessModelApiImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.risesoft.pojo.Y9Result<Object>deleteModel(String tenantId, String modelId)删除模型net.risesoft.pojo.Y9Result<Object>deployModel(String tenantId, String modelId)根据modelId部署流程net.risesoft.pojo.Y9Result<List<FlowableBpmnModel>>getModelList(String tenantId)获取模型列表net.risesoft.pojo.Y9Result<String>getModelXml(String tenantId, String modelId)获取模型xmlnet.risesoft.pojo.Y9Result<Object>saveModelXml(String tenantId, String userId, org.springframework.web.multipart.MultipartFile file)导入模型文件
-
-
-
Method Detail
-
deleteModel
public net.risesoft.pojo.Y9Result<Object> deleteModel(@RequestParam String tenantId, @RequestParam String modelId)
删除模型- Specified by:
deleteModelin interfaceProcessModelApi- Parameters:
tenantId- 租户idmodelId- 模型id- Returns:
Y9Result<Object>通用请求返回对象 - success 属性判断操作是否成功- Since:
- 9.6.6
-
deployModel
public net.risesoft.pojo.Y9Result<Object> deployModel(@RequestParam String tenantId, @RequestParam String modelId)
根据modelId部署流程- Specified by:
deployModelin interfaceProcessModelApi- Parameters:
tenantId- 租户idmodelId- 模型id- Returns:
Y9Result<Object>通用请求返回对象 - success 属性判断操作是否成功- Since:
- 9.6.6
-
getModelList
public net.risesoft.pojo.Y9Result<List<FlowableBpmnModel>> getModelList(@RequestParam String tenantId)
获取模型列表- Specified by:
getModelListin interfaceProcessModelApi- Parameters:
tenantId- 租户id- Returns:
Y9Result<List<FlowableBpmnModel>>通用请求返回对象 - data 模型列表- Since:
- 9.6.6
-
getModelXml
public net.risesoft.pojo.Y9Result<String> getModelXml(@RequestParam String tenantId, @RequestParam String modelId)
获取模型xml- Specified by:
getModelXmlin interfaceProcessModelApi- Parameters:
tenantId- 租户idmodelId- 模型id- Returns:
Y9Result<String>通用请求返回对象 - data 模型xml- Since:
- 9.6.6
-
saveModelXml
public net.risesoft.pojo.Y9Result<Object> saveModelXml(@RequestParam String tenantId, @RequestParam String userId, org.springframework.web.multipart.MultipartFile file)
导入模型文件- Specified by:
saveModelXmlin interfaceProcessModelApi- Parameters:
tenantId- 租户iduserId- 用户idfile- 文件- Returns:
Y9Result<Object>通用请求返回对象 - success 属性判断操作是否成功- Since:
- 9.6.6
-
-