ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
package jnpf.flowable.service;
 
import jnpf.base.entity.VisualdevEntity;
import jnpf.base.service.SuperService;
import jnpf.exception.WorkFlowException;
import jnpf.flowable.entity.TemplateJsonEntity;
import jnpf.flowable.model.templatejson.TemplateJsonInfoVO;
import jnpf.flowable.model.templatenode.TemplateNodeUpFrom;
 
import java.util.List;
 
public interface TemplateJsonService extends SuperService<TemplateJsonEntity> {
 
    /**
     * 列表
     *
     * @return
     */
    List<TemplateJsonEntity> getListByTemplateIds(List<String> id);
 
    /**
     * 列表
     *
     * @return
     */
    List<TemplateJsonEntity> getList(String templateId);
 
    /**
     * 获取启用的列表
     */
    List<TemplateJsonEntity> getListOfEnable();
 
    /**
     * 信息
     *
     * @param id 主键值
     * @return ignore
     */
    TemplateJsonEntity getInfo(String id) throws WorkFlowException;
 
    /**
     * 更新
     *
     * @param id     主键值
     * @param entity 实体对象
     * @return ignore
     */
    boolean update(String id, TemplateJsonEntity entity);
 
    /**
     * 流程保存或发布
     *
     * @param from 主键值
     * @return ignore
     */
    void save(TemplateNodeUpFrom from) throws WorkFlowException;
 
    /**
     * 新增
     *
     * @param from 对象
     * @return ignore
     */
    void create(TemplateNodeUpFrom from);
 
    /**
     * 删除
     *
     * @param id 实体对象
     */
    void delete(List<String> id);
 
    /**
     * 复制
     *
     * @param entity 实体对象
     */
    void copy(TemplateJsonEntity entity, String id);
 
    /**
     * 版本详情
     *
     * @param id 版本主键
     */
    TemplateJsonInfoVO getInfoVo(String id) throws WorkFlowException;
 
    /**
     * 获取表单
     *
     * @param id 版本主键
     */
    VisualdevEntity getFormInfo(String id) throws WorkFlowException;
}