zhuguifei
2025-04-28 442928123f63ee497d766f9a7a14f0a6ee067e25
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package org.jeecg.modules.activiti.service;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.activiti.engine.repository.Model;
import org.jeecg.modules.activiti.model.entity.ReModelEntity;
import org.jeecg.common.api.vo.Result;
 
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;
import java.util.Map;
 
/**
 * 模型接口
 *
 * @author len
 * @date 2019/06/12
 */
public interface ReModelService extends IService<ReModelEntity> {
 
    /**
     * 分页查询
     *
     * @param  req 查询参数
     * @return Page
     */
    IPage queryPage(Integer pageNo, Integer pageSize, HttpServletRequest req);
 
    /**
     * 新增
     *
     * @param actReModel
     * @return 新增结果
     * @throws UnsupportedEncodingException
     */
    Model add(ReModelEntity actReModel) throws UnsupportedEncodingException;
 
    /**
     * 部署工作流模型
     *
     * @param id 模型标识
     * @return 部署信息
     */
    Result deploy(String id,HttpServletRequest request);
 
    /**
     * 导出XML
     *
     * @param id       流程模型标识
     * @param response 响应
     */
    void export(String id, HttpServletResponse response);
 
    /**
     * 根据主键删除
     *
     * @param id id
     */
    void delete(String id);
 
    /**
     * 根据主键批量删除
     *
     * @param ids ids
     */
    void deleteBatch(String[] ids);
}