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;
|
}
|
}
|