mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 16:30:29 +08:00
chore: 工作区反编译与 Maven/文档/脚本同步到发布分支
- artifacts/decompiled 树与相关源码变更 - maven-cw-elevator-application 业务 docs 与 package-info - scripts 下 formatter 校验与辅助脚本 - 其他子工程/接口与发布线一并纳入版本控制 Made-with: Cursor Former-commit-id: e102e8cab64e575bcd23c9a66a598aa1892bb492
This commit is contained in:
+12
-26
@@ -6,32 +6,18 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class ApiBaseParam {
|
||||
@NotEmpty(message = "53005108")
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApiBaseParam
|
||||
{
|
||||
@NotEmpty(message = "53005108")
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+13
-32
@@ -4,39 +4,20 @@ import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class ApiCacheParam implements Serializable {
|
||||
private static final long serialVersionUID = -4025341454018210772L;
|
||||
private List<Long> apiIds;
|
||||
|
||||
public void setApiId(Long apiId) {
|
||||
this.apiIds = new ArrayList<>(1);
|
||||
this.apiIds.add(apiId);
|
||||
}
|
||||
|
||||
public List<Long> getApiIds() {
|
||||
return this.apiIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApiCacheParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -4025341454018210772L;
|
||||
private List<Long> apiIds;
|
||||
|
||||
public void setApiId(Long apiId) {
|
||||
this.apiIds = new ArrayList<>(1);
|
||||
this.apiIds.add(apiId);
|
||||
public void setApiIds(List<Long> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public List<Long> getApiIds() {
|
||||
return this.apiIds;
|
||||
}
|
||||
|
||||
public void setApiIds(List<Long> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+10
-22
@@ -3,28 +3,16 @@ package cn.cloudwalk.client.resource.api.param;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class ApiEditParam extends ApiNewParam {
|
||||
@NotBlank(message = "53005107")
|
||||
@Size(max = 32, message = "53005106")
|
||||
private String id;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApiEditParam
|
||||
extends ApiNewParam
|
||||
{
|
||||
@NotBlank(message = "53005107")
|
||||
@Size(max = 32, message = "53005106")
|
||||
private String id;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+60
-98
@@ -4,116 +4,78 @@ import cn.cloudwalk.data.resource.common.validate.GroupOne;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class ApiNewParam {
|
||||
@NotBlank(message = "53005101")
|
||||
@Size(max = 32, message = "53005102")
|
||||
private String name;
|
||||
@NotBlank(message = "53005112")
|
||||
@Size(max = 255, message = "53005105")
|
||||
private String uri;
|
||||
@NotBlank(message = "53005099", groups = { GroupOne.class })
|
||||
@Size(max = 32, message = "53005100", groups = { GroupOne.class })
|
||||
private String serviceCode;
|
||||
@Size(max = 255, message = "53005114")
|
||||
private String remark;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getUri() {
|
||||
return this.uri;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setUri(String uri) {
|
||||
this.uri = uri;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApiNewParam
|
||||
{
|
||||
@NotBlank(message = "53005101")
|
||||
@Size(max = 32, message = "53005102")
|
||||
private String name;
|
||||
@NotBlank(message = "53005112")
|
||||
@Size(max = 255, message = "53005105")
|
||||
private String uri;
|
||||
@NotBlank(message = "53005099", groups = {GroupOne.class})
|
||||
@Size(max = 32, message = "53005100", groups = {GroupOne.class})
|
||||
private String serviceCode;
|
||||
@Size(max = 255, message = "53005114")
|
||||
private String remark;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getName() {
|
||||
/* 63 */ return this.name;
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
public String getUri() {
|
||||
/* 67 */ return this.uri;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
/* 71 */ return this.serviceCode;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
/* 75 */ return this.remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
/* 79 */ return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
/* 83 */ return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
/* 87 */ return this.ext3;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 91 */ this.name = name;
|
||||
}
|
||||
|
||||
public void setUri(String uri) {
|
||||
/* 95 */ this.uri = uri;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
/* 99 */ this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+58
-95
@@ -4,113 +4,76 @@ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class ApiQueryParam extends CloudwalkBasePageForm {
|
||||
private static final long serialVersionUID = 3339017132722030064L;
|
||||
@Size(max = 32, message = "53005100")
|
||||
private String serviceCode;
|
||||
@Size(max = 32, message = "53005102")
|
||||
private String name;
|
||||
@Size(max = 255, message = "53005105")
|
||||
private String uri;
|
||||
@Range(min = 1L, max = 2L, message = "53005110")
|
||||
private Short status;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getUri() {
|
||||
return this.uri;
|
||||
}
|
||||
|
||||
public void setUri(String uri) {
|
||||
this.uri = uri;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApiQueryParam
|
||||
extends CloudwalkBasePageForm
|
||||
{
|
||||
private static final long serialVersionUID = 3339017132722030064L;
|
||||
@Size(max = 32, message = "53005100")
|
||||
private String serviceCode;
|
||||
@Size(max = 32, message = "53005102")
|
||||
private String name;
|
||||
@Size(max = 255, message = "53005105")
|
||||
private String uri;
|
||||
@Range(min = 1L, max = 2L, message = "53005110")
|
||||
private Short status;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getServiceCode() {
|
||||
/* 60 */ return this.serviceCode;
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
/* 64 */ this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 68 */ return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 72 */ this.name = name;
|
||||
}
|
||||
|
||||
public String getUri() {
|
||||
/* 76 */ return this.uri;
|
||||
}
|
||||
|
||||
public void setUri(String uri) {
|
||||
/* 80 */ this.uri = uri;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
/* 84 */ return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
/* 88 */ this.status = status;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
/* 92 */ return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
/* 96 */ return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+212
-302
@@ -5,306 +5,216 @@ import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApiInfoResult
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -2726165795936880135L;
|
||||
private Long id;
|
||||
private String typeCode;
|
||||
private String channelType;
|
||||
private BigDecimal apiPrice;
|
||||
private String apiName;
|
||||
private String redirectUrl;
|
||||
private String apiDocUrl;
|
||||
private String apiDemoUrl;
|
||||
private Short paymentType;
|
||||
private String description;
|
||||
private String apiIcon;
|
||||
private Short applyType;
|
||||
private Integer giftsNum;
|
||||
private Short status;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date lastUpdateTime;
|
||||
private String requestPath;
|
||||
private Long createUserId;
|
||||
private Long lastUpdateUserId;
|
||||
private String serviceCode;
|
||||
|
||||
public Long getId() {
|
||||
return this.id;
|
||||
public class ApiInfoResult implements Serializable {
|
||||
private static final long serialVersionUID = -2726165795936880135L;
|
||||
private Long id;
|
||||
private String typeCode;
|
||||
private String channelType;
|
||||
private BigDecimal apiPrice;
|
||||
private String apiName;
|
||||
private String redirectUrl;
|
||||
private String apiDocUrl;
|
||||
private String apiDemoUrl;
|
||||
private Short paymentType;
|
||||
private String description;
|
||||
private String apiIcon;
|
||||
private Short applyType;
|
||||
private Integer giftsNum;
|
||||
private Short status;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date lastUpdateTime;
|
||||
private String requestPath;
|
||||
private Long createUserId;
|
||||
private Long lastUpdateUserId;
|
||||
private String serviceCode;
|
||||
|
||||
public Long getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getTypeCode() {
|
||||
return this.typeCode;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public String getChannelType() {
|
||||
return this.channelType;
|
||||
}
|
||||
|
||||
public void setChannelType(String channelType) {
|
||||
this.channelType = channelType;
|
||||
}
|
||||
|
||||
public BigDecimal getApiPrice() {
|
||||
return this.apiPrice;
|
||||
}
|
||||
|
||||
public void setApiPrice(BigDecimal apiPrice) {
|
||||
this.apiPrice = apiPrice;
|
||||
}
|
||||
|
||||
public String getApiName() {
|
||||
return this.apiName;
|
||||
}
|
||||
|
||||
public void setApiName(String apiName) {
|
||||
this.apiName = apiName;
|
||||
}
|
||||
|
||||
public String getRedirectUrl() {
|
||||
return this.redirectUrl;
|
||||
}
|
||||
|
||||
public void setRedirectUrl(String redirectUrl) {
|
||||
this.redirectUrl = redirectUrl;
|
||||
}
|
||||
|
||||
public String getApiDocUrl() {
|
||||
return this.apiDocUrl;
|
||||
}
|
||||
|
||||
public void setApiDocUrl(String apiDocUrl) {
|
||||
this.apiDocUrl = apiDocUrl;
|
||||
}
|
||||
|
||||
public String getApiDemoUrl() {
|
||||
return this.apiDemoUrl;
|
||||
}
|
||||
|
||||
public void setApiDemoUrl(String apiDemoUrl) {
|
||||
this.apiDemoUrl = apiDemoUrl;
|
||||
}
|
||||
|
||||
public Short getPaymentType() {
|
||||
return this.paymentType;
|
||||
}
|
||||
|
||||
public void setPaymentType(Short paymentType) {
|
||||
this.paymentType = paymentType;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getApiIcon() {
|
||||
return this.apiIcon;
|
||||
}
|
||||
|
||||
public void setApiIcon(String apiIcon) {
|
||||
this.apiIcon = apiIcon;
|
||||
}
|
||||
|
||||
public Short getApplyType() {
|
||||
return this.applyType;
|
||||
}
|
||||
|
||||
public void setApplyType(Short applyType) {
|
||||
this.applyType = applyType;
|
||||
}
|
||||
|
||||
public Integer getGiftsNum() {
|
||||
return this.giftsNum;
|
||||
}
|
||||
|
||||
public void setGiftsNum(Integer giftsNum) {
|
||||
this.giftsNum = giftsNum;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Date getLastUpdateTime() {
|
||||
return this.lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setLastUpdateTime(Date lastUpdateTime) {
|
||||
this.lastUpdateTime = lastUpdateTime;
|
||||
}
|
||||
|
||||
public String getRequestPath() {
|
||||
return this.requestPath;
|
||||
}
|
||||
|
||||
public void setRequestPath(String requestPath) {
|
||||
this.requestPath = requestPath;
|
||||
}
|
||||
|
||||
public Long getCreateUserId() {
|
||||
return this.createUserId;
|
||||
}
|
||||
|
||||
public void setCreateUserId(Long createUserId) {
|
||||
this.createUserId = createUserId;
|
||||
}
|
||||
|
||||
public Long getLastUpdateUserId() {
|
||||
return this.lastUpdateUserId;
|
||||
}
|
||||
|
||||
public void setLastUpdateUserId(Long lastUpdateUserId) {
|
||||
this.lastUpdateUserId = lastUpdateUserId;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int prime = 31;
|
||||
int result = 1;
|
||||
result = 31 * result + ((this.id == null) ? 0 : this.id.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (getClass() != obj.getClass()) {
|
||||
return false;
|
||||
}
|
||||
ApiInfoResult other = (ApiInfoResult) obj;
|
||||
if (this.id == null) {
|
||||
if (other.id != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!this.id.equals(other.id)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getTypeCode() {
|
||||
return this.typeCode;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public String getChannelType() {
|
||||
return this.channelType;
|
||||
}
|
||||
|
||||
public void setChannelType(String channelType) {
|
||||
this.channelType = channelType;
|
||||
}
|
||||
|
||||
public BigDecimal getApiPrice() {
|
||||
return this.apiPrice;
|
||||
}
|
||||
|
||||
public void setApiPrice(BigDecimal apiPrice) {
|
||||
this.apiPrice = apiPrice;
|
||||
}
|
||||
|
||||
public String getApiName() {
|
||||
return this.apiName;
|
||||
}
|
||||
|
||||
public void setApiName(String apiName) {
|
||||
this.apiName = apiName;
|
||||
}
|
||||
|
||||
public String getRedirectUrl() {
|
||||
return this.redirectUrl;
|
||||
}
|
||||
|
||||
public void setRedirectUrl(String redirectUrl) {
|
||||
this.redirectUrl = redirectUrl;
|
||||
}
|
||||
|
||||
public String getApiDocUrl() {
|
||||
return this.apiDocUrl;
|
||||
}
|
||||
|
||||
public void setApiDocUrl(String apiDocUrl) {
|
||||
this.apiDocUrl = apiDocUrl;
|
||||
}
|
||||
|
||||
public String getApiDemoUrl() {
|
||||
return this.apiDemoUrl;
|
||||
}
|
||||
|
||||
public void setApiDemoUrl(String apiDemoUrl) {
|
||||
this.apiDemoUrl = apiDemoUrl;
|
||||
}
|
||||
|
||||
public Short getPaymentType() {
|
||||
return this.paymentType;
|
||||
}
|
||||
|
||||
public void setPaymentType(Short paymentType) {
|
||||
this.paymentType = paymentType;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getApiIcon() {
|
||||
return this.apiIcon;
|
||||
}
|
||||
|
||||
public void setApiIcon(String apiIcon) {
|
||||
this.apiIcon = apiIcon;
|
||||
}
|
||||
|
||||
public Short getApplyType() {
|
||||
return this.applyType;
|
||||
}
|
||||
|
||||
public void setApplyType(Short applyType) {
|
||||
this.applyType = applyType;
|
||||
}
|
||||
|
||||
public Integer getGiftsNum() {
|
||||
return this.giftsNum;
|
||||
}
|
||||
|
||||
public void setGiftsNum(Integer giftsNum) {
|
||||
this.giftsNum = giftsNum;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Date getLastUpdateTime() {
|
||||
return this.lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setLastUpdateTime(Date lastUpdateTime) {
|
||||
this.lastUpdateTime = lastUpdateTime;
|
||||
}
|
||||
|
||||
public String getRequestPath() {
|
||||
return this.requestPath;
|
||||
}
|
||||
|
||||
public void setRequestPath(String requestPath) {
|
||||
this.requestPath = requestPath;
|
||||
}
|
||||
|
||||
public Long getCreateUserId() {
|
||||
return this.createUserId;
|
||||
}
|
||||
|
||||
public void setCreateUserId(Long createUserId) {
|
||||
this.createUserId = createUserId;
|
||||
}
|
||||
|
||||
public Long getLastUpdateUserId() {
|
||||
return this.lastUpdateUserId;
|
||||
}
|
||||
|
||||
public void setLastUpdateUserId(Long lastUpdateUserId) {
|
||||
this.lastUpdateUserId = lastUpdateUserId;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
|
||||
public int hashCode() {
|
||||
int prime = 31;
|
||||
int result = 1;
|
||||
result = 31 * result + ((this.id == null) ? 0 : this.id.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (getClass() != obj.getClass()) {
|
||||
return false;
|
||||
}
|
||||
ApiInfoResult other = (ApiInfoResult)obj;
|
||||
if (this.id == null) {
|
||||
if (other.id != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!this.id.equals(other.id)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+98
-148
@@ -2,174 +2,124 @@ package cn.cloudwalk.client.resource.api.result;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
|
||||
public class ApiResult extends CloudwalkBaseTimes {
|
||||
private static final long serialVersionUID = 5668542284974182395L;
|
||||
private String id;
|
||||
private String serviceCode;
|
||||
private String name;
|
||||
private Short type;
|
||||
private String uri;
|
||||
private Short status;
|
||||
private String remark;
|
||||
private String ext1;
|
||||
private String ext2;
|
||||
private String ext3;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public Short getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public String getUri() {
|
||||
return this.uri;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setType(Short type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public void setUri(String uri) {
|
||||
this.uri = uri;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int prime = 31;
|
||||
int result = 1;
|
||||
result = 31 * result + ((this.id == null) ? 0 : this.id.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApiResult
|
||||
extends CloudwalkBaseTimes
|
||||
{
|
||||
private static final long serialVersionUID = 5668542284974182395L;
|
||||
private String id;
|
||||
private String serviceCode;
|
||||
private String name;
|
||||
private Short type;
|
||||
private String uri;
|
||||
private Short status;
|
||||
private String remark;
|
||||
private String ext1;
|
||||
private String ext2;
|
||||
private String ext3;
|
||||
|
||||
public String getId() {
|
||||
/* 64 */ return this.id;
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (getClass() != obj.getClass()) {
|
||||
return false;
|
||||
}
|
||||
ApiResult other = (ApiResult) obj;
|
||||
if (this.id == null) {
|
||||
if (other.id != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!this.id.equals(other.id)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void setId(String id) {
|
||||
/* 69 */ this.id = id;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
/* 73 */ return this.serviceCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 77 */ return this.name;
|
||||
}
|
||||
|
||||
public Short getType() {
|
||||
/* 81 */ return this.type;
|
||||
}
|
||||
|
||||
public String getUri() {
|
||||
/* 85 */ return this.uri;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
/* 89 */ return this.status;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
/* 93 */ return this.remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
/* 97 */ return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setType(Short type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public void setUri(String uri) {
|
||||
this.uri = uri;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
|
||||
|
||||
public int hashCode() {
|
||||
int prime = 31;
|
||||
int result = 1;
|
||||
result = 31 * result + ((this.id == null) ? 0 : this.id.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (getClass() != obj.getClass()) {
|
||||
return false;
|
||||
}
|
||||
ApiResult other = (ApiResult)obj;
|
||||
if (this.id == null) {
|
||||
if (other.id != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!this.id.equals(other.id)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+28
-21
@@ -13,25 +13,32 @@ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface ApiService {
|
||||
CloudwalkResult<ApiResult> add(ApiNewParam paramApiNewParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> edit(ApiEditParam paramApiEditParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(ApiBaseParam paramApiBaseParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<ApiResult>> gets(ApiBaseParam paramApiBaseParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enable(ApiBaseParam paramApiBaseParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> disable(ApiBaseParam paramApiBaseParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<ApiResult>> query(ApiQueryParam paramApiQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<ApiResult>> page(ApiQueryParam paramApiQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
List<ApiResult> queryByRoleIdsAndResourceIds(UserApiQueryParam paramUserApiQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
List<ApiResult> queryByUserIdWithApplication(UserApiQueryParam paramUserApiQueryParam) throws ServiceException;
|
||||
CloudwalkResult<ApiResult> add(ApiNewParam paramApiNewParam, CloudwalkCallContext paramCloudwalkCallContext)
|
||||
throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> edit(ApiEditParam paramApiEditParam, CloudwalkCallContext paramCloudwalkCallContext)
|
||||
throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(ApiBaseParam paramApiBaseParam, CloudwalkCallContext paramCloudwalkCallContext)
|
||||
throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<ApiResult>> gets(ApiBaseParam paramApiBaseParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enable(ApiBaseParam paramApiBaseParam, CloudwalkCallContext paramCloudwalkCallContext)
|
||||
throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> disable(ApiBaseParam paramApiBaseParam, CloudwalkCallContext paramCloudwalkCallContext)
|
||||
throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<ApiResult>> query(ApiQueryParam paramApiQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<ApiResult>> page(ApiQueryParam paramApiQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
List<ApiResult> queryByRoleIdsAndResourceIds(UserApiQueryParam paramUserApiQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
List<ApiResult> queryByUserIdWithApplication(UserApiQueryParam paramUserApiQueryParam) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+19
-35
@@ -5,43 +5,27 @@ import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class AppApiQueryParam implements Serializable {
|
||||
private static final long serialVersionUID = -2516700108486239336L;
|
||||
@NotBlank(message = "服务编码不能为空")
|
||||
@Size(max = 32, message = "服务编码长度最大为32位")
|
||||
private String serviceCode;
|
||||
@Range(min = 0L, max = 1L, message = "API状态只能是0或者1")
|
||||
private Short status;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AppApiQueryParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -2516700108486239336L;
|
||||
@NotBlank(message = "服务编码不能为空")
|
||||
@Size(max = 32, message = "服务编码长度最大为32位")
|
||||
private String serviceCode;
|
||||
@Range(min = 0L, max = 1L, message = "API状态只能是0或者1")
|
||||
private Short status;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+19
-39
@@ -5,47 +5,27 @@ import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class AppResQueryParam implements Serializable {
|
||||
private static final long serialVersionUID = -2516700108486239336L;
|
||||
@NotBlank(message = "服务编码不能为空")
|
||||
@Size(max = 32, message = "服务编码长度最大为32位")
|
||||
private String serviceCode;
|
||||
@Range(min = 0L, max = 1L, message = "资源状态只能是0或者1")
|
||||
private Short status;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AppResQueryParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -2516700108486239336L;
|
||||
@NotBlank(message = "服务编码不能为空")
|
||||
@Size(max = 32, message = "服务编码长度最大为32位")
|
||||
private String serviceCode;
|
||||
@Range(min = 0L, max = 1L, message = "资源状态只能是0或者1")
|
||||
private Short status;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+51
-85
@@ -3,101 +3,67 @@ package cn.cloudwalk.client.resource.application.param;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class ApplicationAddParam {
|
||||
@NotBlank(message = "53011205")
|
||||
@Length(max = 32, message = "53011102")
|
||||
private String serviceCode;
|
||||
@NotBlank(message = "53011100")
|
||||
@Length(max = 60, message = "53011101")
|
||||
private String name;
|
||||
@Length(max = 255, message = "53011103")
|
||||
private String remark;
|
||||
@Length(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Length(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Length(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApplicationAddParam
|
||||
{
|
||||
@NotBlank(message = "53011205")
|
||||
@Length(max = 32, message = "53011102")
|
||||
private String serviceCode;
|
||||
@NotBlank(message = "53011100")
|
||||
@Length(max = 60, message = "53011101")
|
||||
private String name;
|
||||
@Length(max = 255, message = "53011103")
|
||||
private String remark;
|
||||
@Length(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Length(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Length(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+21
-41
@@ -8,49 +8,29 @@ import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class ApplicationApiBasicParam implements Serializable {
|
||||
private static final long serialVersionUID = -7081841091211054306L;
|
||||
@NotBlank(message = "53011106")
|
||||
@Length(max = 32, message = "53011110")
|
||||
private String applicationId;
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> apiIds;
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public List<String> getApiIds() {
|
||||
return this.apiIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApplicationApiBasicParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -7081841091211054306L;
|
||||
@NotBlank(message = "53011106")
|
||||
@Length(max = 32, message = "53011110")
|
||||
private String applicationId;
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> apiIds;
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
public void setApiIds(List<String> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public List<String> getApiIds() {
|
||||
return this.apiIds;
|
||||
}
|
||||
|
||||
public void setApiIds(List<String> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+13
-31
@@ -6,37 +6,19 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class ApplicationApiDeltParam extends ApplicationApiBasicParam {
|
||||
private static final long serialVersionUID = -5097921675552796047L;
|
||||
@NotEmpty(message = "53005108")
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> apiIds;
|
||||
|
||||
public List<String> getApiIds() {
|
||||
return this.apiIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApplicationApiDeltParam
|
||||
extends ApplicationApiBasicParam
|
||||
{
|
||||
private static final long serialVersionUID = -5097921675552796047L;
|
||||
@NotEmpty(message = "53005108")
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> apiIds;
|
||||
|
||||
public List<String> getApiIds() {
|
||||
return this.apiIds;
|
||||
public void setApiIds(List<String> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void setApiIds(List<String> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+13
-31
@@ -6,37 +6,19 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class ApplicationApiNewParam extends ApplicationApiBasicParam {
|
||||
private static final long serialVersionUID = -5097921675552796047L;
|
||||
@NotEmpty(message = "53005108")
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> apiIds;
|
||||
|
||||
public List<String> getApiIds() {
|
||||
return this.apiIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApplicationApiNewParam
|
||||
extends ApplicationApiBasicParam
|
||||
{
|
||||
private static final long serialVersionUID = -5097921675552796047L;
|
||||
@NotEmpty(message = "53005108")
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> apiIds;
|
||||
|
||||
public List<String> getApiIds() {
|
||||
return this.apiIds;
|
||||
public void setApiIds(List<String> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void setApiIds(List<String> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
package cn.cloudwalk.client.resource.application.param;
|
||||
|
||||
public class ApplicationApiQueryParam extends ApplicationApiBasicParam {
|
||||
private static final long serialVersionUID = -5097921675552796047L;
|
||||
private static final long serialVersionUID = -5097921675552796047L;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+12
-27
@@ -6,33 +6,18 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class ApplicationBasicParam {
|
||||
@NotEmpty(message = "53011107")
|
||||
@Size(max = 999, message = "53011108")
|
||||
@ListItemNotBlank(message = "53011106")
|
||||
@ListItemLength(max = 32, message = "53011110")
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApplicationBasicParam
|
||||
{
|
||||
@NotEmpty(message = "53011107")
|
||||
@Size(max = 999, message = "53011108")
|
||||
@ListItemNotBlank(message = "53011106")
|
||||
@ListItemLength(max = 32, message = "53011110")
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+51
-88
@@ -3,104 +3,67 @@ package cn.cloudwalk.client.resource.application.param;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class ApplicationEditParam {
|
||||
@NotBlank(message = "53011106")
|
||||
@Length(max = 32, message = "53011110")
|
||||
private String id;
|
||||
@NotBlank(message = "53011100")
|
||||
@Length(max = 60, message = "53011101")
|
||||
private String name;
|
||||
@Length(max = 255, message = "53011103")
|
||||
private String remark;
|
||||
@Length(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Length(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Length(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApplicationEditParam
|
||||
{
|
||||
@NotBlank(message = "53011106")
|
||||
@Length(max = 32, message = "53011110")
|
||||
private String id;
|
||||
@NotBlank(message = "53011100")
|
||||
@Length(max = 60, message = "53011101")
|
||||
private String name;
|
||||
@Length(max = 255, message = "53011103")
|
||||
private String remark;
|
||||
@Length(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Length(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Length(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getId() {
|
||||
/* 58 */ return this.id;
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
/* 62 */ this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 66 */ return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 70 */ this.name = name;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
/* 74 */ return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
/* 78 */ this.remark = remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
/* 82 */ return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
/* 86 */ this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
/* 90 */ return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
/* 94 */ this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
/* 98 */ return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+68
-112
@@ -8,132 +8,88 @@ import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class ApplicationPageParam extends CloudwalkBasePageForm {
|
||||
private static final long serialVersionUID = -3204756928454175300L;
|
||||
@Length(max = 32, message = "53011102")
|
||||
private String serviceCode;
|
||||
@Length(max = 60, message = "53011101")
|
||||
private String name;
|
||||
@Length(max = 32, message = "53011105")
|
||||
private String businessId;
|
||||
@Range(min = 1L, max = 2L, message = "53011109")
|
||||
private Short status;
|
||||
@Length(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Length(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Length(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
@Size(max = 999, message = "53011204")
|
||||
@ListItemNotBlank(message = "53011205")
|
||||
@ListItemLength(max = 32, message = "53011102")
|
||||
private List<String> serviceCodes;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
|
||||
public List<String> getServiceCodes() {
|
||||
return this.serviceCodes;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApplicationPageParam
|
||||
extends CloudwalkBasePageForm
|
||||
{
|
||||
private static final long serialVersionUID = -3204756928454175300L;
|
||||
@Length(max = 32, message = "53011102")
|
||||
private String serviceCode;
|
||||
@Length(max = 60, message = "53011101")
|
||||
private String name;
|
||||
@Length(max = 32, message = "53011105")
|
||||
private String businessId;
|
||||
@Range(min = 1L, max = 2L, message = "53011109")
|
||||
private Short status;
|
||||
@Length(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Length(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Length(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
@Size(max = 999, message = "53011204")
|
||||
@ListItemNotBlank(message = "53011205")
|
||||
@ListItemLength(max = 32, message = "53011102")
|
||||
private List<String> serviceCodes;
|
||||
|
||||
public String getServiceCode() {
|
||||
/* 75 */ return this.serviceCode;
|
||||
public void setServiceCodes(List<String> serviceCodes) {
|
||||
this.serviceCodes = serviceCodes;
|
||||
}
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
/* 79 */ this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 83 */ return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 87 */ this.name = name;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
/* 91 */ return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
/* 95 */ this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
/* 99 */ return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
|
||||
public List<String> getServiceCodes() {
|
||||
return this.serviceCodes;
|
||||
}
|
||||
|
||||
public void setServiceCodes(List<String> serviceCodes) {
|
||||
this.serviceCodes = serviceCodes;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+66
-111
@@ -6,131 +6,86 @@ import java.util.List;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class ApplicationQueryParam extends CloudwalkBasePageForm {
|
||||
private static final long serialVersionUID = 3975482764789316054L;
|
||||
@Length(max = 32, message = "53011102")
|
||||
private String serviceCode;
|
||||
@Length(max = 60, message = "53011101")
|
||||
private String name;
|
||||
@Length(max = 32, message = "53011105")
|
||||
private String businessId;
|
||||
@Range(min = 1L, max = 2L, message = "53011109")
|
||||
private Short status;
|
||||
@Length(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Length(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Length(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
@ListItemLength(max = 32, message = "53011105")
|
||||
private List<String> businessIds;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
|
||||
public List<String> getBusinessIds() {
|
||||
return this.businessIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApplicationQueryParam
|
||||
extends CloudwalkBasePageForm
|
||||
{
|
||||
private static final long serialVersionUID = 3975482764789316054L;
|
||||
@Length(max = 32, message = "53011102")
|
||||
private String serviceCode;
|
||||
@Length(max = 60, message = "53011101")
|
||||
private String name;
|
||||
@Length(max = 32, message = "53011105")
|
||||
private String businessId;
|
||||
@Range(min = 1L, max = 2L, message = "53011109")
|
||||
private Short status;
|
||||
@Length(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Length(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Length(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
@ListItemLength(max = 32, message = "53011105")
|
||||
private List<String> businessIds;
|
||||
|
||||
public String getServiceCode() {
|
||||
/* 72 */ return this.serviceCode;
|
||||
public void setBusinessIds(List<String> businessIds) {
|
||||
this.businessIds = businessIds;
|
||||
}
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
/* 76 */ this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 80 */ return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 84 */ this.name = name;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
/* 88 */ return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
/* 92 */ this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
/* 96 */ return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
|
||||
public List<String> getBusinessIds() {
|
||||
return this.businessIds;
|
||||
}
|
||||
|
||||
public void setBusinessIds(List<String> businessIds) {
|
||||
this.businessIds = businessIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+16
-32
@@ -2,40 +2,24 @@ package cn.cloudwalk.client.resource.application.result;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
|
||||
public class ApplicationApiResult extends CloudwalkBaseTimes {
|
||||
private static final long serialVersionUID = -6460132362611584267L;
|
||||
private String applicationId;
|
||||
private String apiId;
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public String getApiId() {
|
||||
return this.apiId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApplicationApiResult
|
||||
extends CloudwalkBaseTimes
|
||||
{
|
||||
private static final long serialVersionUID = -6460132362611584267L;
|
||||
private String applicationId;
|
||||
private String apiId;
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
public void setApiId(String apiId) {
|
||||
this.apiId = apiId;
|
||||
}
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public String getApiId() {
|
||||
return this.apiId;
|
||||
}
|
||||
|
||||
public void setApiId(String apiId) {
|
||||
this.apiId = apiId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+92
-143
@@ -1,172 +1,121 @@
|
||||
package cn.cloudwalk.client.resource.application.result;
|
||||
|
||||
public class ApplicationResult {
|
||||
private String id;
|
||||
private String businessId;
|
||||
private String serviceCode;
|
||||
private String name;
|
||||
private Short status;
|
||||
private String remark;
|
||||
private Long createTime;
|
||||
private String createUserId;
|
||||
private Long lastUpdateTime;
|
||||
private String lastUpdateUserId;
|
||||
private String ext1;
|
||||
private String ext2;
|
||||
private String ext3;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getCreateUserId() {
|
||||
return this.createUserId;
|
||||
}
|
||||
|
||||
public void setCreateUserId(String createUserId) {
|
||||
this.createUserId = createUserId;
|
||||
}
|
||||
|
||||
public Long getLastUpdateTime() {
|
||||
return this.lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setLastUpdateTime(Long lastUpdateTime) {
|
||||
this.lastUpdateTime = lastUpdateTime;
|
||||
}
|
||||
|
||||
public String getLastUpdateUserId() {
|
||||
return this.lastUpdateUserId;
|
||||
}
|
||||
|
||||
public void setLastUpdateUserId(String lastUpdateUserId) {
|
||||
this.lastUpdateUserId = lastUpdateUserId;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ApplicationResult
|
||||
{
|
||||
private String id;
|
||||
private String businessId;
|
||||
private String serviceCode;
|
||||
private String name;
|
||||
private Short status;
|
||||
private String remark;
|
||||
private Long createTime;
|
||||
private String createUserId;
|
||||
private Long lastUpdateTime;
|
||||
private String lastUpdateUserId;
|
||||
private String ext1;
|
||||
private String ext2;
|
||||
private String ext3;
|
||||
|
||||
public String getId() {
|
||||
/* 68 */ return this.id;
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
/* 72 */ this.id = id;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
/* 76 */ return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
/* 80 */ this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
/* 84 */ return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
/* 88 */ this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 92 */ return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 96 */ this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getCreateUserId() {
|
||||
return this.createUserId;
|
||||
}
|
||||
|
||||
public void setCreateUserId(String createUserId) {
|
||||
this.createUserId = createUserId;
|
||||
}
|
||||
|
||||
public Long getLastUpdateTime() {
|
||||
return this.lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setLastUpdateTime(Long lastUpdateTime) {
|
||||
this.lastUpdateTime = lastUpdateTime;
|
||||
}
|
||||
|
||||
public String getLastUpdateUserId() {
|
||||
return this.lastUpdateUserId;
|
||||
}
|
||||
|
||||
public void setLastUpdateUserId(String lastUpdateUserId) {
|
||||
this.lastUpdateUserId = lastUpdateUserId;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+57
-94
@@ -1,113 +1,76 @@
|
||||
package cn.cloudwalk.client.resource.application.result;
|
||||
|
||||
public class BusinessResult {
|
||||
private String id;
|
||||
private String name;
|
||||
private String corpCode;
|
||||
private String remark;
|
||||
private Integer status;
|
||||
private String ext1;
|
||||
private String ext2;
|
||||
private String ext3;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getCorpCode() {
|
||||
return this.corpCode;
|
||||
}
|
||||
|
||||
public void setCorpCode(String corpCode) {
|
||||
this.corpCode = corpCode;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class BusinessResult
|
||||
{
|
||||
private String id;
|
||||
private String name;
|
||||
private String corpCode;
|
||||
private String remark;
|
||||
private Integer status;
|
||||
private String ext1;
|
||||
private String ext2;
|
||||
private String ext3;
|
||||
|
||||
public String getId() {
|
||||
/* 49 */ return this.id;
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
/* 53 */ this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 57 */ return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 61 */ this.name = name;
|
||||
}
|
||||
|
||||
public String getCorpCode() {
|
||||
/* 65 */ return this.corpCode;
|
||||
}
|
||||
|
||||
public void setCorpCode(String corpCode) {
|
||||
/* 69 */ this.corpCode = corpCode;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
/* 73 */ return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
/* 77 */ this.remark = remark;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
/* 81 */ return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
/* 85 */ this.status = status;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
/* 89 */ return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
/* 93 */ this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
/* 97 */ return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+2
-3
@@ -8,7 +8,6 @@ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface AppApiService {
|
||||
CloudwalkResult<List<ApiInfoResult>> query(AppApiQueryParam paramAppApiQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
CloudwalkResult<List<ApiInfoResult>> query(AppApiQueryParam paramAppApiQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-3
@@ -6,7 +6,5 @@ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface AppBusinessService {
|
||||
CloudwalkResult<List<BusinessResult>> getBusinessByApp(List<String> paramList) throws ServiceException;
|
||||
CloudwalkResult<List<BusinessResult>> getBusinessByApp(List<String> paramList) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+2
-3
@@ -8,7 +8,6 @@ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface AppResService {
|
||||
CloudwalkResult<List<ResourceInfoResult>> query(AppResQueryParam paramAppResQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
CloudwalkResult<List<ResourceInfoResult>> query(AppResQueryParam paramAppResQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+12
-11
@@ -10,15 +10,16 @@ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface ApplicationApiService {
|
||||
CloudwalkResult<Boolean> add(ApplicationApiNewParam paramApplicationApiNewParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(ApplicationApiDeltParam paramApplicationApiDeltParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<ApplicationApiResult>> query(ApplicationApiQueryParam paramApplicationApiQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
void deleteByApiIds(List<String> paramList) throws ServiceException;
|
||||
|
||||
void deleteByApplicationIds(List<String> paramList) throws ServiceException;
|
||||
CloudwalkResult<Boolean> add(ApplicationApiNewParam paramApplicationApiNewParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(ApplicationApiDeltParam paramApplicationApiDeltParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<ApplicationApiResult>> query(ApplicationApiQueryParam paramApplicationApiQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
void deleteByApiIds(List<String> paramList) throws ServiceException;
|
||||
|
||||
void deleteByApplicationIds(List<String> paramList) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+24
-19
@@ -13,23 +13,28 @@ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface ApplicationService {
|
||||
CloudwalkResult<ApplicationResult> add(ApplicationAddParam paramApplicationAddParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> edit(ApplicationEditParam paramApplicationEditParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<ApplicationResult>> query(ApplicationQueryParam paramApplicationQueryParam) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<ApplicationResult>> page(ApplicationPageParam paramApplicationPageParam) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<ApplicationResult>> gets(ApplicationBasicParam paramApplicationBasicParam) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(ApplicationBasicParam paramApplicationBasicParam) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enable(ApplicationBasicParam paramApplicationBasicParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> disable(ApplicationBasicParam paramApplicationBasicParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
void checkApplicationAuth(String paramString1, String paramString2) throws ServiceException;
|
||||
CloudwalkResult<ApplicationResult> add(ApplicationAddParam paramApplicationAddParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> edit(ApplicationEditParam paramApplicationEditParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<ApplicationResult>> query(ApplicationQueryParam paramApplicationQueryParam)
|
||||
throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<ApplicationResult>> page(ApplicationPageParam paramApplicationPageParam)
|
||||
throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<ApplicationResult>> gets(ApplicationBasicParam paramApplicationBasicParam)
|
||||
throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(ApplicationBasicParam paramApplicationBasicParam) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enable(ApplicationBasicParam paramApplicationBasicParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> disable(ApplicationBasicParam paramApplicationBasicParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
void checkApplicationAuth(String paramString1, String paramString2) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+21
-44
@@ -7,52 +7,29 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class AuthApiBasicParam implements Serializable {
|
||||
private static final long serialVersionUID = -7081841091211054306L;
|
||||
@NotBlank(message = "53007013")
|
||||
@Size(max = 32, message = "53007014")
|
||||
private String authorizationId;
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> apiIds;
|
||||
|
||||
public String getAuthorizationId() {
|
||||
return this.authorizationId;
|
||||
}
|
||||
|
||||
public void setAuthorizationId(String authorizationId) {
|
||||
this.authorizationId = authorizationId;
|
||||
}
|
||||
|
||||
public List<String> getApiIds() {
|
||||
return this.apiIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AuthApiBasicParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -7081841091211054306L;
|
||||
@NotBlank(message = "53007013")
|
||||
@Size(max = 32, message = "53007014")
|
||||
private String authorizationId;
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> apiIds;
|
||||
|
||||
public String getAuthorizationId() {
|
||||
return this.authorizationId;
|
||||
public void setApiIds(List<String> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
public void setAuthorizationId(String authorizationId) {
|
||||
this.authorizationId = authorizationId;
|
||||
}
|
||||
|
||||
public List<String> getApiIds() {
|
||||
return this.apiIds;
|
||||
}
|
||||
|
||||
public void setApiIds(List<String> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+13
-34
@@ -6,40 +6,19 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class AuthApiDeltParam extends AuthApiBasicParam {
|
||||
private static final long serialVersionUID = -3901765687856710259L;
|
||||
@NotEmpty(message = "53005108")
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> apiIds;
|
||||
|
||||
public List<String> getApiIds() {
|
||||
return this.apiIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AuthApiDeltParam
|
||||
extends AuthApiBasicParam
|
||||
{
|
||||
private static final long serialVersionUID = -3901765687856710259L;
|
||||
@NotEmpty(message = "53005108")
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> apiIds;
|
||||
|
||||
public List<String> getApiIds() {
|
||||
return this.apiIds;
|
||||
public void setApiIds(List<String> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void setApiIds(List<String> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+13
-34
@@ -6,40 +6,19 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class AuthApiNewParam extends AuthApiBasicParam {
|
||||
private static final long serialVersionUID = -5097921675552796047L;
|
||||
@NotEmpty(message = "53005108")
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> apiIds;
|
||||
|
||||
public List<String> getApiIds() {
|
||||
return this.apiIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AuthApiNewParam
|
||||
extends AuthApiBasicParam
|
||||
{
|
||||
private static final long serialVersionUID = -5097921675552796047L;
|
||||
@NotEmpty(message = "53005108")
|
||||
@Size(max = 999, message = "53005109")
|
||||
@ListItemNotBlank(message = "53005107")
|
||||
@ListItemLength(max = 32, message = "53005106")
|
||||
private List<String> apiIds;
|
||||
|
||||
public List<String> getApiIds() {
|
||||
return this.apiIds;
|
||||
public void setApiIds(List<String> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void setApiIds(List<String> apiIds) {
|
||||
this.apiIds = apiIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
package cn.cloudwalk.client.resource.authorization.param;
|
||||
|
||||
public class AuthApiQueryParam extends AuthApiBasicParam {
|
||||
private static final long serialVersionUID = -4499110876782285172L;
|
||||
private static final long serialVersionUID = -4499110876782285172L;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+21
-44
@@ -7,52 +7,29 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class AuthResourceBasicParam implements Serializable {
|
||||
private static final long serialVersionUID = -7081841091211054306L;
|
||||
@NotBlank(message = "53007013")
|
||||
@Size(max = 32, message = "53007014")
|
||||
private String authorizationId;
|
||||
@Size(max = 999, message = "53006023")
|
||||
@ListItemNotBlank(message = "53006018")
|
||||
@ListItemLength(max = 32, message = "53006019")
|
||||
private List<String> resourceIds;
|
||||
|
||||
public String getAuthorizationId() {
|
||||
return this.authorizationId;
|
||||
}
|
||||
|
||||
public List<String> getResourceIds() {
|
||||
return this.resourceIds;
|
||||
}
|
||||
|
||||
public void setAuthorizationId(String authorizationId) {
|
||||
this.authorizationId = authorizationId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AuthResourceBasicParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -7081841091211054306L;
|
||||
@NotBlank(message = "53007013")
|
||||
@Size(max = 32, message = "53007014")
|
||||
private String authorizationId;
|
||||
@Size(max = 999, message = "53006023")
|
||||
@ListItemNotBlank(message = "53006018")
|
||||
@ListItemLength(max = 32, message = "53006019")
|
||||
private List<String> resourceIds;
|
||||
|
||||
public String getAuthorizationId() {
|
||||
return this.authorizationId;
|
||||
public void setResourceIds(List<String> resourceIds) {
|
||||
this.resourceIds = resourceIds;
|
||||
}
|
||||
}
|
||||
|
||||
public List<String> getResourceIds() {
|
||||
return this.resourceIds;
|
||||
}
|
||||
|
||||
public void setAuthorizationId(String authorizationId) {
|
||||
this.authorizationId = authorizationId;
|
||||
}
|
||||
|
||||
public void setResourceIds(List<String> resourceIds) {
|
||||
this.resourceIds = resourceIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+13
-34
@@ -6,40 +6,19 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class AuthResourceDeltParam extends AuthResourceBasicParam {
|
||||
private static final long serialVersionUID = -3901765687856710259L;
|
||||
@NotEmpty(message = "53006022")
|
||||
@Size(max = 999, message = "53006023")
|
||||
@ListItemNotBlank(message = "53006018")
|
||||
@ListItemLength(max = 32, message = "53006019")
|
||||
private List<String> resourceIds;
|
||||
|
||||
public List<String> getResourceIds() {
|
||||
return this.resourceIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AuthResourceDeltParam
|
||||
extends AuthResourceBasicParam
|
||||
{
|
||||
private static final long serialVersionUID = -3901765687856710259L;
|
||||
@NotEmpty(message = "53006022")
|
||||
@Size(max = 999, message = "53006023")
|
||||
@ListItemNotBlank(message = "53006018")
|
||||
@ListItemLength(max = 32, message = "53006019")
|
||||
private List<String> resourceIds;
|
||||
|
||||
public List<String> getResourceIds() {
|
||||
return this.resourceIds;
|
||||
public void setResourceIds(List<String> resourceIds) {
|
||||
this.resourceIds = resourceIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void setResourceIds(List<String> resourceIds) {
|
||||
this.resourceIds = resourceIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+13
-34
@@ -6,40 +6,19 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class AuthResourceNewParam extends AuthResourceBasicParam {
|
||||
private static final long serialVersionUID = -5097921675552796047L;
|
||||
@NotEmpty(message = "53006022")
|
||||
@Size(max = 999, message = "53006023")
|
||||
@ListItemNotBlank(message = "53006018")
|
||||
@ListItemLength(max = 32, message = "53006019")
|
||||
private List<String> resourceIds;
|
||||
|
||||
public List<String> getResourceIds() {
|
||||
return this.resourceIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AuthResourceNewParam
|
||||
extends AuthResourceBasicParam
|
||||
{
|
||||
private static final long serialVersionUID = -5097921675552796047L;
|
||||
@NotEmpty(message = "53006022")
|
||||
@Size(max = 999, message = "53006023")
|
||||
@ListItemNotBlank(message = "53006018")
|
||||
@ListItemLength(max = 32, message = "53006019")
|
||||
private List<String> resourceIds;
|
||||
|
||||
public List<String> getResourceIds() {
|
||||
return this.resourceIds;
|
||||
public void setResourceIds(List<String> resourceIds) {
|
||||
this.resourceIds = resourceIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void setResourceIds(List<String> resourceIds) {
|
||||
this.resourceIds = resourceIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
package cn.cloudwalk.client.resource.authorization.param;
|
||||
|
||||
public class AuthResourceQueryParam extends AuthResourceBasicParam {
|
||||
private static final long serialVersionUID = -4499110876782285172L;
|
||||
private static final long serialVersionUID = -4499110876782285172L;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+13
-31
@@ -7,37 +7,19 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class AuthorizationBasicParam implements Serializable {
|
||||
private static final long serialVersionUID = -8442358779138177440L;
|
||||
@NotEmpty(message = "53007016")
|
||||
@Size(max = 999, message = "53007017")
|
||||
@ListItemNotBlank(message = "53007013")
|
||||
@ListItemLength(max = 32, message = "53007014")
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AuthorizationBasicParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -8442358779138177440L;
|
||||
@NotEmpty(message = "53007016")
|
||||
@Size(max = 999, message = "53007017")
|
||||
@ListItemNotBlank(message = "53007013")
|
||||
@ListItemLength(max = 32, message = "53007014")
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
package cn.cloudwalk.client.resource.authorization.param;
|
||||
|
||||
public class AuthorizationDeltParam extends AuthorizationBasicParam {
|
||||
private static final long serialVersionUID = -153482705512075840L;
|
||||
private static final long serialVersionUID = -153482705512075840L;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+52
-90
@@ -4,106 +4,68 @@ import java.io.Serializable;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class AuthorizationEditParam implements Serializable {
|
||||
private static final long serialVersionUID = -1291605857762731678L;
|
||||
@NotBlank(message = "53007013")
|
||||
@Size(max = 32, message = "53007014")
|
||||
private String id;
|
||||
@NotBlank(message = "53007009")
|
||||
@Size(max = 60, message = "53007010")
|
||||
private String name;
|
||||
@Size(max = 255, message = "53007012")
|
||||
private String remark;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AuthorizationEditParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -1291605857762731678L;
|
||||
@NotBlank(message = "53007013")
|
||||
@Size(max = 32, message = "53007014")
|
||||
private String id;
|
||||
@NotBlank(message = "53007009")
|
||||
@Size(max = 60, message = "53007010")
|
||||
private String name;
|
||||
@Size(max = 255, message = "53007012")
|
||||
private String remark;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getId() {
|
||||
/* 61 */ return this.id;
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 65 */ return this.name;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
/* 69 */ return this.remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
/* 73 */ return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
/* 77 */ return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
/* 81 */ return this.ext3;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
/* 85 */ this.id = id;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 89 */ this.name = name;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
/* 93 */ this.remark = remark;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
/* 97 */ this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
package cn.cloudwalk.client.resource.authorization.param;
|
||||
|
||||
public class AuthorizationGetsParam extends AuthorizationBasicParam {
|
||||
private static final long serialVersionUID = -7285404111239936186L;
|
||||
private static final long serialVersionUID = -7285404111239936186L;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+43
-77
@@ -4,91 +4,57 @@ import java.io.Serializable;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class AuthorizationNewParam implements Serializable {
|
||||
private static final long serialVersionUID = 8399611118428124369L;
|
||||
@NotBlank(message = "53007009")
|
||||
@Size(max = 60, message = "53007010")
|
||||
private String name;
|
||||
@Size(max = 255, message = "53007012")
|
||||
private String remark;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AuthorizationNewParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 8399611118428124369L;
|
||||
@NotBlank(message = "53007009")
|
||||
@Size(max = 60, message = "53007010")
|
||||
private String name;
|
||||
@Size(max = 255, message = "53007012")
|
||||
private String remark;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+66
-113
@@ -4,133 +4,86 @@ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class AuthorizationQueryParam extends CloudwalkBasePageForm {
|
||||
private static final long serialVersionUID = 7404582785584667680L;
|
||||
@Size(max = 32, message = "53007019")
|
||||
private String serviceCode;
|
||||
@Size(max = 32, message = "53007020")
|
||||
private String businessId;
|
||||
@Size(max = 32, message = "53007018")
|
||||
private String code;
|
||||
@Size(max = 60, message = "53007010")
|
||||
private String name;
|
||||
@Range(min = 1L, max = 2L, message = "53007015")
|
||||
private Short status;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AuthorizationQueryParam
|
||||
extends CloudwalkBasePageForm
|
||||
{
|
||||
private static final long serialVersionUID = 7404582785584667680L;
|
||||
@Size(max = 32, message = "53007019")
|
||||
private String serviceCode;
|
||||
@Size(max = 32, message = "53007020")
|
||||
private String businessId;
|
||||
@Size(max = 32, message = "53007018")
|
||||
private String code;
|
||||
@Size(max = 60, message = "53007010")
|
||||
private String name;
|
||||
@Range(min = 1L, max = 2L, message = "53007015")
|
||||
private Short status;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getServiceCode() {
|
||||
/* 72 */ return this.serviceCode;
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
/* 76 */ return this.businessId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
/* 80 */ return this.code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 84 */ return this.name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
/* 88 */ return this.status;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
/* 92 */ return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
/* 96 */ return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
package cn.cloudwalk.client.resource.authorization.param;
|
||||
|
||||
public class AuthorizationStatusParam extends AuthorizationBasicParam {
|
||||
private static final long serialVersionUID = 7488265733108049151L;
|
||||
private static final long serialVersionUID = 7488265733108049151L;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+16
-35
@@ -2,43 +2,24 @@ package cn.cloudwalk.client.resource.authorization.result;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
|
||||
public class AuthApiResult extends CloudwalkBaseTimes {
|
||||
private static final long serialVersionUID = -6460132362611584267L;
|
||||
private String authorizationId;
|
||||
private String apiId;
|
||||
|
||||
public String getAuthorizationId() {
|
||||
return this.authorizationId;
|
||||
}
|
||||
|
||||
public String getApiId() {
|
||||
return this.apiId;
|
||||
}
|
||||
|
||||
public void setAuthorizationId(String authorizationId) {
|
||||
this.authorizationId = authorizationId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AuthApiResult
|
||||
extends CloudwalkBaseTimes
|
||||
{
|
||||
private static final long serialVersionUID = -6460132362611584267L;
|
||||
private String authorizationId;
|
||||
private String apiId;
|
||||
|
||||
public String getAuthorizationId() {
|
||||
return this.authorizationId;
|
||||
public void setApiId(String apiId) {
|
||||
this.apiId = apiId;
|
||||
}
|
||||
}
|
||||
|
||||
public String getApiId() {
|
||||
return this.apiId;
|
||||
}
|
||||
|
||||
public void setAuthorizationId(String authorizationId) {
|
||||
this.authorizationId = authorizationId;
|
||||
}
|
||||
|
||||
public void setApiId(String apiId) {
|
||||
this.apiId = apiId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+16
-35
@@ -2,43 +2,24 @@ package cn.cloudwalk.client.resource.authorization.result;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
|
||||
public class AuthResouceResult extends CloudwalkBaseTimes {
|
||||
private static final long serialVersionUID = -6460132362611584267L;
|
||||
private String authorizationId;
|
||||
private String resourceId;
|
||||
|
||||
public String getAuthorizationId() {
|
||||
return this.authorizationId;
|
||||
}
|
||||
|
||||
public String getResourceId() {
|
||||
return this.resourceId;
|
||||
}
|
||||
|
||||
public void setAuthorizationId(String authorizationId) {
|
||||
this.authorizationId = authorizationId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AuthResouceResult
|
||||
extends CloudwalkBaseTimes
|
||||
{
|
||||
private static final long serialVersionUID = -6460132362611584267L;
|
||||
private String authorizationId;
|
||||
private String resourceId;
|
||||
|
||||
public String getAuthorizationId() {
|
||||
return this.authorizationId;
|
||||
public void setResourceId(String resourceId) {
|
||||
this.resourceId = resourceId;
|
||||
}
|
||||
}
|
||||
|
||||
public String getResourceId() {
|
||||
return this.resourceId;
|
||||
}
|
||||
|
||||
public void setAuthorizationId(String authorizationId) {
|
||||
this.authorizationId = authorizationId;
|
||||
}
|
||||
|
||||
public void setResourceId(String resourceId) {
|
||||
this.resourceId = resourceId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+65
-112
@@ -2,134 +2,87 @@ package cn.cloudwalk.client.resource.authorization.result;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
|
||||
public class AuthorizationInfoResult extends CloudwalkBaseTimes {
|
||||
private static final long serialVersionUID = -3255345939417966399L;
|
||||
private String serviceCode;
|
||||
private String businessId;
|
||||
private String code;
|
||||
private String name;
|
||||
private Short status;
|
||||
private String remark;
|
||||
private String ext1;
|
||||
private String ext2;
|
||||
private String ext3;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AuthorizationInfoResult
|
||||
extends CloudwalkBaseTimes
|
||||
{
|
||||
private static final long serialVersionUID = -3255345939417966399L;
|
||||
private String serviceCode;
|
||||
private String businessId;
|
||||
private String code;
|
||||
private String name;
|
||||
private Short status;
|
||||
private String remark;
|
||||
private String ext1;
|
||||
private String ext2;
|
||||
private String ext3;
|
||||
|
||||
public String getServiceCode() {
|
||||
/* 63 */ return this.serviceCode;
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
/* 67 */ return this.businessId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
/* 71 */ return this.code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 75 */ return this.name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
/* 79 */ return this.status;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
/* 83 */ return this.remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
/* 87 */ return this.ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
/* 91 */ return this.ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
/* 95 */ return this.ext3;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
/* 99 */ this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+12
-11
@@ -10,15 +10,16 @@ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface AuthApiService {
|
||||
CloudwalkResult<Boolean> add(AuthApiNewParam paramAuthApiNewParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(AuthApiDeltParam paramAuthApiDeltParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AuthApiResult>> query(AuthApiQueryParam paramAuthApiQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
void deleteByApiIds(List<String> paramList) throws ServiceException;
|
||||
|
||||
void deleteByAuthIds(List<String> paramList) throws ServiceException;
|
||||
CloudwalkResult<Boolean> add(AuthApiNewParam paramAuthApiNewParam, CloudwalkCallContext paramCloudwalkCallContext)
|
||||
throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(AuthApiDeltParam paramAuthApiDeltParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AuthApiResult>> query(AuthApiQueryParam paramAuthApiQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
void deleteByApiIds(List<String> paramList) throws ServiceException;
|
||||
|
||||
void deleteByAuthIds(List<String> paramList) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+12
-11
@@ -10,15 +10,16 @@ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface AuthResourceService {
|
||||
CloudwalkResult<Boolean> add(AuthResourceNewParam paramAuthResourceNewParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(AuthResourceDeltParam paramAuthResourceDeltParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AuthResouceResult>> query(AuthResourceQueryParam paramAuthResourceQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
void deleteByResourceIds(List<String> paramList) throws ServiceException;
|
||||
|
||||
void deleteByAuthIds(List<String> paramList) throws ServiceException;
|
||||
CloudwalkResult<Boolean> add(AuthResourceNewParam paramAuthResourceNewParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(AuthResourceDeltParam paramAuthResourceDeltParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AuthResouceResult>> query(AuthResourceQueryParam paramAuthResourceQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
void deleteByResourceIds(List<String> paramList) throws ServiceException;
|
||||
|
||||
void deleteByAuthIds(List<String> paramList) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+24
-17
@@ -15,21 +15,28 @@ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface AuthorizationService {
|
||||
CloudwalkResult<AuthorizationInfoResult> add(AuthorizationNewParam paramAuthorizationNewParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> edit(AuthorizationEditParam paramAuthorizationEditParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> disable(AuthorizationStatusParam paramAuthorizationStatusParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enable(AuthorizationStatusParam paramAuthorizationStatusParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(AuthorizationDeltParam paramAuthorizationDeltParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AuthorizationInfoResult>> gets(AuthorizationGetsParam paramAuthorizationGetsParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AuthorizationInfoResult>> query(AuthorizationQueryParam paramAuthorizationQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<AuthorizationInfoResult>> page(AuthorizationQueryParam paramAuthorizationQueryParam, CloudwalkPageInfo paramCloudwalkPageInfo, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
CloudwalkResult<AuthorizationInfoResult> add(AuthorizationNewParam paramAuthorizationNewParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> edit(AuthorizationEditParam paramAuthorizationEditParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> disable(AuthorizationStatusParam paramAuthorizationStatusParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enable(AuthorizationStatusParam paramAuthorizationStatusParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(AuthorizationDeltParam paramAuthorizationDeltParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AuthorizationInfoResult>> gets(AuthorizationGetsParam paramAuthorizationGetsParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AuthorizationInfoResult>> query(AuthorizationQueryParam paramAuthorizationQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<AuthorizationInfoResult>> page(
|
||||
AuthorizationQueryParam paramAuthorizationQueryParam, CloudwalkPageInfo paramCloudwalkPageInfo,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+33
-35
@@ -1,39 +1,37 @@
|
||||
package cn.cloudwalk.client.resource.common.constant;
|
||||
|
||||
public class Constants {
|
||||
public static final int CODE_1000 = 1000;
|
||||
|
||||
public static final int CODE_2001 = 2001;
|
||||
|
||||
public static final int CODE_3001 = 3001;
|
||||
|
||||
public static final int CODE_3002 = 3002;
|
||||
|
||||
public static final int CODE_3003 = 3003;
|
||||
|
||||
public static final int CODE_9999 = 9999;
|
||||
|
||||
public static final String CODE_STR_1000 = "校验通过";
|
||||
|
||||
public static final String CODE_STR_2001 = "参数不合法";
|
||||
|
||||
public static final String CODE_STR_3001 = "签名验证失败";
|
||||
|
||||
public static final String CODE_STR_3002 = "appKey信息错误";
|
||||
|
||||
public static final String CODE_STR_3003 = "没有访问权限";
|
||||
|
||||
public static final String CODE_STR_9999 = "系统异常";
|
||||
|
||||
public static final String DATE_FORMAT_REGEX = "^((([0-9]{2})(0[48]|[2468][048]|[13579][26]))|((0[48]|[2468][048]|[13579][26])00)|([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))";
|
||||
|
||||
public static final String PHONE_FORMAT_REGEX = "^((13[0-9])|(14[5,7,9])|(15([0-3]|[5-9]))|(166)|(17[0,1,3,5,6,7,8])|(18[0-9])|(19[8|9]))\\d{8}$";
|
||||
|
||||
public static final String EMAIL_FORMAT_REGEX = "^([a-z0-9A-Z]+[-|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-zA-Z]{2,}$";
|
||||
|
||||
public static final String DICT_NOT_CONTAIN = "^((?!#).)*$";
|
||||
|
||||
public static final String DICT_SPLIT = "#";
|
||||
public static final int CODE_1000 = 1000;
|
||||
|
||||
public static final int CODE_2001 = 2001;
|
||||
|
||||
public static final int CODE_3001 = 3001;
|
||||
|
||||
public static final int CODE_3002 = 3002;
|
||||
|
||||
public static final int CODE_3003 = 3003;
|
||||
|
||||
public static final int CODE_9999 = 9999;
|
||||
|
||||
public static final String CODE_STR_1000 = "校验通过";
|
||||
|
||||
public static final String CODE_STR_2001 = "参数不合法";
|
||||
|
||||
public static final String CODE_STR_3001 = "签名验证失败";
|
||||
|
||||
public static final String CODE_STR_3002 = "appKey信息错误";
|
||||
|
||||
public static final String CODE_STR_3003 = "没有访问权限";
|
||||
|
||||
public static final String CODE_STR_9999 = "系统异常";
|
||||
|
||||
public static final String DATE_FORMAT_REGEX = "^((([0-9]{2})(0[48]|[2468][048]|[13579][26]))|((0[48]|[2468][048]|[13579][26])00)|([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))";
|
||||
|
||||
public static final String PHONE_FORMAT_REGEX = "^((13[0-9])|(14[5,7,9])|(15([0-3]|[5-9]))|(166)|(17[0,1,3,5,6,7,8])|(18[0-9])|(19[8|9]))\\d{8}$";
|
||||
|
||||
public static final String EMAIL_FORMAT_REGEX = "^([a-z0-9A-Z]+[-|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-zA-Z]{2,}$";
|
||||
|
||||
public static final String DICT_NOT_CONTAIN = "^((?!#).)*$";
|
||||
|
||||
public static final String DICT_SPLIT = "#";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+185
-187
@@ -1,191 +1,189 @@
|
||||
package cn.cloudwalk.client.resource.common.constant;
|
||||
|
||||
public class ResourceRespCodeConstant {
|
||||
public static final String RESPONSE_SUCCESS = "00000000";
|
||||
|
||||
public static final String UNKNOWN_ERROR = "00000001";
|
||||
|
||||
public static final String RESPONSE_PARAM_INVALID = "00000100";
|
||||
|
||||
public static final String RESPONSE_PARAM_ILLEGAL = "10000000";
|
||||
|
||||
public static final String RESPONSE_SETTING_REPEATED = "50001001";
|
||||
|
||||
public static final String RESPONSE_SETTING_SAVE_EXCEPTION = "50001002";
|
||||
|
||||
public static final String RESPONSE_SETTING_RESET_EXCEPTION = "50001003";
|
||||
|
||||
public static final String RESPONSE_SETTING_QUERY_EXCEPTION = "50001004";
|
||||
|
||||
public static final String ORGANIZATION_SELECT_ERROR = "53003001";
|
||||
|
||||
public static final String ORGANIZATION_UPDATE_ERROR = "53003002";
|
||||
|
||||
public static final String ORGANIZATION_INSERT_ERROR = "53003003";
|
||||
|
||||
public static final String ORGANIZATION_DELETE_ERROR = "53003004";
|
||||
|
||||
public static final String ORGANIZATION_DISABLE_ERROR = "53003005";
|
||||
|
||||
public static final String ORGANIZATION_ENABLE_ERROR = "53003006";
|
||||
|
||||
public static final String ORGANIZATION_GETS_ERROR = "53003007";
|
||||
|
||||
public static final String ORGANIZATION_PAGE_ERROR = "53003008";
|
||||
|
||||
public static final String ORGANIZATION_TREE_ERROR = "53003009";
|
||||
|
||||
public static final String ORGANIZATION_ID_LENGTH = "53003010";
|
||||
|
||||
public static final String ORGANIZATION_BUSINESSID_LENGTH = "53003011";
|
||||
|
||||
public static final String ORGANIZATION_APPLICATIONID_LENGTH = "53003012";
|
||||
|
||||
public static final String ORGANIZATION_SERVICECODE_LENGTH = "53003013";
|
||||
|
||||
public static final String ORGANIZATION_PATH_LENGTH = "53003014";
|
||||
|
||||
public static final String ORGANIZATION_CODE_LENGTH = "53003015";
|
||||
|
||||
public static final String ORGANIZATION_LEVEL_LENGTH = "53003016";
|
||||
|
||||
public static final String ORGANIZATION_LEGALFLAG_LENGTH = "53003017";
|
||||
|
||||
public static final String ORGANIZATION_NAME_LENGTH = "53003018";
|
||||
|
||||
public static final String ORGANIZATION_FULLNAME_LENGTH = "53003019";
|
||||
|
||||
public static final String ORGANIZATION_ADDRESS_LENGTH = "53003020";
|
||||
|
||||
public static final String ORGANIZATION_ZIPCODE_LENGTH = "53003021";
|
||||
|
||||
public static final String ORGANIZATION_TELEPHONE_LENGTH = "53003022";
|
||||
|
||||
public static final String ORGANIZATION_FAX_LENGTH = "53003023";
|
||||
|
||||
public static final String ORGANIZATION_STATUS_LENGTH = "53003024";
|
||||
|
||||
public static final String ORGANIZATION_PARENTID_LENGTH = "53003025";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANNAME_LENGTH = "53003026";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANDEPT_LENGTH = "53003027";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANPOS_LENGTH = "53003028";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANTEL_LENGTH = "53003029";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANFAX_LENGTH = "53003030";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANEMAIL_LENGTH = "53003031";
|
||||
|
||||
public static final String ORGANIZATION_REMARK_LENGTH = "53003032";
|
||||
|
||||
public static final String ORGANIZATION_IDS_LENGTH = "53003033";
|
||||
|
||||
public static final String ORGANIZATION_CODE_NOTNULL = "53003034";
|
||||
|
||||
public static final String ORGANIZATION_SERVICECODE_NOTNULL = "53003035";
|
||||
|
||||
public static final String ORGANIZATION_PATH_NOTNULL = "53003036";
|
||||
|
||||
public static final String ORGANIZATION_ID_NOTNULL = "53003037";
|
||||
|
||||
public static final String ORGANIZATION_LEGALFLAG_NOTNULL = "53003038";
|
||||
|
||||
public static final String ORGANIZATION_NAME_NOTNULL = "53003039";
|
||||
|
||||
public static final String ORGANIZATIONIDS_NOTNULL = "53003040";
|
||||
|
||||
public static final String APPLICATION_ADD_ERROR = "53011000";
|
||||
|
||||
public static final String APPLICATION_EDIT_ERROR = "53011001";
|
||||
|
||||
public static final String APPLICATION_QUERY_ERROR = "53011002";
|
||||
|
||||
public static final String APPLICATION_PAGE_ERROR = "53011003";
|
||||
|
||||
public static final String APPLICATION_GETS_ERROR = "53011004";
|
||||
|
||||
public static final String APPLICATION_DELETE_ERROR = "53011005";
|
||||
|
||||
public static final String APPLICATION_GETS_NOT_EXIST = "53011006";
|
||||
|
||||
public static final String APPLICATION_ENABLE_ERROR = "53011007";
|
||||
|
||||
public static final String APPLICATION_DISABLE_ERROR = "53011008";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_NAME_NOT_NULL = "53011100";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_NAME = "53011101";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_SERVICE_CODE = "53011102";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_REMARK = "53011103";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_BUSINESS_ID_NOT_NULL = "53011104";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_BUSINESS_ID = "53011105";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_APPLICATION_ID_IS_NULL = "53011106";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_APPLICATION_IDS_IS_NULL = "53011107";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_APPLICATION_IDS = "53011108";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_STATUS = "53011109";
|
||||
|
||||
public static final String APPLICATION_PARAM_ID_ILLEGAL = "53011110";
|
||||
|
||||
public static final String SERVICE_GROUP_CODE_ILLEGAL = "53011200";
|
||||
|
||||
public static final String SERVICE_QUERY_ERROR = "53011201";
|
||||
|
||||
public static final String SERVICE_GETS_ERROR = "53011202";
|
||||
|
||||
public static final String SERVICE_PARAM_VALIDATE_SERVICE_CODE_NOT_NULL = "53011203";
|
||||
|
||||
public static final String SERVICE_PARAM_VALIDATE_SERVICE_CODE = "53011204";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_SERVICE_CODE_IS_NULL = "53011205";
|
||||
|
||||
public static final String SERVICE_PARAM_VALIDATE_NAME_ILLEAGAL = "53011206";
|
||||
|
||||
public static final String SERVICE_PARAM_VALIDATE_STATUS_ILLEAGAL = "53011207";
|
||||
|
||||
public static final String SERVICE_IDS_EMPTY = "53011208";
|
||||
|
||||
public static final String SERVICE_IDS_ILLEGAL = "53011209";
|
||||
|
||||
public static final String SERVICE_ID_EMPTY = "53011210";
|
||||
|
||||
public static final String SERVICE_ID_ILLEGAL = "53011211";
|
||||
|
||||
public static final String SERVICE_ENABLE_ERROR = "53011212";
|
||||
|
||||
public static final String SERVICE_DISABLE_ERROR = "53011213";
|
||||
|
||||
public static final String SERVICE_EDIT_ERROR = "53011214";
|
||||
|
||||
public static final String SERVICE_NAME_EMPTY = "53011215";
|
||||
|
||||
public static final String SERVICE_NAME_ILLEGAL = "53011216";
|
||||
|
||||
public static final String SERVICE_REMARK_ILLEGAL = "53011217";
|
||||
|
||||
public static final String SERVICE_EXT1_ILLEGAL = "53011218";
|
||||
|
||||
public static final String SERVICE_EXT2_ILLEGAL = "53011219";
|
||||
|
||||
public static final String SERVICE_EXT3_ILLEGAL = "53011220";
|
||||
|
||||
public static final String APPLICATION_ADD_API_FAIL = "53011111";
|
||||
|
||||
public static final String APPLICATION_DELETE_API_FAIL = "53011112";
|
||||
|
||||
public static final String APPLICATION_QUERY_API_FAIL = "53011113";
|
||||
|
||||
public static final String USER_NOT_HAVE_AUTH = "53011114";
|
||||
public static final String RESPONSE_SUCCESS = "00000000";
|
||||
|
||||
public static final String UNKNOWN_ERROR = "00000001";
|
||||
|
||||
public static final String RESPONSE_PARAM_INVALID = "00000100";
|
||||
|
||||
public static final String RESPONSE_PARAM_ILLEGAL = "10000000";
|
||||
|
||||
public static final String RESPONSE_SETTING_REPEATED = "50001001";
|
||||
|
||||
public static final String RESPONSE_SETTING_SAVE_EXCEPTION = "50001002";
|
||||
|
||||
public static final String RESPONSE_SETTING_RESET_EXCEPTION = "50001003";
|
||||
|
||||
public static final String RESPONSE_SETTING_QUERY_EXCEPTION = "50001004";
|
||||
|
||||
public static final String ORGANIZATION_SELECT_ERROR = "53003001";
|
||||
|
||||
public static final String ORGANIZATION_UPDATE_ERROR = "53003002";
|
||||
|
||||
public static final String ORGANIZATION_INSERT_ERROR = "53003003";
|
||||
|
||||
public static final String ORGANIZATION_DELETE_ERROR = "53003004";
|
||||
|
||||
public static final String ORGANIZATION_DISABLE_ERROR = "53003005";
|
||||
|
||||
public static final String ORGANIZATION_ENABLE_ERROR = "53003006";
|
||||
|
||||
public static final String ORGANIZATION_GETS_ERROR = "53003007";
|
||||
|
||||
public static final String ORGANIZATION_PAGE_ERROR = "53003008";
|
||||
|
||||
public static final String ORGANIZATION_TREE_ERROR = "53003009";
|
||||
|
||||
public static final String ORGANIZATION_ID_LENGTH = "53003010";
|
||||
|
||||
public static final String ORGANIZATION_BUSINESSID_LENGTH = "53003011";
|
||||
|
||||
public static final String ORGANIZATION_APPLICATIONID_LENGTH = "53003012";
|
||||
|
||||
public static final String ORGANIZATION_SERVICECODE_LENGTH = "53003013";
|
||||
|
||||
public static final String ORGANIZATION_PATH_LENGTH = "53003014";
|
||||
|
||||
public static final String ORGANIZATION_CODE_LENGTH = "53003015";
|
||||
|
||||
public static final String ORGANIZATION_LEVEL_LENGTH = "53003016";
|
||||
|
||||
public static final String ORGANIZATION_LEGALFLAG_LENGTH = "53003017";
|
||||
|
||||
public static final String ORGANIZATION_NAME_LENGTH = "53003018";
|
||||
|
||||
public static final String ORGANIZATION_FULLNAME_LENGTH = "53003019";
|
||||
|
||||
public static final String ORGANIZATION_ADDRESS_LENGTH = "53003020";
|
||||
|
||||
public static final String ORGANIZATION_ZIPCODE_LENGTH = "53003021";
|
||||
|
||||
public static final String ORGANIZATION_TELEPHONE_LENGTH = "53003022";
|
||||
|
||||
public static final String ORGANIZATION_FAX_LENGTH = "53003023";
|
||||
|
||||
public static final String ORGANIZATION_STATUS_LENGTH = "53003024";
|
||||
|
||||
public static final String ORGANIZATION_PARENTID_LENGTH = "53003025";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANNAME_LENGTH = "53003026";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANDEPT_LENGTH = "53003027";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANPOS_LENGTH = "53003028";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANTEL_LENGTH = "53003029";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANFAX_LENGTH = "53003030";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANEMAIL_LENGTH = "53003031";
|
||||
|
||||
public static final String ORGANIZATION_REMARK_LENGTH = "53003032";
|
||||
|
||||
public static final String ORGANIZATION_IDS_LENGTH = "53003033";
|
||||
|
||||
public static final String ORGANIZATION_CODE_NOTNULL = "53003034";
|
||||
|
||||
public static final String ORGANIZATION_SERVICECODE_NOTNULL = "53003035";
|
||||
|
||||
public static final String ORGANIZATION_PATH_NOTNULL = "53003036";
|
||||
|
||||
public static final String ORGANIZATION_ID_NOTNULL = "53003037";
|
||||
|
||||
public static final String ORGANIZATION_LEGALFLAG_NOTNULL = "53003038";
|
||||
|
||||
public static final String ORGANIZATION_NAME_NOTNULL = "53003039";
|
||||
|
||||
public static final String ORGANIZATIONIDS_NOTNULL = "53003040";
|
||||
|
||||
public static final String APPLICATION_ADD_ERROR = "53011000";
|
||||
|
||||
public static final String APPLICATION_EDIT_ERROR = "53011001";
|
||||
|
||||
public static final String APPLICATION_QUERY_ERROR = "53011002";
|
||||
|
||||
public static final String APPLICATION_PAGE_ERROR = "53011003";
|
||||
|
||||
public static final String APPLICATION_GETS_ERROR = "53011004";
|
||||
|
||||
public static final String APPLICATION_DELETE_ERROR = "53011005";
|
||||
|
||||
public static final String APPLICATION_GETS_NOT_EXIST = "53011006";
|
||||
|
||||
public static final String APPLICATION_ENABLE_ERROR = "53011007";
|
||||
|
||||
public static final String APPLICATION_DISABLE_ERROR = "53011008";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_NAME_NOT_NULL = "53011100";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_NAME = "53011101";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_SERVICE_CODE = "53011102";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_REMARK = "53011103";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_BUSINESS_ID_NOT_NULL = "53011104";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_BUSINESS_ID = "53011105";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_APPLICATION_ID_IS_NULL = "53011106";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_APPLICATION_IDS_IS_NULL = "53011107";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_APPLICATION_IDS = "53011108";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_STATUS = "53011109";
|
||||
|
||||
public static final String APPLICATION_PARAM_ID_ILLEGAL = "53011110";
|
||||
|
||||
public static final String SERVICE_GROUP_CODE_ILLEGAL = "53011200";
|
||||
|
||||
public static final String SERVICE_QUERY_ERROR = "53011201";
|
||||
|
||||
public static final String SERVICE_GETS_ERROR = "53011202";
|
||||
|
||||
public static final String SERVICE_PARAM_VALIDATE_SERVICE_CODE_NOT_NULL = "53011203";
|
||||
|
||||
public static final String SERVICE_PARAM_VALIDATE_SERVICE_CODE = "53011204";
|
||||
|
||||
public static final String APPLICATION_PARAM_VALIDATE_SERVICE_CODE_IS_NULL = "53011205";
|
||||
|
||||
public static final String SERVICE_PARAM_VALIDATE_NAME_ILLEAGAL = "53011206";
|
||||
|
||||
public static final String SERVICE_PARAM_VALIDATE_STATUS_ILLEAGAL = "53011207";
|
||||
|
||||
public static final String SERVICE_IDS_EMPTY = "53011208";
|
||||
|
||||
public static final String SERVICE_IDS_ILLEGAL = "53011209";
|
||||
|
||||
public static final String SERVICE_ID_EMPTY = "53011210";
|
||||
|
||||
public static final String SERVICE_ID_ILLEGAL = "53011211";
|
||||
|
||||
public static final String SERVICE_ENABLE_ERROR = "53011212";
|
||||
|
||||
public static final String SERVICE_DISABLE_ERROR = "53011213";
|
||||
|
||||
public static final String SERVICE_EDIT_ERROR = "53011214";
|
||||
|
||||
public static final String SERVICE_NAME_EMPTY = "53011215";
|
||||
|
||||
public static final String SERVICE_NAME_ILLEGAL = "53011216";
|
||||
|
||||
public static final String SERVICE_REMARK_ILLEGAL = "53011217";
|
||||
|
||||
public static final String SERVICE_EXT1_ILLEGAL = "53011218";
|
||||
|
||||
public static final String SERVICE_EXT2_ILLEGAL = "53011219";
|
||||
|
||||
public static final String SERVICE_EXT3_ILLEGAL = "53011220";
|
||||
|
||||
public static final String APPLICATION_ADD_API_FAIL = "53011111";
|
||||
|
||||
public static final String APPLICATION_DELETE_API_FAIL = "53011112";
|
||||
|
||||
public static final String APPLICATION_QUERY_API_FAIL = "53011113";
|
||||
|
||||
public static final String USER_NOT_HAVE_AUTH = "53011114";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+61
-63
@@ -1,67 +1,65 @@
|
||||
package cn.cloudwalk.client.resource.common.constant;
|
||||
|
||||
public class RsApiRespCodeConstant {
|
||||
public static final String API_ADD_FAIL = "53005000";
|
||||
|
||||
public static final String API_EDIT_FAIL = "53005001";
|
||||
|
||||
public static final String API_DELETE_FAIL = "53005002";
|
||||
|
||||
public static final String API_GETS_FAIL = "53005003";
|
||||
|
||||
public static final String API_ENABLE_FAIL = "53005004";
|
||||
|
||||
public static final String API_DISABLE_FAIL = "53005005";
|
||||
|
||||
public static final String API_QUERY_FAIL = "53005006";
|
||||
|
||||
public static final String API_PAGE_FAIL = "53005007";
|
||||
|
||||
public static final String RESOURCE_API_ADD_FAIL = "53005008";
|
||||
|
||||
public static final String RESOURCE_API_DELETE_FAIL = "53005009";
|
||||
|
||||
public static final String RESOURCE_API_QUERY_FAIL = "53005010";
|
||||
|
||||
public static final String API_PARAM_ID_ILLEGAL = "53005098";
|
||||
|
||||
public static final String API_PARAM_SERVICE_CODE_IS_NULL = "53005099";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_SERVICE_CODE = "53005100";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_NAME_IS_NULL = "53005101";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_NAME = "53005102";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_TYPE_IS_NULL = "53005103";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_TYPE = "53005104";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_URI = "53005105";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_ID = "53005106";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_ID_IS_NULL = "53005107";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_IDS_IS_NULL = "53005108";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_IDS = "53005109";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_STATUS = "53005110";
|
||||
|
||||
public static final String API_NAME_EXIST = "53005111";
|
||||
|
||||
public static final String API_URL_IS_NULL = "53005112";
|
||||
|
||||
public static final String API_AUTH_FAIL = "53005113";
|
||||
|
||||
public static final String API_REMARK_ILLEGAL = "53005114";
|
||||
|
||||
public static final String API_EXT1_ILLEGAL = "53005115";
|
||||
|
||||
public static final String API_EXT2_ILLEGAL = "53005116";
|
||||
|
||||
public static final String API_EXT3_ILLEGAL = "53005117";
|
||||
public static final String API_ADD_FAIL = "53005000";
|
||||
|
||||
public static final String API_EDIT_FAIL = "53005001";
|
||||
|
||||
public static final String API_DELETE_FAIL = "53005002";
|
||||
|
||||
public static final String API_GETS_FAIL = "53005003";
|
||||
|
||||
public static final String API_ENABLE_FAIL = "53005004";
|
||||
|
||||
public static final String API_DISABLE_FAIL = "53005005";
|
||||
|
||||
public static final String API_QUERY_FAIL = "53005006";
|
||||
|
||||
public static final String API_PAGE_FAIL = "53005007";
|
||||
|
||||
public static final String RESOURCE_API_ADD_FAIL = "53005008";
|
||||
|
||||
public static final String RESOURCE_API_DELETE_FAIL = "53005009";
|
||||
|
||||
public static final String RESOURCE_API_QUERY_FAIL = "53005010";
|
||||
|
||||
public static final String API_PARAM_ID_ILLEGAL = "53005098";
|
||||
|
||||
public static final String API_PARAM_SERVICE_CODE_IS_NULL = "53005099";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_SERVICE_CODE = "53005100";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_NAME_IS_NULL = "53005101";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_NAME = "53005102";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_TYPE_IS_NULL = "53005103";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_TYPE = "53005104";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_URI = "53005105";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_ID = "53005106";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_ID_IS_NULL = "53005107";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_IDS_IS_NULL = "53005108";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_IDS = "53005109";
|
||||
|
||||
public static final String API_PARAM_VALIDATE_STATUS = "53005110";
|
||||
|
||||
public static final String API_NAME_EXIST = "53005111";
|
||||
|
||||
public static final String API_URL_IS_NULL = "53005112";
|
||||
|
||||
public static final String API_AUTH_FAIL = "53005113";
|
||||
|
||||
public static final String API_REMARK_ILLEGAL = "53005114";
|
||||
|
||||
public static final String API_EXT1_ILLEGAL = "53005115";
|
||||
|
||||
public static final String API_EXT2_ILLEGAL = "53005116";
|
||||
|
||||
public static final String API_EXT3_ILLEGAL = "53005117";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+5
-7
@@ -1,11 +1,9 @@
|
||||
package cn.cloudwalk.client.resource.common.constant;
|
||||
|
||||
public class RsApplicationRespCodeConstant {
|
||||
public static final String API_EXT1_ILLEGAL = "53005115";
|
||||
|
||||
public static final String API_EXT2_ILLEGAL = "53005116";
|
||||
|
||||
public static final String API_EXT3_ILLEGAL = "53005117";
|
||||
public static final String API_EXT1_ILLEGAL = "53005115";
|
||||
|
||||
public static final String API_EXT2_ILLEGAL = "53005116";
|
||||
|
||||
public static final String API_EXT3_ILLEGAL = "53005117";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+59
-61
@@ -1,65 +1,63 @@
|
||||
package cn.cloudwalk.client.resource.common.constant;
|
||||
|
||||
public class RsAuthRespCodeConstant {
|
||||
public static final String AUTH_ADD_FAIL = "53007000";
|
||||
|
||||
public static final String AUTH_EDIT_FAIL = "53007001";
|
||||
|
||||
public static final String AUTH_DELETE_FAIL = "53007002";
|
||||
|
||||
public static final String AUTH_ENABLE_FAIL = "53007003";
|
||||
|
||||
public static final String AUTH_DISABLE_FAIL = "53007004";
|
||||
|
||||
public static final String AUTH_DETAIL_FAIL = "53007005";
|
||||
|
||||
public static final String AUTH_LIST_FAIL = "53007006";
|
||||
|
||||
public static final String AUTH_PAGE_FAIL = "53007007";
|
||||
|
||||
public static final String AUTH_EXIST = "53007008";
|
||||
|
||||
public static final String AUTH_NAME_EMPTY = "53007009";
|
||||
|
||||
public static final String AUTH_NAME_ILLEGAL = "53007010";
|
||||
|
||||
public static final String AUTH_CUST_ID_ILLEGAL = "53007011";
|
||||
|
||||
public static final String AUTH_REMARK_ILLEGAL = "53007012";
|
||||
|
||||
public static final String AUTH_ID_EMPTY = "53007013";
|
||||
|
||||
public static final String AUTH_ID_ILLEGAL = "53007014";
|
||||
|
||||
public static final String AUTH_STATUS_ILLEGAL = "53007015";
|
||||
|
||||
public static final String AUTH_IDS_EMPTY = "53007016";
|
||||
|
||||
public static final String AUTH_IDS_ILLEGAL = "53007017";
|
||||
|
||||
public static final String AUTH_CODE_ILLEGAL = "53007018";
|
||||
|
||||
public static final String AUTH_SERVICE_CODE_ILLEGAL = "53007019";
|
||||
|
||||
public static final String AUTH_BUSINESS_ID_ILLEGAL = "53007020";
|
||||
|
||||
public static final String AUTH_APPLICATION_ID_ILLEGAL = "53007021";
|
||||
|
||||
public static final String AUTH_RESOURCE_ADD_FAIL = "53007030";
|
||||
|
||||
public static final String AUTH_RESOURCE_DELETE_FAIL = "53007031";
|
||||
|
||||
public static final String AUTH_RESOURCE_LIST_FAIL = "53007032";
|
||||
|
||||
public static final String AUTH_RESOURCE_EXIST = "53007033";
|
||||
|
||||
public static final String AUTH_API_ADD_FAIL = "53007034";
|
||||
|
||||
public static final String AUTH_API_DELETE_FAIL = "53007035";
|
||||
|
||||
public static final String AUTH_API_LIST_FAIL = "53007036";
|
||||
|
||||
public static final String AUTH_API_EXIST = "53007037";
|
||||
public static final String AUTH_ADD_FAIL = "53007000";
|
||||
|
||||
public static final String AUTH_EDIT_FAIL = "53007001";
|
||||
|
||||
public static final String AUTH_DELETE_FAIL = "53007002";
|
||||
|
||||
public static final String AUTH_ENABLE_FAIL = "53007003";
|
||||
|
||||
public static final String AUTH_DISABLE_FAIL = "53007004";
|
||||
|
||||
public static final String AUTH_DETAIL_FAIL = "53007005";
|
||||
|
||||
public static final String AUTH_LIST_FAIL = "53007006";
|
||||
|
||||
public static final String AUTH_PAGE_FAIL = "53007007";
|
||||
|
||||
public static final String AUTH_EXIST = "53007008";
|
||||
|
||||
public static final String AUTH_NAME_EMPTY = "53007009";
|
||||
|
||||
public static final String AUTH_NAME_ILLEGAL = "53007010";
|
||||
|
||||
public static final String AUTH_CUST_ID_ILLEGAL = "53007011";
|
||||
|
||||
public static final String AUTH_REMARK_ILLEGAL = "53007012";
|
||||
|
||||
public static final String AUTH_ID_EMPTY = "53007013";
|
||||
|
||||
public static final String AUTH_ID_ILLEGAL = "53007014";
|
||||
|
||||
public static final String AUTH_STATUS_ILLEGAL = "53007015";
|
||||
|
||||
public static final String AUTH_IDS_EMPTY = "53007016";
|
||||
|
||||
public static final String AUTH_IDS_ILLEGAL = "53007017";
|
||||
|
||||
public static final String AUTH_CODE_ILLEGAL = "53007018";
|
||||
|
||||
public static final String AUTH_SERVICE_CODE_ILLEGAL = "53007019";
|
||||
|
||||
public static final String AUTH_BUSINESS_ID_ILLEGAL = "53007020";
|
||||
|
||||
public static final String AUTH_APPLICATION_ID_ILLEGAL = "53007021";
|
||||
|
||||
public static final String AUTH_RESOURCE_ADD_FAIL = "53007030";
|
||||
|
||||
public static final String AUTH_RESOURCE_DELETE_FAIL = "53007031";
|
||||
|
||||
public static final String AUTH_RESOURCE_LIST_FAIL = "53007032";
|
||||
|
||||
public static final String AUTH_RESOURCE_EXIST = "53007033";
|
||||
|
||||
public static final String AUTH_API_ADD_FAIL = "53007034";
|
||||
|
||||
public static final String AUTH_API_DELETE_FAIL = "53007035";
|
||||
|
||||
public static final String AUTH_API_LIST_FAIL = "53007036";
|
||||
|
||||
public static final String AUTH_API_EXIST = "53007037";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+73
-75
@@ -1,79 +1,77 @@
|
||||
package cn.cloudwalk.client.resource.common.constant;
|
||||
|
||||
public class RsDictRespCodeConstant {
|
||||
public static final String DICT_SELECT_ERROR = "53001051";
|
||||
|
||||
public static final String DICT_UPDATE_ERROR = "53001052";
|
||||
|
||||
public static final String DICT_INSERT_ERROR = "53001053";
|
||||
|
||||
public static final String DICT_DELETE_ERROR = "53001054";
|
||||
|
||||
public static final String DICT_TYPE_CODE_INVALID = "53001055";
|
||||
|
||||
public static final String DICT_CODE_REPETITION = "53001056";
|
||||
|
||||
public static final String DICT_NAME_REPETITION = "53001057";
|
||||
|
||||
public static final String DICT_TYPE_SELECT_ERROR = "53001058";
|
||||
|
||||
public static final String DICT_TYPE_UPDATE_ERROR = "53001059";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_REMARK = "53001071";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_ID = "53001072";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_ID_NOT_NULL = "53001073";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_CODE = "53001074";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_CODE_NOT_NULL = "53001075";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_NAME = "53001076";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_NAME_NOT_NULL = "53001077";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_STATUS = "53001078";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_PARENT_ID = "53001080";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_PARENT_ID_NOT_NULL = "53001081";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_CODE = "53001082";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_CODE_NOT_NULL = "53001083";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_VISIBLE = "53001084";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_VISIBLE_NOT_NULL = "53001085";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_SERVICE_CODE = "53001086";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_DICT = "53001087";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_IDS_EMPTY = "53001088";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_IDS = "53001089";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_ORDER_BY = "53001090";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_IDS_EMPTY = "53001091";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_NAME = "53001092";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_IDS_MAX = "53001093";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_ID_EMPTY = "53001094";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_ID_MAX = "53001095";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_CODE_MAX = "53001096";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_CODE_NAX = "53001097";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_NAME_MAX = "53001098";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_STATUS = "53001099";
|
||||
public static final String DICT_SELECT_ERROR = "53001051";
|
||||
|
||||
public static final String DICT_UPDATE_ERROR = "53001052";
|
||||
|
||||
public static final String DICT_INSERT_ERROR = "53001053";
|
||||
|
||||
public static final String DICT_DELETE_ERROR = "53001054";
|
||||
|
||||
public static final String DICT_TYPE_CODE_INVALID = "53001055";
|
||||
|
||||
public static final String DICT_CODE_REPETITION = "53001056";
|
||||
|
||||
public static final String DICT_NAME_REPETITION = "53001057";
|
||||
|
||||
public static final String DICT_TYPE_SELECT_ERROR = "53001058";
|
||||
|
||||
public static final String DICT_TYPE_UPDATE_ERROR = "53001059";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_REMARK = "53001071";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_ID = "53001072";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_ID_NOT_NULL = "53001073";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_CODE = "53001074";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_CODE_NOT_NULL = "53001075";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_NAME = "53001076";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_NAME_NOT_NULL = "53001077";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_STATUS = "53001078";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_PARENT_ID = "53001080";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_PARENT_ID_NOT_NULL = "53001081";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_CODE = "53001082";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_CODE_NOT_NULL = "53001083";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_VISIBLE = "53001084";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_VISIBLE_NOT_NULL = "53001085";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_SERVICE_CODE = "53001086";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_DICT = "53001087";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_IDS_EMPTY = "53001088";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_IDS = "53001089";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_ORDER_BY = "53001090";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_IDS_EMPTY = "53001091";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_NAME = "53001092";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_IDS_MAX = "53001093";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_ID_EMPTY = "53001094";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_ID_MAX = "53001095";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_CODE_MAX = "53001096";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_CODE_NAX = "53001097";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_NAME_MAX = "53001098";
|
||||
|
||||
public static final String DICT_PARAM_VALIDATE_TYPE_STATUS = "53001099";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+67
-69
@@ -1,73 +1,71 @@
|
||||
package cn.cloudwalk.client.resource.common.constant;
|
||||
|
||||
public class RsGroupRespCodeConstant {
|
||||
public static final String GROUP_ADD_ERROR = "53009101";
|
||||
|
||||
public static final String GROUP_EDIT_ERROR = "53009102";
|
||||
|
||||
public static final String GROUP_DISABLE_ERROR = "53009103";
|
||||
|
||||
public static final String GROUP_ENABLE_ERROR = "53009104";
|
||||
|
||||
public static final String GROUP_QUERY_ERROR = "53009105";
|
||||
|
||||
public static final String GROUP_PAGE_ERROR = "53009106";
|
||||
|
||||
public static final String GROUP_DELETE_ERROR = "53009107";
|
||||
|
||||
public static final String GROUP_GETS_ERROR = "53009108";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_SERVICE_CODE_NOT_NULL = "53009001";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_SERVICE_CODE = "53009002";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_APPLICATION_ID = "53009003";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_BUSINESS_ID = "53009004";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_CUST_ID = "53009005";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_NAME_NOT_NULL = "53009006";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_NAME = "53009007";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_REMARK = "53009008";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_ID_NOT_NULL = "53009009";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_ID = "53009010";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_STATUS = "53009011";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_IDS_NOT_NULL = "53009012";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_IDS = "53009013";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_ROLE_IDS_NOT_NULL = "53009014";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_ROLE_IDS = "53009015";
|
||||
|
||||
public static final String GROUP_ROLE_ADD_ERROR = "53009201";
|
||||
|
||||
public static final String GROUP_ROLE_DELETE_ERROR = "53009202";
|
||||
|
||||
public static final String GROUP_ROLE_QUERY_ERROR = "53009203";
|
||||
|
||||
public static final String GROUP_ROLE_PARAM_VALIDATE_ROLE_IDS_IS_EXIST = "53009204";
|
||||
|
||||
public static final String GROUP_USER_ADD_ERROR = "53009301";
|
||||
|
||||
public static final String GROUP_USER_DELETE_ERROR = "53009302";
|
||||
|
||||
public static final String GROUP_USER_QUERY_ERROR = "53009303";
|
||||
|
||||
public static final String GROUP_USER_PARAM_VALIDATE_USER_IDS_IS_EXIST = "53009304";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_USER_IDS_NOT_NULL = "53009305";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_USER_IDS = "53009306";
|
||||
|
||||
public static final String GROUP_NAME_EXIST = "53009016";
|
||||
public static final String GROUP_ADD_ERROR = "53009101";
|
||||
|
||||
public static final String GROUP_EDIT_ERROR = "53009102";
|
||||
|
||||
public static final String GROUP_DISABLE_ERROR = "53009103";
|
||||
|
||||
public static final String GROUP_ENABLE_ERROR = "53009104";
|
||||
|
||||
public static final String GROUP_QUERY_ERROR = "53009105";
|
||||
|
||||
public static final String GROUP_PAGE_ERROR = "53009106";
|
||||
|
||||
public static final String GROUP_DELETE_ERROR = "53009107";
|
||||
|
||||
public static final String GROUP_GETS_ERROR = "53009108";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_SERVICE_CODE_NOT_NULL = "53009001";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_SERVICE_CODE = "53009002";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_APPLICATION_ID = "53009003";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_BUSINESS_ID = "53009004";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_CUST_ID = "53009005";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_NAME_NOT_NULL = "53009006";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_NAME = "53009007";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_REMARK = "53009008";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_ID_NOT_NULL = "53009009";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_ID = "53009010";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_STATUS = "53009011";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_IDS_NOT_NULL = "53009012";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_IDS = "53009013";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_ROLE_IDS_NOT_NULL = "53009014";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_ROLE_IDS = "53009015";
|
||||
|
||||
public static final String GROUP_ROLE_ADD_ERROR = "53009201";
|
||||
|
||||
public static final String GROUP_ROLE_DELETE_ERROR = "53009202";
|
||||
|
||||
public static final String GROUP_ROLE_QUERY_ERROR = "53009203";
|
||||
|
||||
public static final String GROUP_ROLE_PARAM_VALIDATE_ROLE_IDS_IS_EXIST = "53009204";
|
||||
|
||||
public static final String GROUP_USER_ADD_ERROR = "53009301";
|
||||
|
||||
public static final String GROUP_USER_DELETE_ERROR = "53009302";
|
||||
|
||||
public static final String GROUP_USER_QUERY_ERROR = "53009303";
|
||||
|
||||
public static final String GROUP_USER_PARAM_VALIDATE_USER_IDS_IS_EXIST = "53009304";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_USER_IDS_NOT_NULL = "53009305";
|
||||
|
||||
public static final String GROUP_PARAM_VALIDATE_USER_IDS = "53009306";
|
||||
|
||||
public static final String GROUP_NAME_EXIST = "53009016";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+171
-173
@@ -1,177 +1,175 @@
|
||||
package cn.cloudwalk.client.resource.common.constant;
|
||||
|
||||
public class RsOrganizationRespCodeConstant {
|
||||
public static final String ORGANIZATION_SELECT_ERROR = "53003001";
|
||||
|
||||
public static final String ORGANIZATION_UPDATE_ERROR = "53003002";
|
||||
|
||||
public static final String ORGANIZATION_INSERT_ERROR = "53003003";
|
||||
|
||||
public static final String ORGANIZATION_DELETE_ERROR = "53003004";
|
||||
|
||||
public static final String ORGANIZATION_DISABLE_ERROR = "53003005";
|
||||
|
||||
public static final String ORGANIZATION_ENABLE_ERROR = "53003006";
|
||||
|
||||
public static final String ORGANIZATION_GETS_ERROR = "53003007";
|
||||
|
||||
public static final String ORGANIZATION_PAGE_ERROR = "53003008";
|
||||
|
||||
public static final String ORGANIZATION_TREE_ERROR = "53003009";
|
||||
|
||||
public static final String ORGANIZATION_ID_LENGTH = "53003010";
|
||||
|
||||
public static final String ORGANIZATION_BUSINESSID_LENGTH = "53003011";
|
||||
|
||||
public static final String ORGANIZATION_APPLICATIONID_LENGTH = "53003012";
|
||||
|
||||
public static final String ORGANIZATION_SERVICECODE_LENGTH = "53003013";
|
||||
|
||||
public static final String ORGANIZATION_PATH_LENGTH = "53003014";
|
||||
|
||||
public static final String ORGANIZATION_CODE_LENGTH = "53003015";
|
||||
|
||||
public static final String ORGANIZATION_LEVEL_LENGTH = "53003016";
|
||||
|
||||
public static final String ORGANIZATION_LEGALFLAG_LENGTH = "53003017";
|
||||
|
||||
public static final String ORGANIZATION_NAME_LENGTH = "53003018";
|
||||
|
||||
public static final String ORGANIZATION_FULLNAME_LENGTH = "53003019";
|
||||
|
||||
public static final String ORGANIZATION_ADDRESS_LENGTH = "53003020";
|
||||
|
||||
public static final String ORGANIZATION_ZIPCODE_LENGTH = "53003021";
|
||||
|
||||
public static final String ORGANIZATION_TELEPHONE_LENGTH = "53003022";
|
||||
|
||||
public static final String ORGANIZATION_FAX_LENGTH = "53003023";
|
||||
|
||||
public static final String ORGANIZATION_STATUS_LENGTH = "53003024";
|
||||
|
||||
public static final String ORGANIZATION_PARENTID_LENGTH = "53003025";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANNAME_LENGTH = "53003026";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANDEPT_LENGTH = "53003027";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANPOS_LENGTH = "53003028";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANTEL_LENGTH = "53003029";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANFAX_LENGTH = "53003030";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANEMAIL_LENGTH = "53003031";
|
||||
|
||||
public static final String ORGANIZATION_REMARK_LENGTH = "53003032";
|
||||
|
||||
public static final String ORGANIZATION_IDS_LENGTH = "53003033";
|
||||
|
||||
public static final String ORGANIZATION_CODE_NOTNULL = "53003034";
|
||||
|
||||
public static final String ORGANIZATION_SERVICECODE_NOTNULL = "53003035";
|
||||
|
||||
public static final String ORGANIZATION_PATH_NOTNULL = "53003036";
|
||||
|
||||
public static final String ORGANIZATION_ID_NOTNULL = "53003037";
|
||||
|
||||
public static final String ORGANIZATION_LEGALFLAG_NOTNULL = "53003038";
|
||||
|
||||
public static final String ORGANIZATION_NAME_NOTNULL = "53003039";
|
||||
|
||||
public static final String ORGANIZATIONIDS_NOTNULL = "53003040";
|
||||
|
||||
public static final String ORGANIZATIONIDS_NAME_REPEATED = "53003041";
|
||||
|
||||
public static final String ORGANIZATIONIDS_NOTEXIST = "53003042";
|
||||
|
||||
public static final String ORGANIZATIONIDS_PARENT_NOTEXIST = "53003043";
|
||||
|
||||
public static final String ORGANIZATIONIDS_CODE_REPEATED = "53003044";
|
||||
|
||||
public static final String ORGANIZATION_LEVEL_NOTNULL = "53003045";
|
||||
|
||||
public static final String ORGANIZATION_PARENTID_NOTNULL = "53003046";
|
||||
|
||||
public static final String ORGANIZATION_IDS_NOTNULL = "53003047";
|
||||
|
||||
public static final String ORGANIZATION_TOPUNIT_CANNOT_DELETE = "53003048";
|
||||
|
||||
public static final String ORGANIZATIONI_HASCHILDORG_CANNOTDELETE = "53003049";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETOPERSON_CANNOTDELETE = "53003050";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETODEVICE_CANNOTDELETE = "53003051";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETODUSER_CANNOTDELETE = "53003052";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETOROLE_CANNOTDELETE = "53003053";
|
||||
|
||||
public static final String ORGANIZATION_PROVINCE_NOTNULL = "53003054";
|
||||
|
||||
public static final String ORGANIZATION_CITY_NOTNULL = "53003055";
|
||||
|
||||
public static final String ORGANIZATION_PROVINCE_LENGTH = "53003056";
|
||||
|
||||
public static final String ORGANIZATION_CITY_LENGTH = "53003057";
|
||||
|
||||
public static final String ORGTEMPLATE_PATH_NOTSET = "53003058";
|
||||
|
||||
public static final String ORGTEMPLATE_DOWNLOAD_ERROR = "53003059";
|
||||
|
||||
public static final String ORGANIZATION_IMPORT_FILEPATH_NOTNULL = "53003060";
|
||||
|
||||
public static final String ORGANIZATION_IMPORT_FILEPATH_LENGTH = "53003061";
|
||||
|
||||
public static final String ORGANIZATION_PARENTORG_NOTEXIST = "53003062";
|
||||
|
||||
public static final String ORGANIZATION_CREATE_TEMPLATE_FAIL = "53003063";
|
||||
|
||||
public static final String ORGANIZATION_BATCH_IMPORT_FAILED_RECORD_NOTEXIST = "53003064";
|
||||
|
||||
public static final String ORGANIZATION_ORGTYPE_NOTEXIST = "53003065";
|
||||
|
||||
public static final String ORGANIZATION_PROVINCE_NOTEXIST = "53003066";
|
||||
|
||||
public static final String ORGANIZATION_CITY_NOTEXIST = "53003067";
|
||||
|
||||
public static final String ORGANIZATION_ORGLEVEL_ERROR = "53003068";
|
||||
|
||||
public static final String ORGANIZATION_LEGALFLAG_ERROR = "53003069";
|
||||
|
||||
public static final String ORGANIZATION_TOPUNIT_CANNOT_DISABLE = "53003070";
|
||||
|
||||
public static final String ORGANIZATIONI_HASCHILDORG_CANNOT_DISABLE = "53003071";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETOPERSON_CANNOT_DISABLE = "53003072";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETODEVICE_CANNOT_DISABLE = "53003073";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETODUSER_CANNOT_DISABLE = "53003074";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETOROLE_CANNOT_DISABLE = "53003075";
|
||||
|
||||
public static final String ORGANIZATION_PROVINCEFLAG_ERROR = "53003076";
|
||||
|
||||
public static final String ORGANIZATION_CITYFLAG_ERROR = "53003077";
|
||||
|
||||
public static final String ORGANIZATION_AREA_LENGTH = "53003078";
|
||||
|
||||
public static final String ORGANIZATION_AREA_NOTNULL = "53003079";
|
||||
|
||||
public static final String ORGANIZATION_REF_ID = "53003101";
|
||||
|
||||
public static final String ORGANIZATION_REF_ID_NOT_NULL = "53003102";
|
||||
|
||||
public static final String ORGANIZATION_REF_ORG_ID = "53003103";
|
||||
|
||||
public static final String ORGANIZATION_REF_ORG_ID_NOT_NULL = "53003104";
|
||||
|
||||
public static final String ORGANIZATION_REF_APP_ID = "53003105";
|
||||
|
||||
public static final String ORGANIZATION_REF_APP_ID_NOT_NULL = "53003106";
|
||||
|
||||
public static final String ORGANIZATION_REF_ORG_IDS_NOT_EMPTY = "53003107";
|
||||
public static final String ORGANIZATION_SELECT_ERROR = "53003001";
|
||||
|
||||
public static final String ORGANIZATION_UPDATE_ERROR = "53003002";
|
||||
|
||||
public static final String ORGANIZATION_INSERT_ERROR = "53003003";
|
||||
|
||||
public static final String ORGANIZATION_DELETE_ERROR = "53003004";
|
||||
|
||||
public static final String ORGANIZATION_DISABLE_ERROR = "53003005";
|
||||
|
||||
public static final String ORGANIZATION_ENABLE_ERROR = "53003006";
|
||||
|
||||
public static final String ORGANIZATION_GETS_ERROR = "53003007";
|
||||
|
||||
public static final String ORGANIZATION_PAGE_ERROR = "53003008";
|
||||
|
||||
public static final String ORGANIZATION_TREE_ERROR = "53003009";
|
||||
|
||||
public static final String ORGANIZATION_ID_LENGTH = "53003010";
|
||||
|
||||
public static final String ORGANIZATION_BUSINESSID_LENGTH = "53003011";
|
||||
|
||||
public static final String ORGANIZATION_APPLICATIONID_LENGTH = "53003012";
|
||||
|
||||
public static final String ORGANIZATION_SERVICECODE_LENGTH = "53003013";
|
||||
|
||||
public static final String ORGANIZATION_PATH_LENGTH = "53003014";
|
||||
|
||||
public static final String ORGANIZATION_CODE_LENGTH = "53003015";
|
||||
|
||||
public static final String ORGANIZATION_LEVEL_LENGTH = "53003016";
|
||||
|
||||
public static final String ORGANIZATION_LEGALFLAG_LENGTH = "53003017";
|
||||
|
||||
public static final String ORGANIZATION_NAME_LENGTH = "53003018";
|
||||
|
||||
public static final String ORGANIZATION_FULLNAME_LENGTH = "53003019";
|
||||
|
||||
public static final String ORGANIZATION_ADDRESS_LENGTH = "53003020";
|
||||
|
||||
public static final String ORGANIZATION_ZIPCODE_LENGTH = "53003021";
|
||||
|
||||
public static final String ORGANIZATION_TELEPHONE_LENGTH = "53003022";
|
||||
|
||||
public static final String ORGANIZATION_FAX_LENGTH = "53003023";
|
||||
|
||||
public static final String ORGANIZATION_STATUS_LENGTH = "53003024";
|
||||
|
||||
public static final String ORGANIZATION_PARENTID_LENGTH = "53003025";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANNAME_LENGTH = "53003026";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANDEPT_LENGTH = "53003027";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANPOS_LENGTH = "53003028";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANTEL_LENGTH = "53003029";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANFAX_LENGTH = "53003030";
|
||||
|
||||
public static final String ORGANIZATION_LINKMANEMAIL_LENGTH = "53003031";
|
||||
|
||||
public static final String ORGANIZATION_REMARK_LENGTH = "53003032";
|
||||
|
||||
public static final String ORGANIZATION_IDS_LENGTH = "53003033";
|
||||
|
||||
public static final String ORGANIZATION_CODE_NOTNULL = "53003034";
|
||||
|
||||
public static final String ORGANIZATION_SERVICECODE_NOTNULL = "53003035";
|
||||
|
||||
public static final String ORGANIZATION_PATH_NOTNULL = "53003036";
|
||||
|
||||
public static final String ORGANIZATION_ID_NOTNULL = "53003037";
|
||||
|
||||
public static final String ORGANIZATION_LEGALFLAG_NOTNULL = "53003038";
|
||||
|
||||
public static final String ORGANIZATION_NAME_NOTNULL = "53003039";
|
||||
|
||||
public static final String ORGANIZATIONIDS_NOTNULL = "53003040";
|
||||
|
||||
public static final String ORGANIZATIONIDS_NAME_REPEATED = "53003041";
|
||||
|
||||
public static final String ORGANIZATIONIDS_NOTEXIST = "53003042";
|
||||
|
||||
public static final String ORGANIZATIONIDS_PARENT_NOTEXIST = "53003043";
|
||||
|
||||
public static final String ORGANIZATIONIDS_CODE_REPEATED = "53003044";
|
||||
|
||||
public static final String ORGANIZATION_LEVEL_NOTNULL = "53003045";
|
||||
|
||||
public static final String ORGANIZATION_PARENTID_NOTNULL = "53003046";
|
||||
|
||||
public static final String ORGANIZATION_IDS_NOTNULL = "53003047";
|
||||
|
||||
public static final String ORGANIZATION_TOPUNIT_CANNOT_DELETE = "53003048";
|
||||
|
||||
public static final String ORGANIZATIONI_HASCHILDORG_CANNOTDELETE = "53003049";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETOPERSON_CANNOTDELETE = "53003050";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETODEVICE_CANNOTDELETE = "53003051";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETODUSER_CANNOTDELETE = "53003052";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETOROLE_CANNOTDELETE = "53003053";
|
||||
|
||||
public static final String ORGANIZATION_PROVINCE_NOTNULL = "53003054";
|
||||
|
||||
public static final String ORGANIZATION_CITY_NOTNULL = "53003055";
|
||||
|
||||
public static final String ORGANIZATION_PROVINCE_LENGTH = "53003056";
|
||||
|
||||
public static final String ORGANIZATION_CITY_LENGTH = "53003057";
|
||||
|
||||
public static final String ORGTEMPLATE_PATH_NOTSET = "53003058";
|
||||
|
||||
public static final String ORGTEMPLATE_DOWNLOAD_ERROR = "53003059";
|
||||
|
||||
public static final String ORGANIZATION_IMPORT_FILEPATH_NOTNULL = "53003060";
|
||||
|
||||
public static final String ORGANIZATION_IMPORT_FILEPATH_LENGTH = "53003061";
|
||||
|
||||
public static final String ORGANIZATION_PARENTORG_NOTEXIST = "53003062";
|
||||
|
||||
public static final String ORGANIZATION_CREATE_TEMPLATE_FAIL = "53003063";
|
||||
|
||||
public static final String ORGANIZATION_BATCH_IMPORT_FAILED_RECORD_NOTEXIST = "53003064";
|
||||
|
||||
public static final String ORGANIZATION_ORGTYPE_NOTEXIST = "53003065";
|
||||
|
||||
public static final String ORGANIZATION_PROVINCE_NOTEXIST = "53003066";
|
||||
|
||||
public static final String ORGANIZATION_CITY_NOTEXIST = "53003067";
|
||||
|
||||
public static final String ORGANIZATION_ORGLEVEL_ERROR = "53003068";
|
||||
|
||||
public static final String ORGANIZATION_LEGALFLAG_ERROR = "53003069";
|
||||
|
||||
public static final String ORGANIZATION_TOPUNIT_CANNOT_DISABLE = "53003070";
|
||||
|
||||
public static final String ORGANIZATIONI_HASCHILDORG_CANNOT_DISABLE = "53003071";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETOPERSON_CANNOT_DISABLE = "53003072";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETODEVICE_CANNOT_DISABLE = "53003073";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETODUSER_CANNOT_DISABLE = "53003074";
|
||||
|
||||
public static final String ORGANIZATIONI_RELATETOROLE_CANNOT_DISABLE = "53003075";
|
||||
|
||||
public static final String ORGANIZATION_PROVINCEFLAG_ERROR = "53003076";
|
||||
|
||||
public static final String ORGANIZATION_CITYFLAG_ERROR = "53003077";
|
||||
|
||||
public static final String ORGANIZATION_AREA_LENGTH = "53003078";
|
||||
|
||||
public static final String ORGANIZATION_AREA_NOTNULL = "53003079";
|
||||
|
||||
public static final String ORGANIZATION_REF_ID = "53003101";
|
||||
|
||||
public static final String ORGANIZATION_REF_ID_NOT_NULL = "53003102";
|
||||
|
||||
public static final String ORGANIZATION_REF_ORG_ID = "53003103";
|
||||
|
||||
public static final String ORGANIZATION_REF_ORG_ID_NOT_NULL = "53003104";
|
||||
|
||||
public static final String ORGANIZATION_REF_APP_ID = "53003105";
|
||||
|
||||
public static final String ORGANIZATION_REF_APP_ID_NOT_NULL = "53003106";
|
||||
|
||||
public static final String ORGANIZATION_REF_ORG_IDS_NOT_EMPTY = "53003107";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+121
-123
@@ -1,127 +1,125 @@
|
||||
package cn.cloudwalk.client.resource.common.constant;
|
||||
|
||||
public class RsPersonRespCodeConstant {
|
||||
public static final String PERSON_SELECT_ERROR = "53004101";
|
||||
|
||||
public static final String PERSON_UPDATE_ERROR = "53004102";
|
||||
|
||||
public static final String PERSON_INSERT_ERROR = "53004103";
|
||||
|
||||
public static final String PERSON_DELETE_ERROR = "53004104";
|
||||
|
||||
public static final String PERSON_CODE_REPETITION = "53004105";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_PHONE_REGEXP = "53004018";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_EMAIL_REGEXP = "53004019";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_DATE_REGEXP = "53004020";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_REMARK = "53004021";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_ID = "53004022";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_ID_NOT_NULL = "53004023";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_CODE = "53004024";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_CODE_NOT_NULL = "53004025";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_NAME = "53004026";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_NAME_NOT_NULL = "53004027";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_STATUS = "53004028";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_STATUS_NOT_NULL = "53004029";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_ORG_ID = "53004030";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_ORG_ID_NOT_NULL = "53004031";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_ORG_PATH = "53004032";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_ORG_PATH_NOT_NULL = "53004033";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_CERT_TYPE = "53004034";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_CERT_TYPE_NOT_NULL = "53004035";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_CERT_NO = "53004036";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_CERT_NO_NOT_NULL = "53004037";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_TYPE = "53004038";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_TYPE_NOT_NULL = "53004039";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_BIRTHDAY = "53004040";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_BIRTHDAY_NOT_NULL = "53004041";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_SEX = "53004042";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_SEX_NOT_NULL = "53004043";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_DUTY = "53004044";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_DUTY_NOT_NULL = "53004045";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_POSITION = "53004046";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_POSITION_NOT_NULL = "53004047";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_TELEPHONE = "53004048";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_TELEPHONE_NOT_NULL = "53004049";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_EMAIL = "53004050";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_EMAIL_NOT_NULL = "53004051";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_BUSINESS_ID = "53004052";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_BUSINESS_ID_NOT_NULL = "53004053";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_APPLICATION_ID = "53004054";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_APPLICATION_ID_NOT_NULL = "53004055";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_PARTITION_ID = "53004056";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_PARTITION_ID_NOT_NULL = "53004057";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_LIMIT_NUM_NOT_NULL = "53004058";
|
||||
|
||||
public static final String PERSON_PARAM_ID_NOT_EXISTS = "53004059";
|
||||
|
||||
public static final String PERSON_PARAM_END_TIME_NOT_NULL = "53004060";
|
||||
|
||||
public static final String PERSON_PARAM_START_TIME_NOT_NULL = "53004061";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_VIP_LEVEL = "53004062";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_VIP_LEVEL_NOT_NULL = "53004063";
|
||||
|
||||
public static final String PERSON_RECORD_ID = "53004201";
|
||||
|
||||
public static final String PERSON_RECORD_ID_NOT_NULL = "53004202";
|
||||
|
||||
public static final String PERSON_RECORD_PERSON_ID = "53004203";
|
||||
|
||||
public static final String PERSON_RECORD_PERSON_ID_NOT_NULL = "53004204";
|
||||
|
||||
public static final String PERSON_RECORD_OLD_ID = "53004205";
|
||||
|
||||
public static final String PERSON_RECORD_NEW_ID = "53004206";
|
||||
|
||||
public static final String PERSON_RECORD_ACTION_TYPE = "53004207";
|
||||
|
||||
public static final String PERSON_RECORD_ACTION_TYPE_NOT_NULL = "53004208";
|
||||
|
||||
public static final String PERSON_RECORD_IDS = "53004209";
|
||||
|
||||
public static final String PERSON_RECORD_IDS_NOT_EMPTY = "53004210";
|
||||
public static final String PERSON_SELECT_ERROR = "53004101";
|
||||
|
||||
public static final String PERSON_UPDATE_ERROR = "53004102";
|
||||
|
||||
public static final String PERSON_INSERT_ERROR = "53004103";
|
||||
|
||||
public static final String PERSON_DELETE_ERROR = "53004104";
|
||||
|
||||
public static final String PERSON_CODE_REPETITION = "53004105";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_PHONE_REGEXP = "53004018";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_EMAIL_REGEXP = "53004019";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_DATE_REGEXP = "53004020";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_REMARK = "53004021";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_ID = "53004022";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_ID_NOT_NULL = "53004023";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_CODE = "53004024";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_CODE_NOT_NULL = "53004025";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_NAME = "53004026";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_NAME_NOT_NULL = "53004027";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_STATUS = "53004028";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_STATUS_NOT_NULL = "53004029";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_ORG_ID = "53004030";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_ORG_ID_NOT_NULL = "53004031";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_ORG_PATH = "53004032";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_ORG_PATH_NOT_NULL = "53004033";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_CERT_TYPE = "53004034";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_CERT_TYPE_NOT_NULL = "53004035";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_CERT_NO = "53004036";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_CERT_NO_NOT_NULL = "53004037";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_TYPE = "53004038";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_TYPE_NOT_NULL = "53004039";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_BIRTHDAY = "53004040";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_BIRTHDAY_NOT_NULL = "53004041";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_SEX = "53004042";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_SEX_NOT_NULL = "53004043";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_DUTY = "53004044";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_DUTY_NOT_NULL = "53004045";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_POSITION = "53004046";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_POSITION_NOT_NULL = "53004047";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_TELEPHONE = "53004048";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_TELEPHONE_NOT_NULL = "53004049";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_EMAIL = "53004050";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_EMAIL_NOT_NULL = "53004051";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_BUSINESS_ID = "53004052";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_BUSINESS_ID_NOT_NULL = "53004053";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_APPLICATION_ID = "53004054";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_APPLICATION_ID_NOT_NULL = "53004055";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_PARTITION_ID = "53004056";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_PARTITION_ID_NOT_NULL = "53004057";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_LIMIT_NUM_NOT_NULL = "53004058";
|
||||
|
||||
public static final String PERSON_PARAM_ID_NOT_EXISTS = "53004059";
|
||||
|
||||
public static final String PERSON_PARAM_END_TIME_NOT_NULL = "53004060";
|
||||
|
||||
public static final String PERSON_PARAM_START_TIME_NOT_NULL = "53004061";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_VIP_LEVEL = "53004062";
|
||||
|
||||
public static final String PERSON_PARAM_VALIDATE_VIP_LEVEL_NOT_NULL = "53004063";
|
||||
|
||||
public static final String PERSON_RECORD_ID = "53004201";
|
||||
|
||||
public static final String PERSON_RECORD_ID_NOT_NULL = "53004202";
|
||||
|
||||
public static final String PERSON_RECORD_PERSON_ID = "53004203";
|
||||
|
||||
public static final String PERSON_RECORD_PERSON_ID_NOT_NULL = "53004204";
|
||||
|
||||
public static final String PERSON_RECORD_OLD_ID = "53004205";
|
||||
|
||||
public static final String PERSON_RECORD_NEW_ID = "53004206";
|
||||
|
||||
public static final String PERSON_RECORD_ACTION_TYPE = "53004207";
|
||||
|
||||
public static final String PERSON_RECORD_ACTION_TYPE_NOT_NULL = "53004208";
|
||||
|
||||
public static final String PERSON_RECORD_IDS = "53004209";
|
||||
|
||||
public static final String PERSON_RECORD_IDS_NOT_EMPTY = "53004210";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+61
-63
@@ -1,67 +1,65 @@
|
||||
package cn.cloudwalk.client.resource.common.constant;
|
||||
|
||||
public class RsResourceRespCodeConstant {
|
||||
public static final String RESOURCE_ADD_FAIL = "53006000";
|
||||
|
||||
public static final String RESOURCE_EDIT_FAIL = "53006001";
|
||||
|
||||
public static final String RESOURCE_DELETE_FAIL = "53006002";
|
||||
|
||||
public static final String RESOURCE_ENABLE_FAIL = "53006003";
|
||||
|
||||
public static final String RESOURCE_DISABLE_FAIL = "53006004";
|
||||
|
||||
public static final String RESOURCE_DETAIL_FAIL = "53006005";
|
||||
|
||||
public static final String RESOURCE_LIST_FAIL = "53006006";
|
||||
|
||||
public static final String RESOURCE_PAGE_FAIL = "53006007";
|
||||
|
||||
public static final String RESOURCE_TREE_FAIL = "53006008";
|
||||
|
||||
public static final String RESOURCE_NAME_EMPTY = "53006009";
|
||||
|
||||
public static final String RESOURCE_NAME_ILLEGAL = "53006010";
|
||||
|
||||
public static final String RESOURCE_REMARK_ILLEGAL = "53006011";
|
||||
|
||||
public static final String RESOURCE_URL_ILLEGAL = "53006012";
|
||||
|
||||
public static final String RESOURCE_TYPE_EMPTY = "53006013";
|
||||
|
||||
public static final String RESOURCE_TYPE_ILLEGAL = "53006014";
|
||||
|
||||
public static final String RESOURCE_PARENT_ID_ILLEGAL = "53006015";
|
||||
|
||||
public static final String RESOURCE_ICON_ILLEGAL = "53006016";
|
||||
|
||||
public static final String RESOURCE_ORDER_BY_ILLEGAL = "53006017";
|
||||
|
||||
public static final String RESOURCE_ID_EMPTY = "53006018";
|
||||
|
||||
public static final String RESOURCE_ID_ILLEGAL = "53006019";
|
||||
|
||||
public static final String RESOURCE_CODE_ILLEGAL = "53006020";
|
||||
|
||||
public static final String RESOURCE_STATUS_ILLEGAL = "53006021";
|
||||
|
||||
public static final String RESOURCE_IDS_EMPTY = "53006022";
|
||||
|
||||
public static final String RESOURCE_IDS_ILLEGAL = "53006023";
|
||||
|
||||
public static final String RESOURCE_NAME_EXIST = "53006024";
|
||||
|
||||
public static final String RESOURCE_ID_NOT_EXIST = "53006025";
|
||||
|
||||
public static final String RESOURCE_PARENT_ID_NOT_EXIST = "53006026";
|
||||
|
||||
public static final String RESOURCE_API_ADD_FAIL = "53006030";
|
||||
|
||||
public static final String RESOURCE_API_DELETE_FAIL = "53006031";
|
||||
|
||||
public static final String RESOURCE_API_LIST_FAIL = "53006032";
|
||||
|
||||
public static final String RESOURCE_API_EXIST = "53006033";
|
||||
public static final String RESOURCE_ADD_FAIL = "53006000";
|
||||
|
||||
public static final String RESOURCE_EDIT_FAIL = "53006001";
|
||||
|
||||
public static final String RESOURCE_DELETE_FAIL = "53006002";
|
||||
|
||||
public static final String RESOURCE_ENABLE_FAIL = "53006003";
|
||||
|
||||
public static final String RESOURCE_DISABLE_FAIL = "53006004";
|
||||
|
||||
public static final String RESOURCE_DETAIL_FAIL = "53006005";
|
||||
|
||||
public static final String RESOURCE_LIST_FAIL = "53006006";
|
||||
|
||||
public static final String RESOURCE_PAGE_FAIL = "53006007";
|
||||
|
||||
public static final String RESOURCE_TREE_FAIL = "53006008";
|
||||
|
||||
public static final String RESOURCE_NAME_EMPTY = "53006009";
|
||||
|
||||
public static final String RESOURCE_NAME_ILLEGAL = "53006010";
|
||||
|
||||
public static final String RESOURCE_REMARK_ILLEGAL = "53006011";
|
||||
|
||||
public static final String RESOURCE_URL_ILLEGAL = "53006012";
|
||||
|
||||
public static final String RESOURCE_TYPE_EMPTY = "53006013";
|
||||
|
||||
public static final String RESOURCE_TYPE_ILLEGAL = "53006014";
|
||||
|
||||
public static final String RESOURCE_PARENT_ID_ILLEGAL = "53006015";
|
||||
|
||||
public static final String RESOURCE_ICON_ILLEGAL = "53006016";
|
||||
|
||||
public static final String RESOURCE_ORDER_BY_ILLEGAL = "53006017";
|
||||
|
||||
public static final String RESOURCE_ID_EMPTY = "53006018";
|
||||
|
||||
public static final String RESOURCE_ID_ILLEGAL = "53006019";
|
||||
|
||||
public static final String RESOURCE_CODE_ILLEGAL = "53006020";
|
||||
|
||||
public static final String RESOURCE_STATUS_ILLEGAL = "53006021";
|
||||
|
||||
public static final String RESOURCE_IDS_EMPTY = "53006022";
|
||||
|
||||
public static final String RESOURCE_IDS_ILLEGAL = "53006023";
|
||||
|
||||
public static final String RESOURCE_NAME_EXIST = "53006024";
|
||||
|
||||
public static final String RESOURCE_ID_NOT_EXIST = "53006025";
|
||||
|
||||
public static final String RESOURCE_PARENT_ID_NOT_EXIST = "53006026";
|
||||
|
||||
public static final String RESOURCE_API_ADD_FAIL = "53006030";
|
||||
|
||||
public static final String RESOURCE_API_DELETE_FAIL = "53006031";
|
||||
|
||||
public static final String RESOURCE_API_LIST_FAIL = "53006032";
|
||||
|
||||
public static final String RESOURCE_API_EXIST = "53006033";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+77
-79
@@ -1,83 +1,81 @@
|
||||
package cn.cloudwalk.client.resource.common.constant;
|
||||
|
||||
public class RsRoleRespCode {
|
||||
public static final String ROLE_ADD_FAIL = "53008000";
|
||||
|
||||
public static final String ROLE_EDIT_FAIL = "53008001";
|
||||
|
||||
public static final String ROLE_DELETE_FAIL = "53008002";
|
||||
|
||||
public static final String ROLE_ENABLE_FAIL = "53008003";
|
||||
|
||||
public static final String ROLE_DISABLE_FAIL = "53008004";
|
||||
|
||||
public static final String ROLE_DETAIL_FAIL = "53008005";
|
||||
|
||||
public static final String ROLE_LIST_FAIL = "53008006";
|
||||
|
||||
public static final String ROLE_PAGE_FAIL = "53008007";
|
||||
|
||||
public static final String ROLE_NAME_EMPTY = "53008008";
|
||||
|
||||
public static final String ROLE_NAME_ILLEGAL = "53008009";
|
||||
|
||||
public static final String ROLE_ORG_ID_ILLEGAL = "53008010";
|
||||
|
||||
public static final String ROLE_BUILT_IN_ILLEGAL = "53008011";
|
||||
|
||||
public static final String ROLE_REMARK_ILLEGAL = "53008012";
|
||||
|
||||
public static final String ROLE_ID_EMPTY = "53008013";
|
||||
|
||||
public static final String ROLE_ID_ILLEGAL = "53008014";
|
||||
|
||||
public static final String ROLE_IDS_EMPTY = "53008015";
|
||||
|
||||
public static final String ROLE_IDS_ILLEGAL = "53008016";
|
||||
|
||||
public static final String ROLE_SERVICE_CODE_ILLEGAL = "53008017";
|
||||
|
||||
public static final String ROLE_BUSINESS_ID_ILLEGAL = "53008018";
|
||||
|
||||
public static final String ROLE_APPLICATION_ID_ILLEGAL = "53008019";
|
||||
|
||||
public static final String ROLE_CODE_ILLEGAL = "53008020";
|
||||
|
||||
public static final String ROLE_STATUS_ILLEGAL = "53008021";
|
||||
|
||||
public static final String ROLE_NAME_EXIST = "53008022";
|
||||
|
||||
public static final String ROLE_RESOURCE_ADD_FAIL = "53008023";
|
||||
|
||||
public static final String ROLE_RESOURCE_DELETE_FAIL = "53008024";
|
||||
|
||||
public static final String ROLE_RESOURCE_LIST_FAIL = "53008025";
|
||||
|
||||
public static final String ROLE_RESOURCE_EXIST = "53008026";
|
||||
|
||||
public static final String ROLE_BUILT_IN_NOT_SUPPORT_EDIT = "53008030";
|
||||
|
||||
public static final String ROLE_BUILT_IN_NOT_SUPPORT_DELETE = "53008031";
|
||||
|
||||
public static final String ROLE_BUILT_IN_NOT_SUPPORT_ENABLE = "53008032";
|
||||
|
||||
public static final String ROLE_BUILT_IN_NOT_SUPPORT_DISABLE = "53008033";
|
||||
|
||||
public static final String ROLE_AUTH_ADD_FAIL = "53008040";
|
||||
|
||||
public static final String ROLE_AUTH_DELETE_FAIL = "53008041";
|
||||
|
||||
public static final String ROLE_AUTH_LIST_FAIL = "53008042";
|
||||
|
||||
public static final String ROLE_AUTH_EXIST = "53008043";
|
||||
|
||||
public static final String ROLE_API_ADD_FAIL = "53008050";
|
||||
|
||||
public static final String ROLE_API_DELETE_FAIL = "53008051";
|
||||
|
||||
public static final String ROLE_API_LIST_FAIL = "53008052";
|
||||
|
||||
public static final String ROLE_API_EXIST = "53008053";
|
||||
public static final String ROLE_ADD_FAIL = "53008000";
|
||||
|
||||
public static final String ROLE_EDIT_FAIL = "53008001";
|
||||
|
||||
public static final String ROLE_DELETE_FAIL = "53008002";
|
||||
|
||||
public static final String ROLE_ENABLE_FAIL = "53008003";
|
||||
|
||||
public static final String ROLE_DISABLE_FAIL = "53008004";
|
||||
|
||||
public static final String ROLE_DETAIL_FAIL = "53008005";
|
||||
|
||||
public static final String ROLE_LIST_FAIL = "53008006";
|
||||
|
||||
public static final String ROLE_PAGE_FAIL = "53008007";
|
||||
|
||||
public static final String ROLE_NAME_EMPTY = "53008008";
|
||||
|
||||
public static final String ROLE_NAME_ILLEGAL = "53008009";
|
||||
|
||||
public static final String ROLE_ORG_ID_ILLEGAL = "53008010";
|
||||
|
||||
public static final String ROLE_BUILT_IN_ILLEGAL = "53008011";
|
||||
|
||||
public static final String ROLE_REMARK_ILLEGAL = "53008012";
|
||||
|
||||
public static final String ROLE_ID_EMPTY = "53008013";
|
||||
|
||||
public static final String ROLE_ID_ILLEGAL = "53008014";
|
||||
|
||||
public static final String ROLE_IDS_EMPTY = "53008015";
|
||||
|
||||
public static final String ROLE_IDS_ILLEGAL = "53008016";
|
||||
|
||||
public static final String ROLE_SERVICE_CODE_ILLEGAL = "53008017";
|
||||
|
||||
public static final String ROLE_BUSINESS_ID_ILLEGAL = "53008018";
|
||||
|
||||
public static final String ROLE_APPLICATION_ID_ILLEGAL = "53008019";
|
||||
|
||||
public static final String ROLE_CODE_ILLEGAL = "53008020";
|
||||
|
||||
public static final String ROLE_STATUS_ILLEGAL = "53008021";
|
||||
|
||||
public static final String ROLE_NAME_EXIST = "53008022";
|
||||
|
||||
public static final String ROLE_RESOURCE_ADD_FAIL = "53008023";
|
||||
|
||||
public static final String ROLE_RESOURCE_DELETE_FAIL = "53008024";
|
||||
|
||||
public static final String ROLE_RESOURCE_LIST_FAIL = "53008025";
|
||||
|
||||
public static final String ROLE_RESOURCE_EXIST = "53008026";
|
||||
|
||||
public static final String ROLE_BUILT_IN_NOT_SUPPORT_EDIT = "53008030";
|
||||
|
||||
public static final String ROLE_BUILT_IN_NOT_SUPPORT_DELETE = "53008031";
|
||||
|
||||
public static final String ROLE_BUILT_IN_NOT_SUPPORT_ENABLE = "53008032";
|
||||
|
||||
public static final String ROLE_BUILT_IN_NOT_SUPPORT_DISABLE = "53008033";
|
||||
|
||||
public static final String ROLE_AUTH_ADD_FAIL = "53008040";
|
||||
|
||||
public static final String ROLE_AUTH_DELETE_FAIL = "53008041";
|
||||
|
||||
public static final String ROLE_AUTH_LIST_FAIL = "53008042";
|
||||
|
||||
public static final String ROLE_AUTH_EXIST = "53008043";
|
||||
|
||||
public static final String ROLE_API_ADD_FAIL = "53008050";
|
||||
|
||||
public static final String ROLE_API_DELETE_FAIL = "53008051";
|
||||
|
||||
public static final String ROLE_API_LIST_FAIL = "53008052";
|
||||
|
||||
public static final String ROLE_API_EXIST = "53008053";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+39
-41
@@ -1,45 +1,43 @@
|
||||
package cn.cloudwalk.client.resource.common.constant;
|
||||
|
||||
public class RsSettingRespCodeConstant {
|
||||
public static final String SETTING_GROUP_CODE_EMPTY = "53000000";
|
||||
|
||||
public static final String SETTING_GROUP_CODE_ILLEGAL = "53000001";
|
||||
|
||||
public static final String SETTING_FORM_TYPE_ILLEGAL = "53000002";
|
||||
|
||||
public static final String SETTING_NAME_ILLEGAL = "53000003";
|
||||
|
||||
public static final String SETTING_VISIBLE_ILLAGAL = "53000004";
|
||||
|
||||
public static final String SETTING_KEY_ILLAGAL = "53000005";
|
||||
|
||||
public static final String SETTING_STATUS_ILLEGAL = "53000006";
|
||||
|
||||
public static final String SETTING_EDIT_PARAM_EMPTY = "53000007";
|
||||
|
||||
public static final String SETTING_KEY_EMPTY = "53000008";
|
||||
|
||||
public static final String SETTING_VALUE_EMPTY = "53000009";
|
||||
|
||||
public static final String SETTING_VALUE_ILLEGAL = "53000010";
|
||||
|
||||
public static final String RESPONSE_SETTING_REPEATED = "53000011";
|
||||
|
||||
public static final String RESPONSE_SETTING_EDIT_EXCEPTION = "53000012";
|
||||
|
||||
public static final String RESPONSE_SETTING_RESET_EXCEPTION = "53000013";
|
||||
|
||||
public static final String RESPONSE_SETTING_QUERY_EXCEPTION = "53000014";
|
||||
|
||||
public static final String RESPONSE_SETTING_GROUPCODES_LENGTH = "53000015";
|
||||
|
||||
public static final String SETTING_PARENT_GROUP_CODE_EMPTY = "53000016";
|
||||
|
||||
public static final String SETTING_PARENT_GROUP_CODE_ILLEGAL = "53000017";
|
||||
|
||||
public static final String SETTING_API_CYPHER_TYPE_EMPTY = "53000100";
|
||||
|
||||
public static final String SETTING_API_CYPHER_TYPE_INVALID = "53000101";
|
||||
public static final String SETTING_GROUP_CODE_EMPTY = "53000000";
|
||||
|
||||
public static final String SETTING_GROUP_CODE_ILLEGAL = "53000001";
|
||||
|
||||
public static final String SETTING_FORM_TYPE_ILLEGAL = "53000002";
|
||||
|
||||
public static final String SETTING_NAME_ILLEGAL = "53000003";
|
||||
|
||||
public static final String SETTING_VISIBLE_ILLAGAL = "53000004";
|
||||
|
||||
public static final String SETTING_KEY_ILLAGAL = "53000005";
|
||||
|
||||
public static final String SETTING_STATUS_ILLEGAL = "53000006";
|
||||
|
||||
public static final String SETTING_EDIT_PARAM_EMPTY = "53000007";
|
||||
|
||||
public static final String SETTING_KEY_EMPTY = "53000008";
|
||||
|
||||
public static final String SETTING_VALUE_EMPTY = "53000009";
|
||||
|
||||
public static final String SETTING_VALUE_ILLEGAL = "53000010";
|
||||
|
||||
public static final String RESPONSE_SETTING_REPEATED = "53000011";
|
||||
|
||||
public static final String RESPONSE_SETTING_EDIT_EXCEPTION = "53000012";
|
||||
|
||||
public static final String RESPONSE_SETTING_RESET_EXCEPTION = "53000013";
|
||||
|
||||
public static final String RESPONSE_SETTING_QUERY_EXCEPTION = "53000014";
|
||||
|
||||
public static final String RESPONSE_SETTING_GROUPCODES_LENGTH = "53000015";
|
||||
|
||||
public static final String SETTING_PARENT_GROUP_CODE_EMPTY = "53000016";
|
||||
|
||||
public static final String SETTING_PARENT_GROUP_CODE_ILLEGAL = "53000017";
|
||||
|
||||
public static final String SETTING_API_CYPHER_TYPE_EMPTY = "53000100";
|
||||
|
||||
public static final String SETTING_API_CYPHER_TYPE_INVALID = "53000101";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+115
-117
@@ -1,121 +1,119 @@
|
||||
package cn.cloudwalk.client.resource.common.constant;
|
||||
|
||||
public class RsUserRespCodeConstant {
|
||||
public static final String USER_ADD_ERROR = "53002100";
|
||||
|
||||
public static final String USER_QUERY_ERROR = "53002101";
|
||||
|
||||
public static final String USER_UPDATE_ERROR = "53002102";
|
||||
|
||||
public static final String USER_REQUEST_ERROR = "53002104";
|
||||
|
||||
public static final String USER_CHANGE_STATUS_ERROR = "53002105";
|
||||
|
||||
public static final String USER_RESET_PWD_ERROR = "53002106";
|
||||
|
||||
public static final String USER_DEL_ERROR = "53002107";
|
||||
|
||||
public static final String USER_DETAIL_ERROR = "53002108";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_ORG_NOT_NULL = "53002035";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_ROLE_NOT_NULL = "53002036";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_ORG_NOT_EXIST = "53002041";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_ROLE = "53002042";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_ORG = "53002043";
|
||||
|
||||
public static final String USER_PARAM_PASSWORD_SALT_ILLEGAL = "53002044";
|
||||
|
||||
public static final String USER_PARAM_LOGIN_PWD_ERROR = "53002045";
|
||||
|
||||
public static final String USER_PARAM_CHECK_PWD_FAIL = "53002046";
|
||||
|
||||
public static final String USER_PARAM_OLD_PWD_ERROR = "53002047";
|
||||
|
||||
public static final String NEW_PDW_EQUALS_HISTORY_PWD = "53002048";
|
||||
|
||||
public static final String USER_PARAM_MODIFY_PWD_FAIL = "53002049";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_NAME_NOT_NULL = "53002002";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_NAME = "53002003";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_LOGIN_NAME_NOT_NULL = "53002012";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_LOGIN_NAME = "53002013";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_LOGIN_NAME_SPELL = "53002039";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_WORK_CODE = "53002037";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_TITLE = "53002008";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_POSITION = "53002038";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_TELEPHONE = "53002007";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_EMAIL = "53002006";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_REMARK = "53002009";
|
||||
|
||||
public static final String USER_PARAM_LOGIN_NAME_EXSIST = "53002016";
|
||||
|
||||
public static final String USER_PARAM_EMAIL_EXSIST = "53002050";
|
||||
|
||||
public static final String USER_PARAM_ID_NOT_NULL = "53002018";
|
||||
|
||||
public static final String USER_PARAM_ID_NOT_EXIST = "53002040";
|
||||
|
||||
public static final String USER_PARAM_ID_ILLEGAL = "53002019";
|
||||
|
||||
public static final String USER_PARAM_PASSWORD_NOT_NULL = "53002014";
|
||||
|
||||
public static final String USER_PARAM_PASSWORD_ILLEGAL = "53002015";
|
||||
|
||||
public static final String ADD_USER_ROLE_ERROR = "53002120";
|
||||
|
||||
public static final String DELETE_USER_ROLE_ERROR = "53002121";
|
||||
|
||||
public static final String QUERY_USER_ROLE_ERROR = "53002122";
|
||||
|
||||
public static final String USER_ROLE_EXIST = "53002123";
|
||||
|
||||
public static final String USER_PARAM_WORK_CODE_EXIST = "53002051";
|
||||
|
||||
public static final String USER_PARAM_IDS_EMPTY = "53002001";
|
||||
|
||||
public static final String USER_PARAM_IDS_ILLEGAL = "53002029";
|
||||
|
||||
public static final String USER_ID_OR_LOGIN_NAME_ILLEGAL = "53002052";
|
||||
|
||||
public static final String USER_PARAM_STATUS_ILLEGAL = "53002053";
|
||||
|
||||
public static final String USER_PARAM_LOGIN_ID_ILLEGAL = "53002054";
|
||||
|
||||
public static final String USER_PARAM_USER_LEVEL_ILLEGAL = "53002055";
|
||||
|
||||
public static final String USER_PARAM_PICTURE_PATH_ILLEGAL = "53002056";
|
||||
|
||||
public static final String USER_PARAM_LOGIN_NAME_ILLEGAL = "53002057";
|
||||
|
||||
public static final String USER_PARAM_SERVICE_CODE_ILLEGAL = "53002058";
|
||||
|
||||
public static final String USER_PARAM_BUSINESS_ID_ILLEGAL = "53002059";
|
||||
|
||||
public static final String USER_PARAM_LOGIN_ID_EXIST = "53002060";
|
||||
|
||||
public static final String USER_PARAM_LOGIN_ID_NOT_NULL = "53002061";
|
||||
|
||||
public static final String USER_PARAM_VISIBLE_ILLEGAL = "53002062";
|
||||
|
||||
public static final String USER_ADD_APPLICATION_FAIL = "53002130";
|
||||
|
||||
public static final String USER_DELETE_APPLICATION_FAIL = "53002131";
|
||||
|
||||
public static final String USER_QUERY_APPLICATION_FAIL = "53002132";
|
||||
public static final String USER_ADD_ERROR = "53002100";
|
||||
|
||||
public static final String USER_QUERY_ERROR = "53002101";
|
||||
|
||||
public static final String USER_UPDATE_ERROR = "53002102";
|
||||
|
||||
public static final String USER_REQUEST_ERROR = "53002104";
|
||||
|
||||
public static final String USER_CHANGE_STATUS_ERROR = "53002105";
|
||||
|
||||
public static final String USER_RESET_PWD_ERROR = "53002106";
|
||||
|
||||
public static final String USER_DEL_ERROR = "53002107";
|
||||
|
||||
public static final String USER_DETAIL_ERROR = "53002108";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_ORG_NOT_NULL = "53002035";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_ROLE_NOT_NULL = "53002036";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_ORG_NOT_EXIST = "53002041";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_ROLE = "53002042";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_ORG = "53002043";
|
||||
|
||||
public static final String USER_PARAM_PASSWORD_SALT_ILLEGAL = "53002044";
|
||||
|
||||
public static final String USER_PARAM_LOGIN_PWD_ERROR = "53002045";
|
||||
|
||||
public static final String USER_PARAM_CHECK_PWD_FAIL = "53002046";
|
||||
|
||||
public static final String USER_PARAM_OLD_PWD_ERROR = "53002047";
|
||||
|
||||
public static final String NEW_PDW_EQUALS_HISTORY_PWD = "53002048";
|
||||
|
||||
public static final String USER_PARAM_MODIFY_PWD_FAIL = "53002049";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_NAME_NOT_NULL = "53002002";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_NAME = "53002003";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_LOGIN_NAME_NOT_NULL = "53002012";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_LOGIN_NAME = "53002013";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_LOGIN_NAME_SPELL = "53002039";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_WORK_CODE = "53002037";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_TITLE = "53002008";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_POSITION = "53002038";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_TELEPHONE = "53002007";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_EMAIL = "53002006";
|
||||
|
||||
public static final String USER_PARAM_VALIDATE_REMARK = "53002009";
|
||||
|
||||
public static final String USER_PARAM_LOGIN_NAME_EXSIST = "53002016";
|
||||
|
||||
public static final String USER_PARAM_EMAIL_EXSIST = "53002050";
|
||||
|
||||
public static final String USER_PARAM_ID_NOT_NULL = "53002018";
|
||||
|
||||
public static final String USER_PARAM_ID_NOT_EXIST = "53002040";
|
||||
|
||||
public static final String USER_PARAM_ID_ILLEGAL = "53002019";
|
||||
|
||||
public static final String USER_PARAM_PASSWORD_NOT_NULL = "53002014";
|
||||
|
||||
public static final String USER_PARAM_PASSWORD_ILLEGAL = "53002015";
|
||||
|
||||
public static final String ADD_USER_ROLE_ERROR = "53002120";
|
||||
|
||||
public static final String DELETE_USER_ROLE_ERROR = "53002121";
|
||||
|
||||
public static final String QUERY_USER_ROLE_ERROR = "53002122";
|
||||
|
||||
public static final String USER_ROLE_EXIST = "53002123";
|
||||
|
||||
public static final String USER_PARAM_WORK_CODE_EXIST = "53002051";
|
||||
|
||||
public static final String USER_PARAM_IDS_EMPTY = "53002001";
|
||||
|
||||
public static final String USER_PARAM_IDS_ILLEGAL = "53002029";
|
||||
|
||||
public static final String USER_ID_OR_LOGIN_NAME_ILLEGAL = "53002052";
|
||||
|
||||
public static final String USER_PARAM_STATUS_ILLEGAL = "53002053";
|
||||
|
||||
public static final String USER_PARAM_LOGIN_ID_ILLEGAL = "53002054";
|
||||
|
||||
public static final String USER_PARAM_USER_LEVEL_ILLEGAL = "53002055";
|
||||
|
||||
public static final String USER_PARAM_PICTURE_PATH_ILLEGAL = "53002056";
|
||||
|
||||
public static final String USER_PARAM_LOGIN_NAME_ILLEGAL = "53002057";
|
||||
|
||||
public static final String USER_PARAM_SERVICE_CODE_ILLEGAL = "53002058";
|
||||
|
||||
public static final String USER_PARAM_BUSINESS_ID_ILLEGAL = "53002059";
|
||||
|
||||
public static final String USER_PARAM_LOGIN_ID_EXIST = "53002060";
|
||||
|
||||
public static final String USER_PARAM_LOGIN_ID_NOT_NULL = "53002061";
|
||||
|
||||
public static final String USER_PARAM_VISIBLE_ILLEGAL = "53002062";
|
||||
|
||||
public static final String USER_ADD_APPLICATION_FAIL = "53002130";
|
||||
|
||||
public static final String USER_DELETE_APPLICATION_FAIL = "53002131";
|
||||
|
||||
public static final String USER_QUERY_APPLICATION_FAIL = "53002132";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+14
-35
@@ -1,43 +1,22 @@
|
||||
package cn.cloudwalk.client.resource.common.en;
|
||||
|
||||
public enum ApiAuthTypeEnum {
|
||||
COMMON("1", "通用"), PRIVATE("2", "私有");
|
||||
|
||||
private String code;
|
||||
|
||||
private String desc;
|
||||
|
||||
ApiAuthTypeEnum(String code, String desc) {
|
||||
this.code = code;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum ApiAuthTypeEnum
|
||||
{
|
||||
COMMON("1", "通用"),
|
||||
PRIVATE("2", "私有");
|
||||
|
||||
|
||||
|
||||
|
||||
private String code;
|
||||
|
||||
|
||||
|
||||
private String desc;
|
||||
|
||||
|
||||
|
||||
|
||||
ApiAuthTypeEnum(String code, String desc) {
|
||||
this.code = code;
|
||||
this.desc = desc;
|
||||
public String getDesc() {
|
||||
return this.desc;
|
||||
}
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return this.desc;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+16
-34
@@ -1,44 +1,26 @@
|
||||
package cn.cloudwalk.client.resource.common.en;
|
||||
|
||||
public enum ApiTypeEnum {
|
||||
APPLICATION(Short.valueOf((short) 1), "应用API"),
|
||||
|
||||
SYSTEM(Short.valueOf((short) 2), "系统API"),
|
||||
|
||||
APPLICATION_AND_SYSTEM(Short.valueOf((short) 3), "应用API&系统API");
|
||||
|
||||
private Short code;
|
||||
|
||||
private String desc;
|
||||
|
||||
ApiTypeEnum(Short code, String desc) {
|
||||
this.code = code;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public Short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public enum ApiTypeEnum
|
||||
{
|
||||
APPLICATION(Short.valueOf((short)1), "应用API"),
|
||||
|
||||
SYSTEM(Short.valueOf((short)2), "系统API"),
|
||||
|
||||
APPLICATION_AND_SYSTEM(Short.valueOf((short)3), "应用API&系统API");
|
||||
|
||||
|
||||
|
||||
private Short code;
|
||||
|
||||
|
||||
|
||||
private String desc;
|
||||
|
||||
|
||||
|
||||
ApiTypeEnum(Short code, String desc) {
|
||||
this.code = code;
|
||||
this.desc = desc;
|
||||
public String getDesc() {
|
||||
return this.desc;
|
||||
}
|
||||
}
|
||||
|
||||
public Short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return this.desc;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+15
-27
@@ -1,36 +1,24 @@
|
||||
package cn.cloudwalk.client.resource.common.en;
|
||||
|
||||
public enum CommonStatusEnum {
|
||||
ENABLE(Short.valueOf((short) 1), "enable"),
|
||||
|
||||
DISABLE(Short.valueOf((short) 2), "disable");
|
||||
|
||||
private Short code;
|
||||
|
||||
public enum CommonStatusEnum
|
||||
{
|
||||
/* 8 */ ENABLE(Short.valueOf((short)1), "enable"),
|
||||
private String desc;
|
||||
|
||||
DISABLE(Short.valueOf((short)2), "disable");
|
||||
CommonStatusEnum(Short code, String desc) {
|
||||
this.code = code;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public Short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
|
||||
private Short code;
|
||||
|
||||
|
||||
|
||||
private String desc;
|
||||
|
||||
|
||||
|
||||
CommonStatusEnum(Short code, String desc) {
|
||||
this.code = code;
|
||||
this.desc = desc;
|
||||
public String getDesc() {
|
||||
return this.desc;
|
||||
}
|
||||
}
|
||||
|
||||
public Short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return this.desc;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+186
-307
@@ -1,313 +1,192 @@
|
||||
package cn.cloudwalk.client.resource.common.en;
|
||||
|
||||
public enum ResourceRespCodeEnum {
|
||||
RESPONSE_SUCCESS("00000000", "请求成功"),
|
||||
|
||||
RESPONSE_PARAM_INVALID("00000100", "请求参数无效"), RESPONSE_PARAM_ILLEGAL("10000000", "非法请求参数"),
|
||||
|
||||
PARAM_VALIDATE_REMARK("50000021", "type 长度范围 [1,255]"),
|
||||
|
||||
RESPONSE_SETTING_REPEATED("50001001", "系统配置编码不能重复"), RESPONSE_SETTING_SAVE_EXCEPTION("50001002", "系统配置保存异常"),
|
||||
RESPONSE_SETTING_RESET_EXCEPTION("50001003", "系统配置还原异常"),
|
||||
RESPONSE_SETTING_QUERY_EXCEPTION("50001004", "系统属性配置查询异常"),
|
||||
|
||||
DICT_SELECT_ERROR("50001051", "字典:查询数据库异常"), DICT_UPDATE_ERROR("50001052", "字典:更新数据库异常"),
|
||||
DICT_INSERT_ERROR("50001053", "字典:插入数据库异常"), DICT_DELETE_ERROR("50001054", "字典:删除数据库异常"),
|
||||
DICT_TYPE_CODE_INVALID("50001055", "数据字典类型编码无效"), DICT_CODE_REPETITION("50001056", "数据字典编码重复"),
|
||||
DICT_NAME_REPETITION("50001057", "数据字典编码名称重复"),
|
||||
|
||||
DICT_PARAM_VALIDATE_ID("50001021", "数据字典主键长度范围[32-32]"), DICT_PARAM_VALIDATE_ID_NOT_NULL("50001021", "数据字典主键不可为空"),
|
||||
DICT_PARAM_VALIDATE_CODE("50001021", "数据字典编码长度范围[1-32]"),
|
||||
DICT_PARAM_VALIDATE_CODE_NOT_NULL("50001021", "数据字典编码不可为空"),
|
||||
DICT_PARAM_VALIDATE_NAME("50001021", "数据字典名称长度范围[1-64]"),
|
||||
DICT_PARAM_VALIDATE_NAME_NOT_NULL("50001021", "数据字典名称不可为空"),
|
||||
DICT_PARAM_VALIDATE_STATUS("50001021", "数据字典状态取值范围{1,2}"),
|
||||
DICT_PARAM_VALIDATE_STATUS_NOT_NULL("50001021", "数据字典名称不可为空"),
|
||||
DICT_PARAM_VALIDATE_PARENT_ID("50001021", "数据字典父类型长度范围[32-32]"),
|
||||
DICT_PARAM_VALIDATE_PARENT_ID_NOT_NULL("50001021", "数据字典父类型不可为空"),
|
||||
DICT_PARAM_VALIDATE_TYPE_CODE("50001021", "字典类型长度范围[1-32]"),
|
||||
DICT_PARAM_VALIDATE_TYPE_CODE_NOT_NULL("50001021", "字典类型不可为空"),
|
||||
DICT_PARAM_VALIDATE_VISIBLE("50001021", "数据可见性取值范围{1,2}"),
|
||||
DICT_PARAM_VALIDATE_VISIBLE_NOT_NULL("50001021", "数据可见性不可为空"),
|
||||
DICT_PARAM_VALIDATE_SERVICE_CODE("50001021", "数据字典服务编码长度范围[1-32]"),
|
||||
DICT_PARAM_VALIDATE_SERVICE_CODE_NOT_NULL("50001021", "数据字典服务编码不可为空"),
|
||||
|
||||
PERSON_SELECT_ERROR("50001101", "人员管理:查询数据库异常"), PERSON_UPDATE_ERROR("50001102", "人员管理:更新数据库异常"),
|
||||
PERSON_INSERT_ERROR("50001103", "人员管理:插入数据库异常"), PERSON_DELETE_ERROR("50001104", "人员管理:删除数据库异常"),
|
||||
|
||||
PERSON_PARAM_VALIDATE_ID("50001111", "人员主键长度范围[32-32]"), PERSON_PARAM_VALIDATE_ID_NOT_NULL("50001111", "人员主键不可为空"),
|
||||
PERSON_PARAM_VALIDATE_CODE("50001111", "人员编码长度范围[1-32]"),
|
||||
PERSON_PARAM_VALIDATE_CODE_NOT_NULL("50001111", "人员编码不可为空"),
|
||||
PERSON_PARAM_VALIDATE_NAME("50001121", "人员名称长度范围[1-64]"),
|
||||
PERSON_PARAM_VALIDATE_NAME_NOT_NULL("50001121", "人员名称不可为空"),
|
||||
PERSON_PARAM_VALIDATE_STATUS("50001121", "人员状态取值范围{1,2}"),
|
||||
PERSON_PARAM_VALIDATE_STATUS_NOT_NULL("50001121", "人员典名称不可为空"),
|
||||
PERSON_PARAM_VALIDATE_ORG_ID("50001121", "人员机构长度范围[32,32]"),
|
||||
PERSON_PARAM_VALIDATE_ORG_ID_NOT_NULL("50001121", "人员机构不可为空"),
|
||||
PERSON_PARAM_VALIDATE_ORG_PATH("50001121", "人员机构路径长度范围[1,255]"),
|
||||
PERSON_PARAM_VALIDATE_ORG_PATH_NOT_NULL("50001121", "人员机构路径不可为空"),
|
||||
PERSON_PARAM_VALIDATE_CERT_TYPE("50001121", "人员证件类型长度范围[1,8]"),
|
||||
PERSON_PARAM_VALIDATE_CERT_TYPE_NOT_NULL("50001121", "人员证件类型不可为空"),
|
||||
PERSON_PARAM_VALIDATE_CERT_NO("50001121", "人员证件号长度范围[1,32]"),
|
||||
PERSON_PARAM_VALIDATE_CERT_NO_NOT_NULL("50001121", "人员证件号不可为空"),
|
||||
PERSON_PARAM_VALIDATE_TYPE("50001121", "人员类型长度范围[1,32]"),
|
||||
PERSON_PARAM_VALIDATE_TYPE_NOT_NULL("50001121", "人员类型不可为空"),
|
||||
PERSON_PARAM_VALIDATE_BIRTHDAY("50001121", "人员生日长度范围[1,10]"),
|
||||
PERSON_PARAM_VALIDATE_BIRTHDAY_NOT_NULL("50001121", "人员生日不可为空"),
|
||||
PERSON_PARAM_VALIDATE_SEX("50001121", "人员性别长度范围{1,2}"), PERSON_PARAM_VALIDATE_SEX_NOT_NULL("50001121", "人员性别不可为空"),
|
||||
PERSON_PARAM_VALIDATE_DUTY("50001121", "人员职务长度范围[1,64]"),
|
||||
PERSON_PARAM_VALIDATE_DUTY_NOT_NULL("50001121", "人员职务不可为空"),
|
||||
PERSON_PARAM_VALIDATE_POSITION("50001121", "人员职位长度范围[1,64]"),
|
||||
PERSON_PARAM_VALIDATE_POSITION_NOT_NULL("50001121", "人员不可为空"),
|
||||
PERSON_PARAM_VALIDATE_TELEPHONE("50001121", "人员电话长度范围[1,32]"),
|
||||
PERSON_PARAM_VALIDATE_TELEPHONE_NOT_NULL("50001121", "人员电话不可为空"),
|
||||
PERSON_PARAM_VALIDATE_EMAIL("50001121", "人员邮箱长度范围[1,64]"),
|
||||
PERSON_PARAM_VALIDATE_EMAIL_NOT_NULL("50001121", "人员邮箱不可为空"),
|
||||
PERSON_PARAM_VALIDATE_BUSINESS_ID("50001121", "人员企业ID长度范围[1,32]"),
|
||||
PERSON_PARAM_VALIDATE_BUSINESS_ID_NOT_NULL("50001121", "人员企业ID不可为空"),
|
||||
PERSON_PARAM_VALIDATE_APPLICATION_ID("50001121", "人员应用ID长度范围[1,32]"),
|
||||
PERSON_PARAM_VALIDATE_APPLICATION_ID_NOT_NULL("50001121", "人员应用ID不可为空"),
|
||||
PERSON_PARAM_VALIDATE_PARTITION_ID("50001121", "人员分区ID取值范围[0,99]"),
|
||||
PERSON_PARAM_VALIDATE_PARTITION_ID_NOT_NULL("50001121", "人员分区ID不可为空"),
|
||||
|
||||
RESPONSE_50001001("50001001", "新增组织机构失败"), RESPONSE_50001002("50001002", "编辑组织机构失败"),
|
||||
RESPONSE_50001003("50001003", "删除组织机构失败"), RESPONSE_50001004("50001004", "启用组织机构失败"),
|
||||
RESPONSE_50001005("50001005", "禁用组织机构失败"), RESPONSE_50001006("50001006", "变更父级机构失败"),
|
||||
RESPONSE_50001007("50001007", "获取组织机构详情失败"), RESPONSE_50001008("50001008", "查询组织机构列表失败"),
|
||||
RESPONSE_50001009("50001009", "分页查询组织机构失败"), RESPONSE_50001010("50001010", "机构名称已存在"),
|
||||
RESPONSE_50001011("50001011", "组织机构不存在"), RESPONSE_50001012("50001012", "上级组织机构不存在"),
|
||||
RESPONSE_50001013("50001013", "查询组织机构树失败"),
|
||||
|
||||
RESPONSE_50001021("50001021", "新增角色失败"), RESPONSE_50001022("50001022", "编辑角色失败"),
|
||||
RESPONSE_50001023("50001023", "删除角色失败"), RESPONSE_50001024("50001024", "启用角色失败"),
|
||||
RESPONSE_50001025("50001025", "禁用角色失败"), RESPONSE_50001026("50001026", "查询角色详情失败"),
|
||||
RESPONSE_50001027("50001027", "查询角色列表失败"), RESPONSE_50001028("50001028", "分页查询角色失败"),
|
||||
RESPONSE_50001029("50001029", "该角色名称已存在"),
|
||||
|
||||
RESPONSE_50001031("50001031", "新增权限失败"), RESPONSE_50001032("50001032", "编辑权限失败"),
|
||||
RESPONSE_50001033("50001033", "删除权限失败"), RESPONSE_50001034("50001034", "启用权限失败"),
|
||||
RESPONSE_50001035("50001035", "禁用权限失败"), RESPONSE_50001036("50001036", "获取权限详情失败"),
|
||||
RESPONSE_50001037("50001037", "查询权限列表失败"), RESPONSE_50001038("50001038", "分页查询权限失败"),
|
||||
RESPONSE_50001039("50001039", "该权限名称已存在"),
|
||||
|
||||
RESPONSE_50001041("50001041", "新增资源失败"), RESPONSE_50001042("50001042", "编辑资源失败"),
|
||||
RESPONSE_50001043("50001043", "删除资源失败"), RESPONSE_50001044("50001044", "启用资源失败"),
|
||||
RESPONSE_50001045("50001045", "禁用资源失败"), RESPONSE_50001046("50001046", "查询资源详情失败"),
|
||||
RESPONSE_50001047("50001047", "查询资源列表失败"), RESPONSE_50001048("50001048", "分页查询资源失败"),
|
||||
RESPONSE_50001049("50001049", "查询资源树失败"),
|
||||
|
||||
RESPONSE_50001051("50001051", "新增分组失败"), RESPONSE_50001052("50001052", "编辑分组失败"),
|
||||
RESPONSE_50001053("50001053", "删除分组失败"), RESPONSE_50001054("50001054", "启用分组失败"),
|
||||
RESPONSE_50001055("50001055", "禁用分组失败"), RESPONSE_50001056("50001056", "查询分组详情失败"),
|
||||
RESPONSE_50001057("50001057", "查询分组列表失败"), RESPONSE_50001058("50001058", "分页查询分组失败"),
|
||||
|
||||
RESPONSE_50001061("50001061", "新增API失败"), RESPONSE_50001062("50001062", "编辑API失败"),
|
||||
RESPONSE_50001063("50001063", "删除API失败"), RESPONSE_50001064("50001064", "启用API失败"),
|
||||
RESPONSE_50001065("50001065", "禁用API失败"), RESPONSE_50001066("50001066", "查询API详情失败"),
|
||||
RESPONSE_50001067("50001067", "查询API列表失败"), RESPONSE_50001068("50001068", "分页查询API失败"),
|
||||
|
||||
RESPONSE_50001071("50001071", "给分组添加用户失败"), RESPONSE_50001072("50001072", "删除分组中的用户失败"),
|
||||
RESPONSE_50001073("50001073", "查询分组中的用户列表失败"), RESPONSE_50001074("50001074", "用户已经存在该分组"),
|
||||
|
||||
RESPONSE_50001081("50001081", "给分组添加角色失败"), RESPONSE_50001082("50001082", "删除分组中的角色失败"),
|
||||
RESPONSE_50001083("50001083", "查询分组角色列表失败"), RESPONSE_50001084("50001084", "分组已经存在该角色"),
|
||||
|
||||
RESPONSE_50001091("50001091", "给用户添加角色失败"), RESPONSE_50001092("50001092", "删除用户关联角色失败"),
|
||||
RESPONSE_50001093("50001093", "查询用户角色列表失败"), RESPONSE_50001094("50001094", "用户已经存在该角色"),
|
||||
|
||||
RESPONSE_50001101("50001101", "给角色添加权限失败"), RESPONSE_50001102("50001102", "删除角色中的权限失败"),
|
||||
RESPONSE_50001103("50001103", "查询角色权限列表失败"), RESPONSE_50001104("50001104", "角色已经存在该权限"),
|
||||
|
||||
RESPONSE_50001111("50001111", "给权限添加资源失败"), RESPONSE_50001112("50001112", "删除权限中的资源失败"),
|
||||
RESPONSE_50001113("50001113", "查询权限资源列表失败"), RESPONSE_50001114("50001114", "权限已经存在该资源"),
|
||||
|
||||
RESPONSE_50001121("50001121", "给资源添加API失败"), RESPONSE_50001122("50001122", "删除资源中的API失败"),
|
||||
RESPONSE_50001123("50001123", "查询资源关联API列表失败"), RESPONSE_50001124("50001124", "资源已经存在该API"),
|
||||
|
||||
RESPONSE_50001131("50001131", "查询用户资源列表失败"),
|
||||
|
||||
RESPONSE_50001141("50001141", "查询角色资源列表失败"),
|
||||
|
||||
RESPONSE_50001151("50001151", "查询应用资源列表失败"),
|
||||
|
||||
RESPONSE_50001161("50001161", "查询用户API列表失败"),
|
||||
|
||||
RESPONSE_50001171("50001171", "查询角色API列表失败"),
|
||||
|
||||
RESPONSE_50001181("50001181", "查询应用API列表失败"),
|
||||
|
||||
RESPONSE_50001191("50001191", "该应用不存在"),
|
||||
|
||||
RESPONSE_50001200("50001200", "该用户不存在"), RESPONSE_50001201("50001201", "用户未登录"),
|
||||
RESPONSE_50001202("50001202", "用户名已经存在"), RESPONSE_50001203("50001203", "手机号已被使用"),
|
||||
RESPONSE_50001204("50001204", "只能更新本企业下的用户"), RESPONSE_50001205("50001205", "新增用户失败"),
|
||||
RESPONSE_50001206("50001206", "编辑用户失败"), RESPONSE_50001207("50001207", "删除用户失败"),
|
||||
RESPONSE_50001208("50001208", "启用用户失败"), RESPONSE_50001209("50001209", "禁用用户失败"),
|
||||
RESPONSE_50001210("50001210", "查询用户详情失败"), RESPONSE_50001211("50001211", "查询用户列表失败"),
|
||||
RESPONSE_50001212("50001212", "分页查询用户失败"), RESPONSE_50001213("50001213", "您不是智慧商业用户"),
|
||||
RESPONSE_50001214("50001214", "登录失败"), RESPONSE_50001215("50001215", "登录密码错误"),
|
||||
RESPONSE_50001216("50001216", "登录失败次数过"), RESPONSE_50001217("50001217", "帐号已被锁定"),
|
||||
RESPONSE_50001218("50001218", "帐号已被禁用"), RESPONSE_50001219("50001219", "帐号已过期"),
|
||||
RESPONSE_50001220("50001220", "帐号不存在"), RESPONSE_50001221("50001221", "您没有得到相应的授权"),
|
||||
RESPONSE_50001222("50001222", "获取当前登录用户失败"), RESPONSE_50001223("50001223", "用户登出失败"),
|
||||
|
||||
RESPONSE_50001224("50001224", "无效的 access token"), RESPONSE_50001225("50001225", "Access token过期"),
|
||||
RESPONSE_50001226("50001226", "无效的 refresh token"), RESPONSE_50001227("50001227", "Refresh token过期"),
|
||||
RESPONSE_50001228("50001228", "登录获取token失败"), RESPONSE_50001229("50001229", "校验登录token失败"),
|
||||
RESPONSE_50001230("50001230", "您不是刷脸支付用户");
|
||||
|
||||
private String code;
|
||||
|
||||
private String message;
|
||||
|
||||
ResourceRespCodeEnum(String code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static String getMessage(String code) {
|
||||
for (ResourceRespCodeEnum e : values()) {
|
||||
if (e.getCode().equals(code)) {
|
||||
return e.getMessage();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public enum ResourceRespCodeEnum
|
||||
{
|
||||
/* 11 */ RESPONSE_SUCCESS("00000000", "请求成功"),
|
||||
|
||||
|
||||
/* 14 */ RESPONSE_PARAM_INVALID("00000100", "请求参数无效"),
|
||||
/* 15 */ RESPONSE_PARAM_ILLEGAL("10000000", "非法请求参数"),
|
||||
|
||||
|
||||
|
||||
|
||||
/* 20 */ PARAM_VALIDATE_REMARK("50000021", "type 长度范围 [1,255]"),
|
||||
|
||||
|
||||
|
||||
/* 24 */ RESPONSE_SETTING_REPEATED("50001001", "系统配置编码不能重复"),
|
||||
/* 25 */ RESPONSE_SETTING_SAVE_EXCEPTION("50001002", "系统配置保存异常"),
|
||||
/* 26 */ RESPONSE_SETTING_RESET_EXCEPTION("50001003", "系统配置还原异常"),
|
||||
/* 27 */ RESPONSE_SETTING_QUERY_EXCEPTION("50001004", "系统属性配置查询异常"),
|
||||
|
||||
|
||||
/* 30 */ DICT_SELECT_ERROR("50001051", "字典:查询数据库异常"),
|
||||
/* 31 */ DICT_UPDATE_ERROR("50001052", "字典:更新数据库异常"),
|
||||
/* 32 */ DICT_INSERT_ERROR("50001053", "字典:插入数据库异常"),
|
||||
/* 33 */ DICT_DELETE_ERROR("50001054", "字典:删除数据库异常"),
|
||||
/* 34 */ DICT_TYPE_CODE_INVALID("50001055", "数据字典类型编码无效"),
|
||||
/* 35 */ DICT_CODE_REPETITION("50001056", "数据字典编码重复"),
|
||||
/* 36 */ DICT_NAME_REPETITION("50001057", "数据字典编码名称重复"),
|
||||
|
||||
/* 38 */ DICT_PARAM_VALIDATE_ID("50001021", "数据字典主键长度范围[32-32]"),
|
||||
/* 39 */ DICT_PARAM_VALIDATE_ID_NOT_NULL("50001021", "数据字典主键不可为空"),
|
||||
/* 40 */ DICT_PARAM_VALIDATE_CODE("50001021", "数据字典编码长度范围[1-32]"),
|
||||
/* 41 */ DICT_PARAM_VALIDATE_CODE_NOT_NULL("50001021", "数据字典编码不可为空"),
|
||||
/* 42 */ DICT_PARAM_VALIDATE_NAME("50001021", "数据字典名称长度范围[1-64]"),
|
||||
/* 43 */ DICT_PARAM_VALIDATE_NAME_NOT_NULL("50001021", "数据字典名称不可为空"),
|
||||
/* 44 */ DICT_PARAM_VALIDATE_STATUS("50001021", "数据字典状态取值范围{1,2}"),
|
||||
/* 45 */ DICT_PARAM_VALIDATE_STATUS_NOT_NULL("50001021", "数据字典名称不可为空"),
|
||||
/* 46 */ DICT_PARAM_VALIDATE_PARENT_ID("50001021", "数据字典父类型长度范围[32-32]"),
|
||||
/* 47 */ DICT_PARAM_VALIDATE_PARENT_ID_NOT_NULL("50001021", "数据字典父类型不可为空"),
|
||||
/* 48 */ DICT_PARAM_VALIDATE_TYPE_CODE("50001021", "字典类型长度范围[1-32]"),
|
||||
/* 49 */ DICT_PARAM_VALIDATE_TYPE_CODE_NOT_NULL("50001021", "字典类型不可为空"),
|
||||
/* 50 */ DICT_PARAM_VALIDATE_VISIBLE("50001021", "数据可见性取值范围{1,2}"),
|
||||
/* 51 */ DICT_PARAM_VALIDATE_VISIBLE_NOT_NULL("50001021", "数据可见性不可为空"),
|
||||
/* 52 */ DICT_PARAM_VALIDATE_SERVICE_CODE("50001021", "数据字典服务编码长度范围[1-32]"),
|
||||
/* 53 */ DICT_PARAM_VALIDATE_SERVICE_CODE_NOT_NULL("50001021", "数据字典服务编码不可为空"),
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* 65 */ PERSON_SELECT_ERROR("50001101", "人员管理:查询数据库异常"),
|
||||
/* 66 */ PERSON_UPDATE_ERROR("50001102", "人员管理:更新数据库异常"),
|
||||
/* 67 */ PERSON_INSERT_ERROR("50001103", "人员管理:插入数据库异常"),
|
||||
/* 68 */ PERSON_DELETE_ERROR("50001104", "人员管理:删除数据库异常"),
|
||||
|
||||
/* 70 */ PERSON_PARAM_VALIDATE_ID("50001111", "人员主键长度范围[32-32]"),
|
||||
/* 71 */ PERSON_PARAM_VALIDATE_ID_NOT_NULL("50001111", "人员主键不可为空"),
|
||||
/* 72 */ PERSON_PARAM_VALIDATE_CODE("50001111", "人员编码长度范围[1-32]"),
|
||||
/* 73 */ PERSON_PARAM_VALIDATE_CODE_NOT_NULL("50001111", "人员编码不可为空"),
|
||||
/* 74 */ PERSON_PARAM_VALIDATE_NAME("50001121", "人员名称长度范围[1-64]"),
|
||||
/* 75 */ PERSON_PARAM_VALIDATE_NAME_NOT_NULL("50001121", "人员名称不可为空"),
|
||||
/* 76 */ PERSON_PARAM_VALIDATE_STATUS("50001121", "人员状态取值范围{1,2}"),
|
||||
/* 77 */ PERSON_PARAM_VALIDATE_STATUS_NOT_NULL("50001121", "人员典名称不可为空"),
|
||||
/* 78 */ PERSON_PARAM_VALIDATE_ORG_ID("50001121", "人员机构长度范围[32,32]"),
|
||||
/* 79 */ PERSON_PARAM_VALIDATE_ORG_ID_NOT_NULL("50001121", "人员机构不可为空"),
|
||||
/* 80 */ PERSON_PARAM_VALIDATE_ORG_PATH("50001121", "人员机构路径长度范围[1,255]"),
|
||||
/* 81 */ PERSON_PARAM_VALIDATE_ORG_PATH_NOT_NULL("50001121", "人员机构路径不可为空"),
|
||||
/* 82 */ PERSON_PARAM_VALIDATE_CERT_TYPE("50001121", "人员证件类型长度范围[1,8]"),
|
||||
/* 83 */ PERSON_PARAM_VALIDATE_CERT_TYPE_NOT_NULL("50001121", "人员证件类型不可为空"),
|
||||
/* 84 */ PERSON_PARAM_VALIDATE_CERT_NO("50001121", "人员证件号长度范围[1,32]"),
|
||||
/* 85 */ PERSON_PARAM_VALIDATE_CERT_NO_NOT_NULL("50001121", "人员证件号不可为空"),
|
||||
/* 86 */ PERSON_PARAM_VALIDATE_TYPE("50001121", "人员类型长度范围[1,32]"),
|
||||
/* 87 */ PERSON_PARAM_VALIDATE_TYPE_NOT_NULL("50001121", "人员类型不可为空"),
|
||||
/* 88 */ PERSON_PARAM_VALIDATE_BIRTHDAY("50001121", "人员生日长度范围[1,10]"),
|
||||
/* 89 */ PERSON_PARAM_VALIDATE_BIRTHDAY_NOT_NULL("50001121", "人员生日不可为空"),
|
||||
/* 90 */ PERSON_PARAM_VALIDATE_SEX("50001121", "人员性别长度范围{1,2}"),
|
||||
/* 91 */ PERSON_PARAM_VALIDATE_SEX_NOT_NULL("50001121", "人员性别不可为空"),
|
||||
/* 92 */ PERSON_PARAM_VALIDATE_DUTY("50001121", "人员职务长度范围[1,64]"),
|
||||
/* 93 */ PERSON_PARAM_VALIDATE_DUTY_NOT_NULL("50001121", "人员职务不可为空"),
|
||||
/* 94 */ PERSON_PARAM_VALIDATE_POSITION("50001121", "人员职位长度范围[1,64]"),
|
||||
/* 95 */ PERSON_PARAM_VALIDATE_POSITION_NOT_NULL("50001121", "人员不可为空"),
|
||||
/* 96 */ PERSON_PARAM_VALIDATE_TELEPHONE("50001121", "人员电话长度范围[1,32]"),
|
||||
/* 97 */ PERSON_PARAM_VALIDATE_TELEPHONE_NOT_NULL("50001121", "人员电话不可为空"),
|
||||
/* 98 */ PERSON_PARAM_VALIDATE_EMAIL("50001121", "人员邮箱长度范围[1,64]"),
|
||||
/* 99 */ PERSON_PARAM_VALIDATE_EMAIL_NOT_NULL("50001121", "人员邮箱不可为空"),
|
||||
PERSON_PARAM_VALIDATE_BUSINESS_ID("50001121", "人员企业ID长度范围[1,32]"),
|
||||
PERSON_PARAM_VALIDATE_BUSINESS_ID_NOT_NULL("50001121", "人员企业ID不可为空"),
|
||||
PERSON_PARAM_VALIDATE_APPLICATION_ID("50001121", "人员应用ID长度范围[1,32]"),
|
||||
PERSON_PARAM_VALIDATE_APPLICATION_ID_NOT_NULL("50001121", "人员应用ID不可为空"),
|
||||
PERSON_PARAM_VALIDATE_PARTITION_ID("50001121", "人员分区ID取值范围[0,99]"),
|
||||
PERSON_PARAM_VALIDATE_PARTITION_ID_NOT_NULL("50001121", "人员分区ID不可为空"),
|
||||
|
||||
|
||||
RESPONSE_50001001("50001001", "新增组织机构失败"),
|
||||
RESPONSE_50001002("50001002", "编辑组织机构失败"),
|
||||
RESPONSE_50001003("50001003", "删除组织机构失败"),
|
||||
RESPONSE_50001004("50001004", "启用组织机构失败"),
|
||||
RESPONSE_50001005("50001005", "禁用组织机构失败"),
|
||||
RESPONSE_50001006("50001006", "变更父级机构失败"),
|
||||
RESPONSE_50001007("50001007", "获取组织机构详情失败"),
|
||||
RESPONSE_50001008("50001008", "查询组织机构列表失败"),
|
||||
RESPONSE_50001009("50001009", "分页查询组织机构失败"),
|
||||
RESPONSE_50001010("50001010", "机构名称已存在"),
|
||||
RESPONSE_50001011("50001011", "组织机构不存在"),
|
||||
RESPONSE_50001012("50001012", "上级组织机构不存在"),
|
||||
RESPONSE_50001013("50001013", "查询组织机构树失败"),
|
||||
|
||||
|
||||
RESPONSE_50001021("50001021", "新增角色失败"),
|
||||
RESPONSE_50001022("50001022", "编辑角色失败"),
|
||||
RESPONSE_50001023("50001023", "删除角色失败"),
|
||||
RESPONSE_50001024("50001024", "启用角色失败"),
|
||||
RESPONSE_50001025("50001025", "禁用角色失败"),
|
||||
RESPONSE_50001026("50001026", "查询角色详情失败"),
|
||||
RESPONSE_50001027("50001027", "查询角色列表失败"),
|
||||
RESPONSE_50001028("50001028", "分页查询角色失败"),
|
||||
RESPONSE_50001029("50001029", "该角色名称已存在"),
|
||||
|
||||
|
||||
RESPONSE_50001031("50001031", "新增权限失败"),
|
||||
RESPONSE_50001032("50001032", "编辑权限失败"),
|
||||
RESPONSE_50001033("50001033", "删除权限失败"),
|
||||
RESPONSE_50001034("50001034", "启用权限失败"),
|
||||
RESPONSE_50001035("50001035", "禁用权限失败"),
|
||||
RESPONSE_50001036("50001036", "获取权限详情失败"),
|
||||
RESPONSE_50001037("50001037", "查询权限列表失败"),
|
||||
RESPONSE_50001038("50001038", "分页查询权限失败"),
|
||||
RESPONSE_50001039("50001039", "该权限名称已存在"),
|
||||
|
||||
|
||||
RESPONSE_50001041("50001041", "新增资源失败"),
|
||||
RESPONSE_50001042("50001042", "编辑资源失败"),
|
||||
RESPONSE_50001043("50001043", "删除资源失败"),
|
||||
RESPONSE_50001044("50001044", "启用资源失败"),
|
||||
RESPONSE_50001045("50001045", "禁用资源失败"),
|
||||
RESPONSE_50001046("50001046", "查询资源详情失败"),
|
||||
RESPONSE_50001047("50001047", "查询资源列表失败"),
|
||||
RESPONSE_50001048("50001048", "分页查询资源失败"),
|
||||
RESPONSE_50001049("50001049", "查询资源树失败"),
|
||||
|
||||
|
||||
RESPONSE_50001051("50001051", "新增分组失败"),
|
||||
RESPONSE_50001052("50001052", "编辑分组失败"),
|
||||
RESPONSE_50001053("50001053", "删除分组失败"),
|
||||
RESPONSE_50001054("50001054", "启用分组失败"),
|
||||
RESPONSE_50001055("50001055", "禁用分组失败"),
|
||||
RESPONSE_50001056("50001056", "查询分组详情失败"),
|
||||
RESPONSE_50001057("50001057", "查询分组列表失败"),
|
||||
RESPONSE_50001058("50001058", "分页查询分组失败"),
|
||||
|
||||
|
||||
RESPONSE_50001061("50001061", "新增API失败"),
|
||||
RESPONSE_50001062("50001062", "编辑API失败"),
|
||||
RESPONSE_50001063("50001063", "删除API失败"),
|
||||
RESPONSE_50001064("50001064", "启用API失败"),
|
||||
RESPONSE_50001065("50001065", "禁用API失败"),
|
||||
RESPONSE_50001066("50001066", "查询API详情失败"),
|
||||
RESPONSE_50001067("50001067", "查询API列表失败"),
|
||||
RESPONSE_50001068("50001068", "分页查询API失败"),
|
||||
|
||||
|
||||
RESPONSE_50001071("50001071", "给分组添加用户失败"),
|
||||
RESPONSE_50001072("50001072", "删除分组中的用户失败"),
|
||||
RESPONSE_50001073("50001073", "查询分组中的用户列表失败"),
|
||||
RESPONSE_50001074("50001074", "用户已经存在该分组"),
|
||||
|
||||
|
||||
RESPONSE_50001081("50001081", "给分组添加角色失败"),
|
||||
RESPONSE_50001082("50001082", "删除分组中的角色失败"),
|
||||
RESPONSE_50001083("50001083", "查询分组角色列表失败"),
|
||||
RESPONSE_50001084("50001084", "分组已经存在该角色"),
|
||||
|
||||
|
||||
RESPONSE_50001091("50001091", "给用户添加角色失败"),
|
||||
RESPONSE_50001092("50001092", "删除用户关联角色失败"),
|
||||
RESPONSE_50001093("50001093", "查询用户角色列表失败"),
|
||||
RESPONSE_50001094("50001094", "用户已经存在该角色"),
|
||||
|
||||
|
||||
RESPONSE_50001101("50001101", "给角色添加权限失败"),
|
||||
RESPONSE_50001102("50001102", "删除角色中的权限失败"),
|
||||
RESPONSE_50001103("50001103", "查询角色权限列表失败"),
|
||||
RESPONSE_50001104("50001104", "角色已经存在该权限"),
|
||||
|
||||
|
||||
RESPONSE_50001111("50001111", "给权限添加资源失败"),
|
||||
RESPONSE_50001112("50001112", "删除权限中的资源失败"),
|
||||
RESPONSE_50001113("50001113", "查询权限资源列表失败"),
|
||||
RESPONSE_50001114("50001114", "权限已经存在该资源"),
|
||||
|
||||
|
||||
RESPONSE_50001121("50001121", "给资源添加API失败"),
|
||||
RESPONSE_50001122("50001122", "删除资源中的API失败"),
|
||||
RESPONSE_50001123("50001123", "查询资源关联API列表失败"),
|
||||
RESPONSE_50001124("50001124", "资源已经存在该API"),
|
||||
|
||||
|
||||
RESPONSE_50001131("50001131", "查询用户资源列表失败"),
|
||||
|
||||
|
||||
RESPONSE_50001141("50001141", "查询角色资源列表失败"),
|
||||
|
||||
|
||||
RESPONSE_50001151("50001151", "查询应用资源列表失败"),
|
||||
|
||||
|
||||
RESPONSE_50001161("50001161", "查询用户API列表失败"),
|
||||
|
||||
|
||||
RESPONSE_50001171("50001171", "查询角色API列表失败"),
|
||||
|
||||
|
||||
RESPONSE_50001181("50001181", "查询应用API列表失败"),
|
||||
|
||||
|
||||
RESPONSE_50001191("50001191", "该应用不存在"),
|
||||
|
||||
|
||||
RESPONSE_50001200("50001200", "该用户不存在"),
|
||||
RESPONSE_50001201("50001201", "用户未登录"),
|
||||
RESPONSE_50001202("50001202", "用户名已经存在"),
|
||||
RESPONSE_50001203("50001203", "手机号已被使用"),
|
||||
RESPONSE_50001204("50001204", "只能更新本企业下的用户"),
|
||||
RESPONSE_50001205("50001205", "新增用户失败"),
|
||||
RESPONSE_50001206("50001206", "编辑用户失败"),
|
||||
RESPONSE_50001207("50001207", "删除用户失败"),
|
||||
RESPONSE_50001208("50001208", "启用用户失败"),
|
||||
RESPONSE_50001209("50001209", "禁用用户失败"),
|
||||
RESPONSE_50001210("50001210", "查询用户详情失败"),
|
||||
RESPONSE_50001211("50001211", "查询用户列表失败"),
|
||||
RESPONSE_50001212("50001212", "分页查询用户失败"),
|
||||
RESPONSE_50001213("50001213", "您不是智慧商业用户"),
|
||||
RESPONSE_50001214("50001214", "登录失败"),
|
||||
RESPONSE_50001215("50001215", "登录密码错误"),
|
||||
RESPONSE_50001216("50001216", "登录失败次数过"),
|
||||
RESPONSE_50001217("50001217", "帐号已被锁定"),
|
||||
RESPONSE_50001218("50001218", "帐号已被禁用"),
|
||||
RESPONSE_50001219("50001219", "帐号已过期"),
|
||||
RESPONSE_50001220("50001220", "帐号不存在"),
|
||||
RESPONSE_50001221("50001221", "您没有得到相应的授权"),
|
||||
RESPONSE_50001222("50001222", "获取当前登录用户失败"),
|
||||
RESPONSE_50001223("50001223", "用户登出失败"),
|
||||
|
||||
RESPONSE_50001224("50001224", "无效的 access token"),
|
||||
RESPONSE_50001225("50001225", "Access token过期"),
|
||||
RESPONSE_50001226("50001226", "无效的 refresh token"),
|
||||
RESPONSE_50001227("50001227", "Refresh token过期"),
|
||||
RESPONSE_50001228("50001228", "登录获取token失败"),
|
||||
RESPONSE_50001229("50001229", "校验登录token失败"),
|
||||
RESPONSE_50001230("50001230", "您不是刷脸支付用户");
|
||||
|
||||
|
||||
|
||||
private String code;
|
||||
|
||||
|
||||
|
||||
private String message;
|
||||
|
||||
|
||||
|
||||
|
||||
ResourceRespCodeEnum(String code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public static String getMessage(String code) {
|
||||
for (ResourceRespCodeEnum e : values()) {
|
||||
if (e.getCode().equals(code)) {
|
||||
return e.getMessage();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+15
-30
@@ -1,39 +1,24 @@
|
||||
package cn.cloudwalk.client.resource.common.en;
|
||||
|
||||
public enum ResourceTypeEnum {
|
||||
MENU(Short.valueOf((short) 1), "功能"),
|
||||
|
||||
BUTTON(Short.valueOf((short) 2), "权限");
|
||||
|
||||
private Short code;
|
||||
|
||||
private String desc;
|
||||
|
||||
ResourceTypeEnum(Short code, String desc) {
|
||||
this.code = code;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public Short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public enum ResourceTypeEnum
|
||||
{
|
||||
MENU(Short.valueOf((short)1), "功能"),
|
||||
|
||||
BUTTON(Short.valueOf((short)2), "权限");
|
||||
|
||||
|
||||
|
||||
private Short code;
|
||||
|
||||
|
||||
|
||||
private String desc;
|
||||
|
||||
|
||||
|
||||
ResourceTypeEnum(Short code, String desc) {
|
||||
this.code = code;
|
||||
this.desc = desc;
|
||||
public String getDesc() {
|
||||
return this.desc;
|
||||
}
|
||||
}
|
||||
|
||||
public Short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return this.desc;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+37
-85
@@ -2,99 +2,51 @@ package cn.cloudwalk.client.resource.common.exception;
|
||||
|
||||
import cn.cloudwalk.client.resource.common.en.ResourceRespCodeEnum;
|
||||
|
||||
public class ResourceServiceException extends Exception {
|
||||
private static final long serialVersionUID = -7960761161797014731L;
|
||||
private String code;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public ResourceServiceException() {
|
||||
}
|
||||
|
||||
public ResourceServiceException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public ResourceServiceException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public ResourceServiceException(String code, String message) {
|
||||
this(message);
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public ResourceServiceException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public ResourceServiceException(ResourceRespCodeEnum respCodeEnum) {
|
||||
this(respCodeEnum.getMessage());
|
||||
this.code = respCodeEnum.getCode();
|
||||
}
|
||||
|
||||
public ResourceServiceException(ResourceRespCodeEnum respCodeEnum, Throwable cause) {
|
||||
super(respCodeEnum.getMessage(), cause);
|
||||
this.code = respCodeEnum.getCode();
|
||||
}
|
||||
|
||||
public class ResourceServiceException
|
||||
extends Exception
|
||||
{
|
||||
private static final long serialVersionUID = -7960761161797014731L;
|
||||
private String code;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
public static ResourceServiceException throwEx(String code) {
|
||||
ResourceServiceException exception = new ResourceServiceException();
|
||||
exception.setCode(code);
|
||||
return exception;
|
||||
}
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public ResourceServiceException() {}
|
||||
|
||||
|
||||
|
||||
|
||||
public ResourceServiceException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public ResourceServiceException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public ResourceServiceException(String code, String message) {
|
||||
this(message);
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public ResourceServiceException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public ResourceServiceException(ResourceRespCodeEnum respCodeEnum) {
|
||||
this(respCodeEnum.getMessage());
|
||||
this.code = respCodeEnum.getCode();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public ResourceServiceException(ResourceRespCodeEnum respCodeEnum, Throwable cause) {
|
||||
super(respCodeEnum.getMessage(), cause);
|
||||
this.code = respCodeEnum.getCode();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public static ResourceServiceException throwEx(String code) {
|
||||
ResourceServiceException exception = new ResourceServiceException();
|
||||
exception.setCode(code);
|
||||
return exception;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+22
-41
@@ -1,50 +1,31 @@
|
||||
package cn.cloudwalk.client.resource.common.param;
|
||||
|
||||
public class BaseLoginInjectionParam {
|
||||
private String serviceCode;
|
||||
private String businessId;
|
||||
private String applicationId;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class BaseLoginInjectionParam
|
||||
{
|
||||
private String serviceCode;
|
||||
private String businessId;
|
||||
private String applicationId;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+16
-32
@@ -2,40 +2,24 @@ package cn.cloudwalk.client.resource.common.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class SortParam implements Serializable {
|
||||
private static final long serialVersionUID = -4303992631764949313L;
|
||||
private String field;
|
||||
private String orderBy;
|
||||
|
||||
public String getField() {
|
||||
return this.field;
|
||||
}
|
||||
|
||||
public void setField(String field) {
|
||||
this.field = field;
|
||||
}
|
||||
|
||||
public String getOrderBy() {
|
||||
return this.orderBy;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class SortParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -4303992631764949313L;
|
||||
private String field;
|
||||
private String orderBy;
|
||||
|
||||
public String getField() {
|
||||
return this.field;
|
||||
public void setOrderBy(String orderBy) {
|
||||
this.orderBy = orderBy;
|
||||
}
|
||||
}
|
||||
|
||||
public void setField(String field) {
|
||||
this.field = field;
|
||||
}
|
||||
|
||||
public String getOrderBy() {
|
||||
return this.orderBy;
|
||||
}
|
||||
|
||||
public void setOrderBy(String orderBy) {
|
||||
this.orderBy = orderBy;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+61
-89
@@ -5,107 +5,79 @@ import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class DictAddParam {
|
||||
@NotBlank(message = "53001075")
|
||||
@Size(max = 32, message = "53001097")
|
||||
@Pattern(regexp = "^((?!#).)*$", message = "53001087")
|
||||
private String code;
|
||||
@NotBlank(message = "53001077")
|
||||
@Size(max = 60, message = "53001098")
|
||||
private String name;
|
||||
@Range(min = 1L, max = 2L, message = "53001078")
|
||||
private Short status;
|
||||
@Range(min = 1L, max = 999999L, message = "53001090")
|
||||
private Integer orderBy;
|
||||
@NotBlank(message = "53001083")
|
||||
@Size(max = 32, message = "53001096")
|
||||
private String typeCode;
|
||||
@Size(max = 32, message = "53001080")
|
||||
private String parentId;
|
||||
@Size(max = 255, message = "53001071")
|
||||
private String remark;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public Integer getOrderBy() {
|
||||
return this.orderBy;
|
||||
}
|
||||
|
||||
public String getTypeCode() {
|
||||
return this.typeCode;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public void setOrderBy(Integer orderBy) {
|
||||
this.orderBy = orderBy;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictAddParam
|
||||
{
|
||||
@NotBlank(message = "53001075")
|
||||
@Size(max = 32, message = "53001097")
|
||||
@Pattern(regexp = "^((?!#).)*$", message = "53001087")
|
||||
private String code;
|
||||
@NotBlank(message = "53001077")
|
||||
@Size(max = 60, message = "53001098")
|
||||
private String name;
|
||||
@Range(min = 1L, max = 2L, message = "53001078")
|
||||
private Short status;
|
||||
@Range(min = 1L, max = 999999L, message = "53001090")
|
||||
private Integer orderBy;
|
||||
@NotBlank(message = "53001083")
|
||||
@Size(max = 32, message = "53001096")
|
||||
private String typeCode;
|
||||
@Size(max = 32, message = "53001080")
|
||||
private String parentId;
|
||||
@Size(max = 255, message = "53001071")
|
||||
private String remark;
|
||||
|
||||
public String getCode() {
|
||||
/* 55 */ return this.code;
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 59 */ return this.name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
/* 63 */ return this.status;
|
||||
}
|
||||
|
||||
public Integer getOrderBy() {
|
||||
/* 67 */ return this.orderBy;
|
||||
}
|
||||
|
||||
public String getTypeCode() {
|
||||
/* 71 */ return this.typeCode;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
/* 75 */ return this.parentId;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
/* 79 */ return this.remark;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
/* 83 */ this.code = code;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 87 */ this.name = name;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
/* 91 */ this.status = status;
|
||||
}
|
||||
|
||||
public void setOrderBy(Integer orderBy) {
|
||||
/* 95 */ this.orderBy = orderBy;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
/* 99 */ this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+10
-26
@@ -3,32 +3,16 @@ package cn.cloudwalk.client.resource.dict.param;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class DictDeleteParam {
|
||||
@NotBlank(message = "53001073")
|
||||
@Size(max = 32, message = "53001072")
|
||||
private String id;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictDeleteParam
|
||||
{
|
||||
@NotBlank(message = "53001073")
|
||||
@Size(max = 32, message = "53001072")
|
||||
private String id;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+24
-39
@@ -4,49 +4,34 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class DictQueryCodeSParam {
|
||||
@Range(min = 1L, max = 2L, message = "53001078")
|
||||
private Short status;
|
||||
@Size(max = 32, message = "53001082")
|
||||
private String typeCode;
|
||||
private List<String> codes;
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getTypeCode() {
|
||||
return this.typeCode;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public List<String> getCodes() {
|
||||
return this.codes;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictQueryCodeSParam
|
||||
{
|
||||
@Range(min = 1L, max = 2L, message = "53001078")
|
||||
private Short status;
|
||||
@Size(max = 32, message = "53001082")
|
||||
private String typeCode;
|
||||
private List<String> codes;
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
public void setCodes(List<String> codes) {
|
||||
this.codes = codes;
|
||||
}
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getTypeCode() {
|
||||
return this.typeCode;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public List<String> getCodes() {
|
||||
return this.codes;
|
||||
}
|
||||
|
||||
public void setCodes(List<String> codes) {
|
||||
this.codes = codes;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+42
-65
@@ -4,79 +4,56 @@ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class DictQueryParam extends CloudwalkBasePageForm {
|
||||
private static final long serialVersionUID = 2556151136476345672L;
|
||||
@Size(max = 32, message = "53001074")
|
||||
private String code;
|
||||
@Size(max = 60, message = "53001076")
|
||||
private String name;
|
||||
@Size(max = 32, message = "53001080")
|
||||
private String parentId;
|
||||
@Size(max = 32, message = "53001082")
|
||||
private String typeCode;
|
||||
@Range(min = 1L, max = 2L, message = "53001078")
|
||||
private Short status;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public String getTypeCode() {
|
||||
return this.typeCode;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictQueryParam
|
||||
extends CloudwalkBasePageForm
|
||||
{
|
||||
private static final long serialVersionUID = 2556151136476345672L;
|
||||
@Size(max = 32, message = "53001074")
|
||||
private String code;
|
||||
@Size(max = 60, message = "53001076")
|
||||
private String name;
|
||||
@Size(max = 32, message = "53001080")
|
||||
private String parentId;
|
||||
@Size(max = 32, message = "53001082")
|
||||
private String typeCode;
|
||||
@Range(min = 1L, max = 2L, message = "53001078")
|
||||
private Short status;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public String getTypeCode() {
|
||||
return this.typeCode;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+8
-17
@@ -1,22 +1,13 @@
|
||||
package cn.cloudwalk.client.resource.dict.param;
|
||||
|
||||
public class DictQuerySonParam {
|
||||
private String key;
|
||||
|
||||
public String getKey() {
|
||||
return this.key;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictQuerySonParam
|
||||
{
|
||||
private String key;
|
||||
|
||||
public String getKey() {
|
||||
return this.key;
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
}
|
||||
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+12
-26
@@ -6,32 +6,18 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class DictStatusParam {
|
||||
@NotEmpty(message = "53001088")
|
||||
@Size(max = 999, message = "53001089")
|
||||
@ListItemNotBlank(message = "53001073")
|
||||
@ListItemLength(max = 32, message = "53001072")
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictStatusParam
|
||||
{
|
||||
@NotEmpty(message = "53001088")
|
||||
@Size(max = 999, message = "53001089")
|
||||
@ListItemNotBlank(message = "53001073")
|
||||
@ListItemLength(max = 32, message = "53001072")
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+19
-36
@@ -3,44 +3,27 @@ package cn.cloudwalk.client.resource.dict.param;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class DictSubsetParam {
|
||||
@NotBlank(message = "53001083")
|
||||
@Size(max = 32, message = "53001096")
|
||||
private String typeCode;
|
||||
@NotBlank(message = "53001075")
|
||||
@Size(max = 32, message = "53001097")
|
||||
private String code;
|
||||
|
||||
public String getTypeCode() {
|
||||
return this.typeCode;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictSubsetParam
|
||||
{
|
||||
@NotBlank(message = "53001083")
|
||||
@Size(max = 32, message = "53001096")
|
||||
private String typeCode;
|
||||
@NotBlank(message = "53001075")
|
||||
@Size(max = 32, message = "53001097")
|
||||
private String code;
|
||||
|
||||
public String getTypeCode() {
|
||||
return this.typeCode;
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+42
-68
@@ -4,82 +4,56 @@ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class DictTypeQueryParam extends CloudwalkBasePageForm {
|
||||
private static final long serialVersionUID = 837485682398458293L;
|
||||
@Size(max = 32, message = "53001082")
|
||||
private String code;
|
||||
@Size(max = 60, message = "53001092")
|
||||
private String name;
|
||||
@Range(min = 1L, max = 2L, message = "53001099")
|
||||
private Short status;
|
||||
@Range(min = 1L, max = 2L, message = "53001084")
|
||||
private Short visible;
|
||||
@Size(max = 32, message = "53001086")
|
||||
private String serviceCode;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Short getVisible() {
|
||||
return this.visible;
|
||||
}
|
||||
|
||||
public void setVisible(Short visible) {
|
||||
this.visible = visible;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictTypeQueryParam
|
||||
extends CloudwalkBasePageForm
|
||||
{
|
||||
private static final long serialVersionUID = 837485682398458293L;
|
||||
@Size(max = 32, message = "53001082")
|
||||
private String code;
|
||||
@Size(max = 60, message = "53001092")
|
||||
private String name;
|
||||
@Range(min = 1L, max = 2L, message = "53001099")
|
||||
private Short status;
|
||||
@Range(min = 1L, max = 2L, message = "53001084")
|
||||
private Short visible;
|
||||
@Size(max = 32, message = "53001086")
|
||||
private String serviceCode;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Short getVisible() {
|
||||
return this.visible;
|
||||
}
|
||||
|
||||
public void setVisible(Short visible) {
|
||||
this.visible = visible;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+12
-29
@@ -6,35 +6,18 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class DictTypeStatusParam {
|
||||
@NotEmpty(message = "53001091")
|
||||
@Size(max = 999, message = "53001093")
|
||||
@ListItemNotBlank(message = "53001094")
|
||||
@ListItemLength(max = 32, message = "53001095")
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictTypeStatusParam
|
||||
{
|
||||
@NotEmpty(message = "53001091")
|
||||
@Size(max = 999, message = "53001093")
|
||||
@ListItemNotBlank(message = "53001094")
|
||||
@ListItemLength(max = 32, message = "53001095")
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+10
-23
@@ -3,29 +3,16 @@ package cn.cloudwalk.client.resource.dict.param;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class DictTypeUpdateParam {
|
||||
@NotBlank(message = "53001073")
|
||||
@Size(min = 32, max = 32, message = "53001072")
|
||||
private String id;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictTypeUpdateParam
|
||||
{
|
||||
@NotBlank(message = "53001073")
|
||||
@Size(min = 32, max = 32, message = "53001072")
|
||||
private String id;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+35
-62
@@ -4,74 +4,47 @@ import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class DictUpdateParam {
|
||||
@NotBlank(message = "53001073")
|
||||
@Size(max = 32, message = "53001072")
|
||||
private String id;
|
||||
@NotBlank(message = "53001077")
|
||||
@Size(max = 60, message = "53001098")
|
||||
private String name;
|
||||
@Range(min = 1L, max = 999999L, message = "53001090")
|
||||
private Integer orderBy;
|
||||
@Size(max = 255, message = "53001071")
|
||||
private String remark;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Integer getOrderBy() {
|
||||
return this.orderBy;
|
||||
}
|
||||
|
||||
public void setOrderBy(Integer orderBy) {
|
||||
this.orderBy = orderBy;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictUpdateParam
|
||||
{
|
||||
@NotBlank(message = "53001073")
|
||||
@Size(max = 32, message = "53001072")
|
||||
private String id;
|
||||
@NotBlank(message = "53001077")
|
||||
@Size(max = 60, message = "53001098")
|
||||
private String name;
|
||||
@Range(min = 1L, max = 999999L, message = "53001090")
|
||||
private Integer orderBy;
|
||||
@Size(max = 255, message = "53001071")
|
||||
private String remark;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Integer getOrderBy() {
|
||||
return this.orderBy;
|
||||
}
|
||||
|
||||
public void setOrderBy(Integer orderBy) {
|
||||
this.orderBy = orderBy;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+19
-34
@@ -2,43 +2,28 @@ package cn.cloudwalk.client.resource.dict.result;
|
||||
|
||||
import cn.cloudwalk.client.resource.dict.param.DictAddParam;
|
||||
|
||||
public class DictAddErrResult {
|
||||
private DictAddParam addParam;
|
||||
private String message;
|
||||
|
||||
public DictAddErrResult(DictAddParam addParam, String message) {
|
||||
this.addParam = addParam;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public DictAddParam getAddParam() {
|
||||
return this.addParam;
|
||||
}
|
||||
|
||||
public void setAddParam(DictAddParam addParam) {
|
||||
this.addParam = addParam;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictAddErrResult
|
||||
{
|
||||
private DictAddParam addParam;
|
||||
private String message;
|
||||
|
||||
public DictAddErrResult(DictAddParam addParam, String message) {
|
||||
this.addParam = addParam;
|
||||
this.message = message;
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
|
||||
public DictAddParam getAddParam() {
|
||||
return this.addParam;
|
||||
}
|
||||
|
||||
public void setAddParam(DictAddParam addParam) {
|
||||
this.addParam = addParam;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+51
-73
@@ -2,91 +2,69 @@ package cn.cloudwalk.client.resource.dict.result;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
|
||||
public class DictAddResult extends CloudwalkBaseTimes {
|
||||
private static final long serialVersionUID = -998486971902218741L;
|
||||
private String code;
|
||||
private String name;
|
||||
private Short status;
|
||||
private String typeCode;
|
||||
private String parentId;
|
||||
private Integer orderBy;
|
||||
private String remark;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getTypeCode() {
|
||||
return this.typeCode;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public Integer getOrderBy() {
|
||||
return this.orderBy;
|
||||
}
|
||||
|
||||
public void setOrderBy(Integer orderBy) {
|
||||
this.orderBy = orderBy;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictAddResult
|
||||
extends CloudwalkBaseTimes
|
||||
{
|
||||
private static final long serialVersionUID = -998486971902218741L;
|
||||
private String code;
|
||||
private String name;
|
||||
private Short status;
|
||||
private String typeCode;
|
||||
private String parentId;
|
||||
private Integer orderBy;
|
||||
private String remark;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getTypeCode() {
|
||||
return this.typeCode;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public Integer getOrderBy() {
|
||||
return this.orderBy;
|
||||
}
|
||||
|
||||
public void setOrderBy(Integer orderBy) {
|
||||
this.orderBy = orderBy;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+36
-57
@@ -2,70 +2,49 @@ package cn.cloudwalk.client.resource.dict.result;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class DictBatchImportResult {
|
||||
private String batchId;
|
||||
private Integer failCount;
|
||||
private Integer successCount;
|
||||
private List<DictAddErrResult> resultList;
|
||||
|
||||
public DictBatchImportResult(String batchId, Integer failCount, Integer successCount,
|
||||
List<DictAddErrResult> resultList) {
|
||||
this.batchId = batchId;
|
||||
this.failCount = failCount;
|
||||
this.successCount = successCount;
|
||||
this.resultList = resultList;
|
||||
}
|
||||
|
||||
public String getBatchId() {
|
||||
return this.batchId;
|
||||
}
|
||||
|
||||
public void setBatchId(String batchId) {
|
||||
this.batchId = batchId;
|
||||
}
|
||||
|
||||
public Integer getFailCount() {
|
||||
return this.failCount;
|
||||
}
|
||||
|
||||
public void setFailCount(Integer failCount) {
|
||||
this.failCount = failCount;
|
||||
}
|
||||
|
||||
public Integer getSuccessCount() {
|
||||
return this.successCount;
|
||||
}
|
||||
|
||||
public void setSuccessCount(Integer successCount) {
|
||||
this.successCount = successCount;
|
||||
}
|
||||
|
||||
public List<DictAddErrResult> getResultList() {
|
||||
return this.resultList;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictBatchImportResult
|
||||
{
|
||||
private String batchId;
|
||||
private Integer failCount;
|
||||
private Integer successCount;
|
||||
private List<DictAddErrResult> resultList;
|
||||
|
||||
public DictBatchImportResult(String batchId, Integer failCount, Integer successCount, List<DictAddErrResult> resultList) {
|
||||
this.batchId = batchId;
|
||||
this.failCount = failCount;
|
||||
this.successCount = successCount;
|
||||
this.resultList = resultList;
|
||||
public void setResultList(List<DictAddErrResult> resultList) {
|
||||
this.resultList = resultList;
|
||||
}
|
||||
}
|
||||
|
||||
public String getBatchId() {
|
||||
return this.batchId;
|
||||
}
|
||||
|
||||
public void setBatchId(String batchId) {
|
||||
this.batchId = batchId;
|
||||
}
|
||||
|
||||
public Integer getFailCount() {
|
||||
return this.failCount;
|
||||
}
|
||||
|
||||
public void setFailCount(Integer failCount) {
|
||||
this.failCount = failCount;
|
||||
}
|
||||
|
||||
public Integer getSuccessCount() {
|
||||
return this.successCount;
|
||||
}
|
||||
|
||||
public void setSuccessCount(Integer successCount) {
|
||||
this.successCount = successCount;
|
||||
}
|
||||
|
||||
public List<DictAddErrResult> getResultList() {
|
||||
return this.resultList;
|
||||
}
|
||||
|
||||
public void setResultList(List<DictAddErrResult> resultList) {
|
||||
this.resultList = resultList;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+85
-117
@@ -1,144 +1,112 @@
|
||||
package cn.cloudwalk.client.resource.dict.result;
|
||||
|
||||
public class DictQueryResult {
|
||||
private String id;
|
||||
private String code;
|
||||
private String name;
|
||||
private Short status;
|
||||
private String typeCode;
|
||||
private String parentId;
|
||||
private Integer orderBy;
|
||||
private Long createTime;
|
||||
private String createUserId;
|
||||
private Long lastUpdateTime;
|
||||
private String lastUpdateUserId;
|
||||
private String remark;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getTypeCode() {
|
||||
return this.typeCode;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public Integer getOrderBy() {
|
||||
return this.orderBy;
|
||||
}
|
||||
|
||||
public void setOrderBy(Integer orderBy) {
|
||||
this.orderBy = orderBy;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getCreateUserId() {
|
||||
return this.createUserId;
|
||||
}
|
||||
|
||||
public void setCreateUserId(String createUserId) {
|
||||
this.createUserId = createUserId;
|
||||
}
|
||||
|
||||
public Long getLastUpdateTime() {
|
||||
return this.lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setLastUpdateTime(Long lastUpdateTime) {
|
||||
this.lastUpdateTime = lastUpdateTime;
|
||||
}
|
||||
|
||||
public String getLastUpdateUserId() {
|
||||
return this.lastUpdateUserId;
|
||||
}
|
||||
|
||||
public void setLastUpdateUserId(String lastUpdateUserId) {
|
||||
this.lastUpdateUserId = lastUpdateUserId;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictQueryResult
|
||||
{
|
||||
private String id;
|
||||
private String code;
|
||||
private String name;
|
||||
private Short status;
|
||||
private String typeCode;
|
||||
private String parentId;
|
||||
private Integer orderBy;
|
||||
private Long createTime;
|
||||
private String createUserId;
|
||||
private Long lastUpdateTime;
|
||||
private String lastUpdateUserId;
|
||||
private String remark;
|
||||
|
||||
public String getId() {
|
||||
/* 48 */ return this.id;
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
/* 52 */ this.id = id;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
/* 56 */ return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
/* 60 */ this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 64 */ return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 68 */ this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
/* 72 */ return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
/* 76 */ this.status = status;
|
||||
}
|
||||
|
||||
public String getTypeCode() {
|
||||
/* 80 */ return this.typeCode;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
/* 84 */ this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
/* 88 */ return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
/* 92 */ this.parentId = parentId;
|
||||
}
|
||||
|
||||
public Integer getOrderBy() {
|
||||
/* 96 */ return this.orderBy;
|
||||
}
|
||||
|
||||
public void setOrderBy(Integer orderBy) {
|
||||
this.orderBy = orderBy;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getCreateUserId() {
|
||||
return this.createUserId;
|
||||
}
|
||||
|
||||
public void setCreateUserId(String createUserId) {
|
||||
this.createUserId = createUserId;
|
||||
}
|
||||
|
||||
public Long getLastUpdateTime() {
|
||||
return this.lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setLastUpdateTime(Long lastUpdateTime) {
|
||||
this.lastUpdateTime = lastUpdateTime;
|
||||
}
|
||||
|
||||
public String getLastUpdateUserId() {
|
||||
return this.lastUpdateUserId;
|
||||
}
|
||||
|
||||
public void setLastUpdateUserId(String lastUpdateUserId) {
|
||||
this.lastUpdateUserId = lastUpdateUserId;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+50
-72
@@ -1,89 +1,67 @@
|
||||
package cn.cloudwalk.client.resource.dict.result;
|
||||
|
||||
public class DictTypeQueryResult {
|
||||
private String id;
|
||||
private String code;
|
||||
private String name;
|
||||
private Short status;
|
||||
private Short visible;
|
||||
private String serviceCode;
|
||||
private String remark;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Short getVisible() {
|
||||
return this.visible;
|
||||
}
|
||||
|
||||
public void setVisible(Short visible) {
|
||||
this.visible = visible;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DictTypeQueryResult
|
||||
{
|
||||
private String id;
|
||||
private String code;
|
||||
private String name;
|
||||
private Short status;
|
||||
private Short visible;
|
||||
private String serviceCode;
|
||||
private String remark;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Short getVisible() {
|
||||
return this.visible;
|
||||
}
|
||||
|
||||
public void setVisible(Short visible) {
|
||||
this.visible = visible;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+32
-23
@@ -17,27 +17,36 @@ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface DictService {
|
||||
CloudwalkResult<List<DictQueryResult>> query(DictQueryParam paramDictQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<DictQueryResult>> queryLevel1(DictQueryParam paramDictQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<DictQueryResult>> subset(DictSubsetParam paramDictSubsetParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<DictQueryResult>> page(DictQueryParam paramDictQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<DictQueryResult>> queryDictCodeS(DictQueryCodeSParam paramDictQueryCodeSParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<DictAddResult> add(DictAddParam paramDictAddParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> edit(DictUpdateParam paramDictUpdateParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(DictDeleteParam paramDictDeleteParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> disable(DictStatusParam paramDictStatusParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enable(DictStatusParam paramDictStatusParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<DictBatchImportResult> batchImport(List<DictAddParam> paramList, CloudwalkCallContext paramCloudwalkCallContext, int paramInt) throws ServiceException;
|
||||
CloudwalkResult<List<DictQueryResult>> query(DictQueryParam paramDictQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<DictQueryResult>> queryLevel1(DictQueryParam paramDictQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<DictQueryResult>> subset(DictSubsetParam paramDictSubsetParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<DictQueryResult>> page(DictQueryParam paramDictQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<DictQueryResult>> queryDictCodeS(DictQueryCodeSParam paramDictQueryCodeSParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<DictAddResult> add(DictAddParam paramDictAddParam, CloudwalkCallContext paramCloudwalkCallContext)
|
||||
throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> edit(DictUpdateParam paramDictUpdateParam, CloudwalkCallContext paramCloudwalkCallContext)
|
||||
throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(DictDeleteParam paramDictDeleteParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> disable(DictStatusParam paramDictStatusParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enable(DictStatusParam paramDictStatusParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<DictBatchImportResult> batchImport(List<DictAddParam> paramList,
|
||||
CloudwalkCallContext paramCloudwalkCallContext, int paramInt) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+11
-9
@@ -10,13 +10,15 @@ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface DictTypeService {
|
||||
CloudwalkResult<List<DictTypeQueryResult>> query(DictTypeQueryParam paramDictTypeQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<DictTypeQueryResult>> page(DictTypeQueryParam paramDictTypeQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enable(DictTypeStatusParam paramDictTypeStatusParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> disable(DictTypeStatusParam paramDictTypeStatusParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
CloudwalkResult<List<DictTypeQueryResult>> query(DictTypeQueryParam paramDictTypeQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<DictTypeQueryResult>> page(DictTypeQueryParam paramDictTypeQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enable(DictTypeStatusParam paramDictTypeStatusParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> disable(DictTypeStatusParam paramDictTypeStatusParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+44
-77
@@ -3,93 +3,60 @@ package cn.cloudwalk.client.resource.enterprise.param;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.util.List;
|
||||
|
||||
public class EnterpriseQueryParam extends CloudwalkBasePageForm {
|
||||
private static final long serialVersionUID = 4694598545857287148L;
|
||||
private String corpName;
|
||||
private List<String> corpCodes;
|
||||
private String loginName;
|
||||
private String name;
|
||||
private Short status;
|
||||
private Short userLevel;
|
||||
|
||||
public String getCorpName() {
|
||||
return this.corpName;
|
||||
}
|
||||
|
||||
public void setCorpName(String corpName) {
|
||||
this.corpName = corpName;
|
||||
}
|
||||
|
||||
public List<String> getCorpCodes() {
|
||||
return this.corpCodes;
|
||||
}
|
||||
|
||||
public void setCorpCodes(List<String> corpCodes) {
|
||||
this.corpCodes = corpCodes;
|
||||
}
|
||||
|
||||
public String getLoginName() {
|
||||
return this.loginName;
|
||||
}
|
||||
|
||||
public void setLoginName(String loginName) {
|
||||
this.loginName = loginName;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Short getUserLevel() {
|
||||
return this.userLevel;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseQueryParam
|
||||
extends CloudwalkBasePageForm
|
||||
{
|
||||
private static final long serialVersionUID = 4694598545857287148L;
|
||||
private String corpName;
|
||||
private List<String> corpCodes;
|
||||
private String loginName;
|
||||
private String name;
|
||||
private Short status;
|
||||
private Short userLevel;
|
||||
|
||||
public String getCorpName() {
|
||||
return this.corpName;
|
||||
public void setUserLevel(Short userLevel) {
|
||||
this.userLevel = userLevel;
|
||||
}
|
||||
}
|
||||
|
||||
public void setCorpName(String corpName) {
|
||||
this.corpName = corpName;
|
||||
}
|
||||
|
||||
public List<String> getCorpCodes() {
|
||||
return this.corpCodes;
|
||||
}
|
||||
|
||||
public void setCorpCodes(List<String> corpCodes) {
|
||||
this.corpCodes = corpCodes;
|
||||
}
|
||||
|
||||
public String getLoginName() {
|
||||
return this.loginName;
|
||||
}
|
||||
|
||||
public void setLoginName(String loginName) {
|
||||
this.loginName = loginName;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Short getUserLevel() {
|
||||
return this.userLevel;
|
||||
}
|
||||
|
||||
public void setUserLevel(Short userLevel) {
|
||||
this.userLevel = userLevel;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+93
-153
@@ -2,183 +2,123 @@ package cn.cloudwalk.client.resource.enterprise.result;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
|
||||
public class EnterpriseResult extends CloudwalkBaseTimes {
|
||||
private static final long serialVersionUID = 1803902156130377090L;
|
||||
private String corpName;
|
||||
private String corpCode;
|
||||
private Short status;
|
||||
private String loginName;
|
||||
private String name;
|
||||
private String telephone;
|
||||
private String email;
|
||||
private String remark;
|
||||
private String ext1;
|
||||
private String ext2;
|
||||
private String ext3;
|
||||
private String loginId;
|
||||
private String userId;
|
||||
|
||||
public String getCorpName() {
|
||||
return this.corpName;
|
||||
}
|
||||
|
||||
public void setCorpName(String corpName) {
|
||||
this.corpName = corpName;
|
||||
}
|
||||
|
||||
public String getCorpCode() {
|
||||
return this.corpCode;
|
||||
}
|
||||
|
||||
public void setCorpCode(String corpCode) {
|
||||
this.corpCode = corpCode;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getLoginName() {
|
||||
return this.loginName;
|
||||
}
|
||||
|
||||
public void setLoginName(String loginName) {
|
||||
this.loginName = loginName;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getTelephone() {
|
||||
return this.telephone;
|
||||
}
|
||||
|
||||
public void setTelephone(String telephone) {
|
||||
this.telephone = telephone;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
return this.email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
|
||||
public String getLoginId() {
|
||||
return this.loginId;
|
||||
}
|
||||
|
||||
public void setLoginId(String loginId) {
|
||||
this.loginId = loginId;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseResult
|
||||
extends CloudwalkBaseTimes
|
||||
{
|
||||
private static final long serialVersionUID = 1803902156130377090L;
|
||||
private String corpName;
|
||||
private String corpCode;
|
||||
private Short status;
|
||||
private String loginName;
|
||||
private String name;
|
||||
private String telephone;
|
||||
private String email;
|
||||
private String remark;
|
||||
private String ext1;
|
||||
private String ext2;
|
||||
private String ext3;
|
||||
private String loginId;
|
||||
private String userId;
|
||||
|
||||
public String getCorpName() {
|
||||
/* 80 */ return this.corpName;
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
}
|
||||
|
||||
public void setCorpName(String corpName) {
|
||||
/* 84 */ this.corpName = corpName;
|
||||
}
|
||||
|
||||
public String getCorpCode() {
|
||||
/* 88 */ return this.corpCode;
|
||||
}
|
||||
|
||||
public void setCorpCode(String corpCode) {
|
||||
/* 92 */ this.corpCode = corpCode;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
/* 96 */ return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getLoginName() {
|
||||
return this.loginName;
|
||||
}
|
||||
|
||||
public void setLoginName(String loginName) {
|
||||
this.loginName = loginName;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getTelephone() {
|
||||
return this.telephone;
|
||||
}
|
||||
|
||||
public void setTelephone(String telephone) {
|
||||
this.telephone = telephone;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
return this.email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
|
||||
public String getLoginId() {
|
||||
return this.loginId;
|
||||
}
|
||||
|
||||
public void setLoginId(String loginId) {
|
||||
this.loginId = loginId;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+6
-5
@@ -10,9 +10,10 @@ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface EnterpriseService {
|
||||
List<EnterpriseResult> query(EnterpriseQueryParam paramEnterpriseQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<EnterpriseResult>> page(EnterpriseQueryParam paramEnterpriseQueryParam, CloudwalkPageInfo paramCloudwalkPageInfo, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
List<EnterpriseResult> query(EnterpriseQueryParam paramEnterpriseQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<EnterpriseResult>> page(EnterpriseQueryParam paramEnterpriseQueryParam,
|
||||
CloudwalkPageInfo paramCloudwalkPageInfo, CloudwalkCallContext paramCloudwalkCallContext)
|
||||
throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+21
-43
@@ -7,51 +7,29 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class GroupInfoBasicParam implements Serializable {
|
||||
private static final long serialVersionUID = -7102943930336293264L;
|
||||
@NotEmpty(message = "53009012")
|
||||
@Size(max = 999, message = "53009013")
|
||||
@ListItemNotBlank(message = "53009009")
|
||||
@ListItemLength(max = 32, message = "53009010")
|
||||
private List<String> ids;
|
||||
@Size(max = 32, message = "53009002")
|
||||
private String serviceCode;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class GroupInfoBasicParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -7102943930336293264L;
|
||||
@NotEmpty(message = "53009012")
|
||||
@Size(max = 999, message = "53009013")
|
||||
@ListItemNotBlank(message = "53009009")
|
||||
@ListItemLength(max = 32, message = "53009010")
|
||||
private List<String> ids;
|
||||
@Size(max = 32, message = "53009002")
|
||||
private String serviceCode;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
package cn.cloudwalk.client.resource.group.param;
|
||||
|
||||
public class GroupInfoDeltParam extends GroupInfoBasicParam {
|
||||
private static final long serialVersionUID = -7102943930336293264L;
|
||||
private static final long serialVersionUID = -7102943930336293264L;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+60
-103
@@ -5,121 +5,78 @@ import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class GroupInfoEditParam implements Serializable {
|
||||
private static final long serialVersionUID = 2299318067801901919L;
|
||||
@NotBlank(message = "53009009")
|
||||
@Size(max = 32, message = "53009010")
|
||||
private String id;
|
||||
@Range(min = 1L, max = 2L, message = "53009011")
|
||||
private Short status;
|
||||
@NotBlank(message = "53009006")
|
||||
@Size(max = 60, message = "53009007")
|
||||
private String name;
|
||||
@Size(max = 255, message = "53009008")
|
||||
private String remark;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class GroupInfoEditParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 2299318067801901919L;
|
||||
@NotBlank(message = "53009009")
|
||||
@Size(max = 32, message = "53009010")
|
||||
private String id;
|
||||
@Range(min = 1L, max = 2L, message = "53009011")
|
||||
private Short status;
|
||||
@NotBlank(message = "53009006")
|
||||
@Size(max = 60, message = "53009007")
|
||||
private String name;
|
||||
@Size(max = 255, message = "53009008")
|
||||
private String remark;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getId() {
|
||||
/* 69 */ return this.id;
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
/* 73 */ this.id = id;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
/* 77 */ return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
/* 81 */ this.status = status;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 85 */ return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 89 */ this.name = name;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
/* 93 */ return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
/* 97 */ this.remark = remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
package cn.cloudwalk.client.resource.group.param;
|
||||
|
||||
public class GroupInfoGetsParam extends GroupInfoBasicParam {
|
||||
private static final long serialVersionUID = -4032680869702440398L;
|
||||
private static final long serialVersionUID = -4032680869702440398L;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+43
-77
@@ -4,91 +4,57 @@ import java.io.Serializable;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class GroupInfoNewParam implements Serializable {
|
||||
private static final long serialVersionUID = 2535982708701787723L;
|
||||
@NotBlank(message = "53009006")
|
||||
@Size(max = 60, message = "53009007")
|
||||
private String name;
|
||||
@Size(max = 255, message = "53009008")
|
||||
private String remark;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class GroupInfoNewParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 2535982708701787723L;
|
||||
@NotBlank(message = "53009006")
|
||||
@Size(max = 60, message = "53009007")
|
||||
private String name;
|
||||
@Size(max = 255, message = "53009008")
|
||||
private String remark;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+66
-112
@@ -5,132 +5,86 @@ import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class GroupInfoQueryParam extends CloudwalkBasePageForm {
|
||||
private static final long serialVersionUID = -6191526420489456917L;
|
||||
@Size(max = 32, message = "53009002")
|
||||
private String serviceCode;
|
||||
@Size(max = 32, message = "53009002")
|
||||
private String code;
|
||||
@Size(max = 60, message = "53009007")
|
||||
private String name;
|
||||
@Length(max = 32, message = "53009004")
|
||||
private String businessId;
|
||||
@Range(min = 1L, max = 2L, message = "53009011")
|
||||
private Short status;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class GroupInfoQueryParam
|
||||
extends CloudwalkBasePageForm
|
||||
{
|
||||
private static final long serialVersionUID = -6191526420489456917L;
|
||||
@Size(max = 32, message = "53009002")
|
||||
private String serviceCode;
|
||||
@Size(max = 32, message = "53009002")
|
||||
private String code;
|
||||
@Size(max = 60, message = "53009007")
|
||||
private String name;
|
||||
@Length(max = 32, message = "53009004")
|
||||
private String businessId;
|
||||
@Range(min = 1L, max = 2L, message = "53009011")
|
||||
private Short status;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
@Size(max = 100, message = "53005116")
|
||||
private String ext2;
|
||||
@Size(max = 100, message = "53005117")
|
||||
private String ext3;
|
||||
|
||||
public String getServiceCode() {
|
||||
/* 72 */ return this.serviceCode;
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
/* 76 */ this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
/* 80 */ return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
/* 84 */ this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 88 */ return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 92 */ this.name = name;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
/* 96 */ return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
package cn.cloudwalk.client.resource.group.param;
|
||||
|
||||
public class GroupInfoStatusParam extends GroupInfoBasicParam {
|
||||
private static final long serialVersionUID = -9010399052794768147L;
|
||||
private static final long serialVersionUID = -9010399052794768147L;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+21
-44
@@ -7,52 +7,29 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class GroupRoleBasicParam implements Serializable {
|
||||
private static final long serialVersionUID = 1506237898480870063L;
|
||||
@NotBlank(message = "53009009")
|
||||
@Size(max = 32, message = "53009010")
|
||||
private String groupId;
|
||||
@Size(max = 999, message = "53008016")
|
||||
@ListItemNotBlank(message = "53008013")
|
||||
@ListItemLength(max = 32, message = "53008014")
|
||||
private List<String> roleIds;
|
||||
|
||||
public String getGroupId() {
|
||||
return this.groupId;
|
||||
}
|
||||
|
||||
public List<String> getRoleIds() {
|
||||
return this.roleIds;
|
||||
}
|
||||
|
||||
public void setGroupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class GroupRoleBasicParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 1506237898480870063L;
|
||||
@NotBlank(message = "53009009")
|
||||
@Size(max = 32, message = "53009010")
|
||||
private String groupId;
|
||||
@Size(max = 999, message = "53008016")
|
||||
@ListItemNotBlank(message = "53008013")
|
||||
@ListItemLength(max = 32, message = "53008014")
|
||||
private List<String> roleIds;
|
||||
|
||||
public String getGroupId() {
|
||||
return this.groupId;
|
||||
public void setRoleIds(List<String> roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
}
|
||||
|
||||
public List<String> getRoleIds() {
|
||||
return this.roleIds;
|
||||
}
|
||||
|
||||
public void setGroupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public void setRoleIds(List<String> roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+13
-34
@@ -6,40 +6,19 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class GroupRoleDeltParam extends GroupRoleBasicParam {
|
||||
private static final long serialVersionUID = 1506237898480870063L;
|
||||
@NotEmpty(message = "53008015")
|
||||
@Size(max = 999, message = "53008016")
|
||||
@ListItemNotBlank(message = "53008013")
|
||||
@ListItemLength(max = 32, message = "53008014")
|
||||
private List<String> roleIds;
|
||||
|
||||
public List<String> getRoleIds() {
|
||||
return this.roleIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class GroupRoleDeltParam
|
||||
extends GroupRoleBasicParam
|
||||
{
|
||||
private static final long serialVersionUID = 1506237898480870063L;
|
||||
@NotEmpty(message = "53008015")
|
||||
@Size(max = 999, message = "53008016")
|
||||
@ListItemNotBlank(message = "53008013")
|
||||
@ListItemLength(max = 32, message = "53008014")
|
||||
private List<String> roleIds;
|
||||
|
||||
public List<String> getRoleIds() {
|
||||
return this.roleIds;
|
||||
public void setRoleIds(List<String> roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void setRoleIds(List<String> roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+13
-34
@@ -6,40 +6,19 @@ import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class GroupRoleNewParam extends GroupRoleBasicParam {
|
||||
private static final long serialVersionUID = -2669960280812814293L;
|
||||
@NotEmpty(message = "53008015")
|
||||
@Size(max = 999, message = "53008016")
|
||||
@ListItemNotBlank(message = "53008013")
|
||||
@ListItemLength(max = 32, message = "53008014")
|
||||
private List<String> roleIds;
|
||||
|
||||
public List<String> getRoleIds() {
|
||||
return this.roleIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class GroupRoleNewParam
|
||||
extends GroupRoleBasicParam
|
||||
{
|
||||
private static final long serialVersionUID = -2669960280812814293L;
|
||||
@NotEmpty(message = "53008015")
|
||||
@Size(max = 999, message = "53008016")
|
||||
@ListItemNotBlank(message = "53008013")
|
||||
@ListItemLength(max = 32, message = "53008014")
|
||||
private List<String> roleIds;
|
||||
|
||||
public List<String> getRoleIds() {
|
||||
return this.roleIds;
|
||||
public void setRoleIds(List<String> roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void setRoleIds(List<String> roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user