田源
2025-01-16 a13255b4129ee8a7a7b7e1ecd8e02dd2c78f7c17
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
package com.vci.starter.web.wrapper;
 
/**
 * 查询的参数
 * @author weidy
 * @date 2019/10/21 18:40
 */
public class VciQueryWrapperOption {
 
    /**
     * 构造方法,默认查询最后的版本和发布的版本数据
     */
    public VciQueryWrapperOption(){
        this.thisObjectQueryLastRevision = true;
        this.thisObjectQueryRelease = false;
    }
 
    /**
     * 构造方法,
     * @param queryLastRevision 是否查询最后的版本
     * @param queryRelease 是否查询发布的版本
     */
    public VciQueryWrapperOption(Boolean queryLastRevision,Boolean queryRelease){
        this.thisObjectQueryLastRevision = queryLastRevision;
        this.thisObjectQueryRelease = queryRelease;
    }
 
    /**
     *  构造方法
     * @param queryLastRevision 查询最后的版本
     * @param queryRelease 查询发布的版本
     * @param querySecret 查询密级
     * @param queryDataRight 查询数据权限
     */
    public VciQueryWrapperOption(Boolean queryLastRevision,Boolean queryRelease,Boolean querySecret,Boolean queryDataRight){
        this.thisObjectQueryLastRevision = queryLastRevision;
        this.thisObjectQueryRelease = queryRelease;
    }
 
    /**
     * 当前对象是否查询密级-由配置
     */
    private Boolean thisObjectQuerySecret = false;
 
    /**
     * 当前对象是否查询数据权限
     */
    private Boolean thisObjectQueryDataRight = false;
 
    /**
     * 当前对象是否查询版本
     */
    private Boolean thisObjectQueryRevision =false;
 
    /**
     * 当前对象是否查询生命周期
     */
    private Boolean thisObjectQueryLifeCycle =false;
 
    /**
     * 当前对象是否查询最后的版本
     */
    private Boolean thisObjectQueryLastRevision = true;
 
    /**
     * 当前对象是否查询发布的版本
     */
    private Boolean thisObjectQueryRelease = false ;
 
    public Boolean getThisObjectQuerySecret() {
        return thisObjectQuerySecret;
    }
 
    public void setThisObjectQuerySecret(Boolean thisObjectQuerySecret) {
        this.thisObjectQuerySecret = thisObjectQuerySecret;
    }
 
    public Boolean getThisObjectQueryDataRight() {
        return thisObjectQueryDataRight;
    }
 
    public void setThisObjectQueryDataRight(Boolean thisObjectQueryDataRight) {
        this.thisObjectQueryDataRight = thisObjectQueryDataRight;
    }
 
    public Boolean getThisObjectQueryRevision() {
        return thisObjectQueryRevision;
    }
 
    public void setThisObjectQueryRevision(Boolean thisObjectQueryRevision) {
        this.thisObjectQueryRevision = thisObjectQueryRevision;
    }
 
    public Boolean getThisObjectQueryLifeCycle() {
        return thisObjectQueryLifeCycle;
    }
 
    public void setThisObjectQueryLifeCycle(Boolean thisObjectQueryLifeCycle) {
        this.thisObjectQueryLifeCycle = thisObjectQueryLifeCycle;
    }
 
    public Boolean getThisObjectQueryLastRevision() {
        return thisObjectQueryLastRevision;
    }
 
    public void setThisObjectQueryLastRevision(Boolean thisObjectQueryLastRevision) {
        this.thisObjectQueryLastRevision = thisObjectQueryLastRevision;
    }
 
    public Boolean getThisObjectQueryRelease() {
        return thisObjectQueryRelease;
    }
 
    public void setThisObjectQueryRelease(Boolean thisObjectQueryRelease) {
        this.thisObjectQueryRelease = thisObjectQueryRelease;
    }
}