xiejun
2024-09-06 1615c6851b507867f9090f8cafcb1a32d1dad6bc
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
package com.vci.web.service;
 
import com.vci.corba.common.PLException;
import com.vci.corba.portal.data.PLUILayout;
import com.vci.dto.RoleRightDTO;
import com.vci.dto.UIAuthorDTO;
import com.vci.pagemodel.PLUILayoutCloneVO;
import com.vci.starter.web.exception.VciBaseException;
import com.vci.starter.web.pagemodel.BaseQueryObject;
import com.vci.starter.web.pagemodel.BaseResult;
import com.vci.starter.web.pagemodel.DataGrid;
import com.vci.starter.web.pagemodel.Tree;
 
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
 
/**
 * @author ludc
 * @date 2024/8/28 17:05
 */
public interface UIManagerServiceI {
 
    /**
     * 通过业务类型name查询ui上下文,支持分页
     * @param baseQueryObject
     * @return
     * @throws PLException
     */
    DataGrid gridUIContextData(BaseQueryObject baseQueryObject) throws PLException;
 
    /**
     * 给业务类型下添加ui上下文
     * @param pluiLayout
     * @return
     * @throws PLException
     */
    boolean saveUIContextData(PLUILayout pluiLayout) throws PLException;
 
    /**
     * 修改业务类型下添加ui上下文
     * @param pluiLayout
     * @return
     * @throws PLException
     */
    boolean updateUIContextData(PLUILayout pluiLayout) throws PLException;
 
    /**
     * 根据主键和业务类型oid删除ui上下文数据
     * @return
     */
    boolean delUIContextData(String[] oids) throws PLException;
 
    /**
     * 克隆ui上下文
     * @param pluiLayoutCloneVO
     * @return
     */
    boolean cloneUiContextData(PLUILayoutCloneVO pluiLayoutCloneVO) throws PLException;
 
    /**
     * 导出ui上下文(勾选的要导出的控制区的数据)
     * oids
     * @return
     */
    void expUiContextData(String[] oids, HttpServletResponse response) throws PLException, IOException;
 
    /**
     * 获取UI权限树
     * @param baseQueryObject
     * @return
     * @throws VciBaseException
     */
     List<Tree> getUIAuthor(BaseQueryObject baseQueryObject)throws Exception;
 
    /***
     * UI授权
     * @param uiAuthorDTO
     * @return
     * @throws Exception
     */
    public boolean authorizedUI(UIAuthorDTO uiAuthorDTO)throws Exception;
}