田源
2024-08-29 894a0ce49bab4add5dd9208539dbc03c1c85414b
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
94
95
96
package com.vci.web.service;
 
import com.vci.corba.common.PLException;
import com.vci.dto.*;
import com.vci.starter.web.pagemodel.BaseResult;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;
 
import javax.servlet.http.HttpServletResponse;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;
 
/**
 * Action管理的服务
 * @author yuxc
 * @date 2024-8-16
 */
public interface OsActionServiceI {
    /**
     * 保存Action分类信息
     * @param pLActionCls Action分类信息
     * @return 保存结果
     */
    BaseResult saveActionCls(PLActionClsDTO pLActionCls) throws PLException;
    /**
     * 修改Action分类信息
     * @param pLActionCls Action分类信息
     * @return 修改结果
     */
    BaseResult updateActionCls(PLActionClsDTO pLActionCls) throws PLException;
    /**
     * 获取Action分类树
     * isExp 是否用户导出 true是,false否
     * @return 查询结果
     */
    BaseResult getActionTree(boolean isExp) throws PLException;
    /**
     * 获取Action表格数据
     * dto 查询条件
     * @return 查询结果
     */
    BaseResult getActionTableData(PLActionQueryDTO dto) throws PLException;
    /**
     * 保存Action数据
     * dto action传输对象
     * @return 保存结果
     */
    BaseResult saveAction(PLActionDTO dto) throws PLException;
    /**
     * 修改Action数据
     * dto action传输对象
     * @return 修改结果
     */
    BaseResult updateAction(PLActionDTO dto) throws PLException;
    /**
     * 删除Action数据
     * dto action传输对象
     * @return 删除结果
     */
    BaseResult deleteAction(PLActionDTO dto) throws PLException;
    /**
     * 导出Action
     * @return
     */
    void exportBeans(List<String> actionOid, HttpServletResponse response) throws PLException, IOException;
    /**
     * 导入Action
     * @param file 上传的文件
     * @return
     */
    BaseResult impData(MultipartFile file) throws IOException, PLException;
    /**
     * 导出Action
     * @param plActionExpDTO 导出属性设置对象
     */
    void exportAction(PLActionExpDTO plActionExpDTO, HttpServletResponse response) throws PLException, IOException;
    /**
     * 保存Action参数数据
     * dto action传输对象
     * @return 保存结果
     */
    BaseResult savePLActionParam(PLActionParamDTO dto) throws PLException;
    /**
     * 修改Action参数数据
     * dto action传输对象
     * @return 保存结果
     */
    BaseResult updatePLActionParam(PLActionParamDTO dto) throws PLException;
    /**
     * 删除Action参数数据
     * oid 参数主键
     * @return 保存结果
     */
    BaseResult deletePLActionParam(String oid) throws PLException;
}