mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-12 01:40:30 +08:00
chore(v0.11): 全路径纳入版本库与走查整改
- .gitignore:显式放行全部 maven-*、scripts、dev-support、frontend、反1、artifacts、历史导出目录
- 新增跟踪:device-manager/device-sdk/legacy-public、davinci-manager、cwos-*、cwos-resource 等源码与附属资源
- davinci FileStorageManagerImpl:Feign Response 关闭、绝对 URL 拉流 SSRF 校验(协议/主机/解析地址)
- davinci OuterCallFeignClient:补充契约说明
- cwos-common-aks AksConstant:final 类 + 私有构造防误实例化
- device-manager DeviceConstant:沿用 DEFAULT_APPLICATIONID 拼写修正
Made-with: Cursor
Former-commit-id: 0a34c76a82
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>cn.cloudwalk</groupId>
|
||||
<artifactId>cwos-portal</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<relativePath>../cwos-portal/pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>cwos-portal-interface</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>cwos-portal-interface</name>
|
||||
<description>源码来自反编译;依赖已收紧为本地可闭合集合(去掉原 POM 中 dist/core 等私服缺失项)。</description>
|
||||
|
||||
<properties>
|
||||
<fastjson.version>1.2.83</fastjson.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>cn.cloudwalk.cloud</groupId>
|
||||
<artifactId>cloudwalk-common-result</artifactId>
|
||||
<version>3.7.2-Brussels-SRX</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.cloudwalk.cloud</groupId>
|
||||
<artifactId>cloudwalk-common-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jsoup</groupId>
|
||||
<artifactId>jsoup</artifactId>
|
||||
<version>1.15.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.cloudwalk.cloud</groupId>
|
||||
<artifactId>cwos-component-resource-interface</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.cloudwalk</groupId>
|
||||
<artifactId>cwos-device-pkg-stub</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-validation</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>${fastjson.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package cn.cloudwalk.client.davinci.portal.application.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/** 编译占位:原属 application 模块,供 EnterpriseDetailResult 引用。 */
|
||||
public class PortalClassifiedApplicationsResult implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
package cn.cloudwalk.client.davinci.portal.common.enums;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum RestSdkEnum
|
||||
{
|
||||
FALLBACK_COMMON_ERROR("00000001", "接口调用异常");
|
||||
|
||||
|
||||
|
||||
private String message;
|
||||
|
||||
|
||||
|
||||
private String code;
|
||||
|
||||
|
||||
|
||||
RestSdkEnum(String code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public static String getMessage(String code) {
|
||||
for (RestSdkEnum 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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseAuthParam
|
||||
extends EnterpriseBasicParam
|
||||
{
|
||||
private static final long serialVersionUID = 4209678527822001279L;
|
||||
@NotNull(message = "80015037")
|
||||
@Range(min = 1L, max = 2L, message = "80015038")
|
||||
private Short ext2;
|
||||
|
||||
public Short getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(Short ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseBasicParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 4209678527822001279L;
|
||||
@NotBlank(message = "80015000")
|
||||
@Length(max = 32, message = "80015001")
|
||||
private String id;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+111
@@ -0,0 +1,111 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.validator.constraints.Email;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseEditParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -8407619707216917510L;
|
||||
@NotBlank(message = "80015000")
|
||||
@Length(max = 32, message = "80015001")
|
||||
private String id;
|
||||
@Length(min = 2, max = 30, message = "80015005")
|
||||
@NotBlank(message = "80015004")
|
||||
private String corpName;
|
||||
@NotBlank(message = "80015011")
|
||||
@Length(max = 40, message = "80015012")
|
||||
private String name;
|
||||
@NotBlank(message = "80015013")
|
||||
@Length(max = 32, message = "80015014")
|
||||
private String telephone;
|
||||
@NotBlank(message = "80015015")
|
||||
@Length(max = 64, message = "80015016")
|
||||
@Email(regexp = "(^[a-z0-9A-Z]+[- | a-z0-9A-Z . _]+@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-z]{2,}$)|(^$)", message = "80015017")
|
||||
private String email;
|
||||
@Length(max = 32, message = "53002043")
|
||||
private String orgId;
|
||||
|
||||
public String getId() {
|
||||
/* 63 */ return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
/* 67 */ this.id = id;
|
||||
}
|
||||
|
||||
public String getCorpName() {
|
||||
/* 71 */ return this.corpName;
|
||||
}
|
||||
|
||||
public void setCorpName(String corpName) {
|
||||
/* 75 */ this.corpName = corpName;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 79 */ return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 83 */ this.name = name;
|
||||
}
|
||||
|
||||
public String getTelephone() {
|
||||
/* 87 */ return this.telephone;
|
||||
}
|
||||
|
||||
public void setTelephone(String telephone) {
|
||||
/* 91 */ this.telephone = telephone;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
/* 95 */ return this.email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
/* 99 */ this.email = email;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+157
@@ -0,0 +1,157 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseEmailParam
|
||||
{
|
||||
private String email;
|
||||
private String templateName;
|
||||
private String subject;
|
||||
private String corpCode;
|
||||
private String corpName;
|
||||
private String loginName;
|
||||
private String loginPwd;
|
||||
private String realName;
|
||||
private List<String> serviceCodes;
|
||||
private String platformName;
|
||||
private String loginUrl;
|
||||
|
||||
public String getEmail() {
|
||||
/* 69 */ return this.email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
/* 73 */ this.email = email;
|
||||
}
|
||||
|
||||
public String getTemplateName() {
|
||||
/* 77 */ return this.templateName;
|
||||
}
|
||||
|
||||
public void setTemplateName(String templateName) {
|
||||
/* 81 */ this.templateName = templateName;
|
||||
}
|
||||
|
||||
public String getSubject() {
|
||||
/* 85 */ return this.subject;
|
||||
}
|
||||
|
||||
public void setSubject(String subject) {
|
||||
/* 89 */ this.subject = subject;
|
||||
}
|
||||
|
||||
public String getCorpCode() {
|
||||
/* 93 */ return this.corpCode;
|
||||
}
|
||||
|
||||
public void setCorpCode(String corpCode) {
|
||||
/* 97 */ this.corpCode = corpCode;
|
||||
}
|
||||
|
||||
public String getCorpName() {
|
||||
return this.corpName;
|
||||
}
|
||||
|
||||
public void setCorpName(String corpName) {
|
||||
this.corpName = corpName;
|
||||
}
|
||||
|
||||
public String getLoginName() {
|
||||
return this.loginName;
|
||||
}
|
||||
|
||||
public void setLoginName(String loginName) {
|
||||
this.loginName = loginName;
|
||||
}
|
||||
|
||||
public String getLoginPwd() {
|
||||
return this.loginPwd;
|
||||
}
|
||||
|
||||
public void setLoginPwd(String loginPwd) {
|
||||
this.loginPwd = loginPwd;
|
||||
}
|
||||
|
||||
public String getRealName() {
|
||||
return this.realName;
|
||||
}
|
||||
|
||||
public void setRealName(String realName) {
|
||||
this.realName = realName;
|
||||
}
|
||||
|
||||
public List<String> getServiceCodes() {
|
||||
return this.serviceCodes;
|
||||
}
|
||||
|
||||
public void setServiceCodes(List<String> serviceCodes) {
|
||||
this.serviceCodes = serviceCodes;
|
||||
}
|
||||
|
||||
public String getPlatformName() {
|
||||
return this.platformName;
|
||||
}
|
||||
|
||||
public void setPlatformName(String platformName) {
|
||||
this.platformName = platformName;
|
||||
}
|
||||
|
||||
public String getLoginUrl() {
|
||||
return this.loginUrl;
|
||||
}
|
||||
|
||||
public void setLoginUrl(String loginUrl) {
|
||||
this.loginUrl = loginUrl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+88
@@ -0,0 +1,88 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseInfoQueryParam
|
||||
extends CloudwalkBasePageForm
|
||||
{
|
||||
private static final long serialVersionUID = 4694598545857287148L;
|
||||
private String serviceCode;
|
||||
@Length(max = 30, message = "80015034")
|
||||
private String corpName;
|
||||
@Length(max = 20, message = "80015007")
|
||||
private String corpCode;
|
||||
@Length(max = 20, message = "80015035")
|
||||
private String loginName;
|
||||
@Range(min = 1L, max = 2L, message = "80015036")
|
||||
private Short status;
|
||||
|
||||
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 String getLoginName() {
|
||||
return this.loginName;
|
||||
}
|
||||
|
||||
public void setLoginName(String loginName) {
|
||||
this.loginName = loginName;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+203
@@ -0,0 +1,203 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.Pattern;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Email;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseNewParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -8407619707216917510L;
|
||||
@Length(min = 2, max = 30, message = "80015005")
|
||||
@NotBlank(message = "80015004")
|
||||
private String corpName;
|
||||
@Pattern(regexp = "^[A-Za-z0-9]+$", message = "80015041")
|
||||
@NotBlank(message = "80015006")
|
||||
@Length(max = 20, message = "80015007")
|
||||
private String corpCode;
|
||||
@Pattern(regexp = "^[A-Za-z][A-Za-z0-9]+$", message = "80015010")
|
||||
@Length(min = 6, max = 20, message = "80015009")
|
||||
@NotBlank(message = "80015008")
|
||||
private String loginName;
|
||||
@NotBlank(message = "80015011")
|
||||
@Length(max = 40, message = "80015012")
|
||||
private String name;
|
||||
@NotBlank(message = "80015013")
|
||||
@Length(max = 32, message = "80015014")
|
||||
private String telephone;
|
||||
@Email(regexp = "(^[a-z0-9A-Z]+[- | a-z0-9A-Z . _]+@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-z]{2,}$)|(^$)", message = "80015017")
|
||||
@NotBlank(message = "80015015")
|
||||
@Length(max = 64, message = "80015016")
|
||||
private String email;
|
||||
@Size(max = 999, message = "80015019")
|
||||
@NotEmpty(message = "80015042")
|
||||
private List<String> serviceCodes;
|
||||
@Length(max = 100, message = "80015020")
|
||||
private String ext1;
|
||||
@Length(max = 100, message = "80015020")
|
||||
private String ext2;
|
||||
@Length(max = 100, message = "80015020")
|
||||
private String ext3;
|
||||
@Length(max = 100, message = "80015020")
|
||||
private String userExt1;
|
||||
@Length(max = 32, message = "53002043")
|
||||
private String orgId;
|
||||
|
||||
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 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 List<String> getServiceCodes() {
|
||||
return this.serviceCodes;
|
||||
}
|
||||
|
||||
public void setServiceCodes(List<String> serviceCodes) {
|
||||
this.serviceCodes = serviceCodes;
|
||||
}
|
||||
|
||||
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 getUserExt1() {
|
||||
return this.userExt1;
|
||||
}
|
||||
|
||||
public void setUserExt1(String userExt1) {
|
||||
this.userExt1 = userExt1;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+173
@@ -0,0 +1,173 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.Pattern;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Email;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseRegisterParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -8407619707216917510L;
|
||||
@Length(min = 2, max = 30, message = "80015005")
|
||||
@NotBlank(message = "80015004")
|
||||
private String corpName;
|
||||
@NotBlank(message = "80015006")
|
||||
@Length(max = 20, message = "80015007")
|
||||
private String corpCode;
|
||||
@Pattern(regexp = "^[A-Za-z][A-Za-z0-9]+$", message = "80015010")
|
||||
@Length(min = 6, max = 20, message = "80015009")
|
||||
@NotBlank(message = "80015008")
|
||||
private String loginName;
|
||||
@NotBlank(message = "80015011")
|
||||
@Length(max = 40, message = "80015012")
|
||||
private String name;
|
||||
@NotBlank(message = "80015013")
|
||||
@Length(max = 32, message = "80015014")
|
||||
private String telephone;
|
||||
@Email(regexp = "(^[a-z0-9A-Z]+[- | a-z0-9A-Z . _]+@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-z]{2,}$)|(^$)", message = "80015017")
|
||||
@NotBlank(message = "80015015")
|
||||
@Length(max = 64, message = "80015016")
|
||||
private String email;
|
||||
@Size(max = 999, message = "80015019")
|
||||
private List<String> serviceCodes;
|
||||
@NotBlank(message = "80015039")
|
||||
@Length(max = 100, message = "80015043")
|
||||
private String ext1;
|
||||
@Length(max = 100, message = "80015020")
|
||||
private String userExt1;
|
||||
@Length(max = 32, message = "53002043")
|
||||
private String orgId;
|
||||
|
||||
public String getCorpName() {
|
||||
/* 93 */ return this.corpName;
|
||||
}
|
||||
|
||||
public void setCorpName(String corpName) {
|
||||
/* 97 */ this.corpName = corpName;
|
||||
}
|
||||
|
||||
public String getCorpCode() {
|
||||
return this.corpCode;
|
||||
}
|
||||
|
||||
public void setCorpCode(String corpCode) {
|
||||
this.corpCode = corpCode;
|
||||
}
|
||||
|
||||
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 List<String> getServiceCodes() {
|
||||
return this.serviceCodes;
|
||||
}
|
||||
|
||||
public void setServiceCodes(List<String> serviceCodes) {
|
||||
this.serviceCodes = serviceCodes;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getUserExt1() {
|
||||
return this.userExt1;
|
||||
}
|
||||
|
||||
public void setUserExt1(String userExt1) {
|
||||
this.userExt1 = userExt1;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import cn.cloudwalk.data.resource.common.anno.ListItemLength;
|
||||
import cn.cloudwalk.data.resource.common.anno.ListItemNotBlank;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseRelateParam
|
||||
extends EnterpriseBasicParam
|
||||
{
|
||||
private static final long serialVersionUID = 4209678527822001279L;
|
||||
@Size(max = 999, message = "80015019")
|
||||
@ListItemNotBlank(message = "80015032")
|
||||
@ListItemLength(max = 32, message = "80015033")
|
||||
@NotEmpty(message = "80015042")
|
||||
private List<String> serviceCodes;
|
||||
|
||||
public List<String> getServiceCodes() {
|
||||
return this.serviceCodes;
|
||||
}
|
||||
|
||||
public void setServiceCodes(List<String> serviceCodes) {
|
||||
this.serviceCodes = serviceCodes;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import cn.cloudwalk.data.resource.common.anno.ListItemLength;
|
||||
import cn.cloudwalk.data.resource.common.anno.ListItemNotBlank;
|
||||
import cn.cloudwalk.data.resource.common.validate.GroupOne;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseStatusParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 3608858685907658216L;
|
||||
@NotEmpty(message = "80015002")
|
||||
@Size(max = 999, message = "80015003")
|
||||
@ListItemNotBlank(message = "80015000")
|
||||
@ListItemLength(max = 32, message = "80015001")
|
||||
private List<String> ids;
|
||||
@NotBlank(message = "80015030", groups = {GroupOne.class})
|
||||
@Length(min = 5, max = 100, message = "80015031", groups = {GroupOne.class})
|
||||
private String remark;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseUserDetailParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -8407619707216917510L;
|
||||
@NotBlank(message = "53002018")
|
||||
@Length(max = 32, message = "53002019")
|
||||
private String id;
|
||||
@NotBlank(message = "80015000")
|
||||
@Length(max = 32, message = "80015001")
|
||||
private String businessId;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+185
@@ -0,0 +1,185 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import cn.cloudwalk.data.resource.common.anno.ListItemLength;
|
||||
import cn.cloudwalk.data.resource.common.anno.ListItemNotBlank;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import org.hibernate.validator.constraints.Email;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseUserEditParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -8407619707216917510L;
|
||||
@NotBlank(message = "53002018")
|
||||
@Length(max = 32, message = "53002019")
|
||||
private String id;
|
||||
@NotBlank(message = "80015000")
|
||||
@Length(max = 32, message = "80015001")
|
||||
private String businessId;
|
||||
@NotBlank(message = "80015011")
|
||||
@Length(max = 40, message = "80015012")
|
||||
private String name;
|
||||
@NotBlank(message = "80015013")
|
||||
@Length(max = 32, message = "80015014")
|
||||
private String telephone;
|
||||
@Email(regexp = "(^[a-z0-9A-Z]+[- | a-z0-9A-Z . _]+@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-z]{2,}$)|(^$)", message = "80015017")
|
||||
@Length(max = 60, message = "80015016")
|
||||
private String email;
|
||||
@Length(max = 64, message = "53002037")
|
||||
private String workCode;
|
||||
@Length(max = 64, message = "53002038")
|
||||
private String position;
|
||||
@Length(max = 64, message = "53002008")
|
||||
private String title;
|
||||
@Length(max = 32, message = "53002043")
|
||||
private String orgId;
|
||||
@Length(max = 255, message = "53002009")
|
||||
private String remark;
|
||||
@ListItemNotBlank(message = "53008013")
|
||||
@ListItemLength(max = 32, message = "53008014")
|
||||
private List<String> roleIds;
|
||||
|
||||
public String getId() {
|
||||
/* 97 */ 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 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 getWorkCode() {
|
||||
return this.workCode;
|
||||
}
|
||||
|
||||
public void setWorkCode(String workCode) {
|
||||
this.workCode = workCode;
|
||||
}
|
||||
|
||||
public String getPosition() {
|
||||
return this.position;
|
||||
}
|
||||
|
||||
public void setPosition(String position) {
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public List<String> getRoleIds() {
|
||||
return this.roleIds;
|
||||
}
|
||||
|
||||
public void setRoleIds(List<String> roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+199
@@ -0,0 +1,199 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.Pattern;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseUserNewInGeneralParam
|
||||
{
|
||||
private static final long serialVersionUID = -1L;
|
||||
@NotBlank(message = "80015006")
|
||||
@Length(max = 20, message = "80015007")
|
||||
private String corpCode;
|
||||
@Pattern(regexp = "^[A-Za-z0-9]+$", message = "80015010")
|
||||
@Length(min = 6, max = 64, message = "80015009")
|
||||
@NotBlank(message = "80015008")
|
||||
private String loginName;
|
||||
@Length(max = 40, message = "80015012")
|
||||
private String name;
|
||||
@Length(max = 32, message = "80015014")
|
||||
private String telephone;
|
||||
@Length(max = 64, message = "80015016")
|
||||
private String email;
|
||||
@Length(max = 64, message = "53002037")
|
||||
private String workCode;
|
||||
@Length(max = 64, message = "53002038")
|
||||
private String position;
|
||||
@Length(max = 64, message = "53002008")
|
||||
private String title;
|
||||
@Length(max = 255, message = "53002009")
|
||||
private String remark;
|
||||
private List<String> roleIds;
|
||||
@NotEmpty(message = "53002014")
|
||||
@Length(max = 16, min = 8, message = "80130023")
|
||||
@Pattern(regexp = "^(?=.*\\d)(?=.*[a-zA-Z])[\\da-zA-Z~!@#$%^&*]+$", message = "56000026")
|
||||
private String smartPassword;
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
|
||||
public String getCorpCode() {
|
||||
return this.corpCode;
|
||||
}
|
||||
|
||||
public void setCorpCode(String corpCode) {
|
||||
this.corpCode = corpCode;
|
||||
}
|
||||
|
||||
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 getWorkCode() {
|
||||
return this.workCode;
|
||||
}
|
||||
|
||||
public void setWorkCode(String workCode) {
|
||||
this.workCode = workCode;
|
||||
}
|
||||
|
||||
public String getPosition() {
|
||||
return this.position;
|
||||
}
|
||||
|
||||
public void setPosition(String position) {
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public List<String> getRoleIds() {
|
||||
return this.roleIds;
|
||||
}
|
||||
|
||||
public void setRoleIds(List<String> roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getSmartPassword() {
|
||||
return this.smartPassword;
|
||||
}
|
||||
|
||||
public void setSmartPassword(String smartPassword) {
|
||||
this.smartPassword = smartPassword;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+225
@@ -0,0 +1,225 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import cn.cloudwalk.data.resource.common.anno.ListItemLength;
|
||||
import cn.cloudwalk.data.resource.common.anno.ListItemNotBlank;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.Pattern;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Email;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseUserNewParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -6580504551553329322L;
|
||||
@NotBlank(message = "80015006")
|
||||
@Length(max = 20, message = "80015007")
|
||||
private String corpCode;
|
||||
@Pattern(regexp = "^[A-Za-z][A-Za-z0-9]+$", message = "80015010")
|
||||
@Length(min = 6, max = 20, message = "80015009")
|
||||
@NotBlank(message = "80015008")
|
||||
private String loginName;
|
||||
@NotBlank(message = "80015011")
|
||||
@Length(max = 40, message = "80015012")
|
||||
private String name;
|
||||
@NotBlank(message = "80015013")
|
||||
@Length(max = 32, message = "80015014")
|
||||
private String telephone;
|
||||
@Email(regexp = "(^[a-z0-9A-Z]+[- | a-z0-9A-Z . _]+@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-z]{2,}$)|(^$)", message = "80015017")
|
||||
@Length(max = 64, message = "80015016")
|
||||
private String email;
|
||||
@Length(max = 64, message = "53002037")
|
||||
private String workCode;
|
||||
@Length(max = 64, message = "53002038")
|
||||
private String position;
|
||||
@Length(max = 64, message = "53002008")
|
||||
private String title;
|
||||
@Length(max = 32, message = "53002043")
|
||||
private String orgId;
|
||||
@Length(max = 255, message = "53002009")
|
||||
private String remark;
|
||||
@ListItemNotBlank(message = "53008013")
|
||||
@ListItemLength(max = 32, message = "53008014")
|
||||
private List<String> roleIds;
|
||||
private Boolean ifEmail = Boolean.valueOf(true);
|
||||
|
||||
|
||||
private String smartPassword;
|
||||
|
||||
@Size(max = 100, message = "53005115")
|
||||
private String ext1;
|
||||
|
||||
|
||||
public String getCorpCode() {
|
||||
return this.corpCode;
|
||||
}
|
||||
|
||||
public void setCorpCode(String corpCode) {
|
||||
this.corpCode = corpCode;
|
||||
}
|
||||
|
||||
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 getWorkCode() {
|
||||
return this.workCode;
|
||||
}
|
||||
|
||||
public void setWorkCode(String workCode) {
|
||||
this.workCode = workCode;
|
||||
}
|
||||
|
||||
public String getPosition() {
|
||||
return this.position;
|
||||
}
|
||||
|
||||
public void setPosition(String position) {
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public List<String> getRoleIds() {
|
||||
return this.roleIds;
|
||||
}
|
||||
|
||||
public void setRoleIds(List<String> roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getSmartPassword() {
|
||||
return this.smartPassword;
|
||||
}
|
||||
|
||||
public void setSmartPassword(String smartPassword) {
|
||||
this.smartPassword = smartPassword;
|
||||
}
|
||||
|
||||
public Boolean getIfEmail() {
|
||||
return this.ifEmail;
|
||||
}
|
||||
|
||||
public void setIfEmail(Boolean ifEmail) {
|
||||
this.ifEmail = ifEmail;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import org.hibernate.validator.constraints.Email;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseUserQueryParam
|
||||
extends CloudwalkBasePageForm
|
||||
{
|
||||
private static final long serialVersionUID = 4694598545857287148L;
|
||||
@Length(max = 32, message = "80015001")
|
||||
private String businessId;
|
||||
@Length(max = 20, message = "80015035")
|
||||
private String loginName;
|
||||
@Length(max = 40, message = "80015012")
|
||||
private String name;
|
||||
@Length(max = 32, message = "80015014")
|
||||
private String telephone;
|
||||
@Email(regexp = "(^[a-z0-9A-Z]+[- | a-z0-9A-Z . _]+@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-z]{2,}$)|(^$)", message = "80015017")
|
||||
@Length(max = 64, message = "80015016")
|
||||
private String email;
|
||||
@Range(min = 1L, max = 2L, message = "53002053")
|
||||
private Short status;
|
||||
|
||||
public String getBusinessId() {
|
||||
/* 58 */ return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
/* 62 */ this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getLoginName() {
|
||||
/* 66 */ return this.loginName;
|
||||
}
|
||||
|
||||
public void setLoginName(String loginName) {
|
||||
/* 70 */ this.loginName = loginName;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
/* 74 */ return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
/* 78 */ this.name = name;
|
||||
}
|
||||
|
||||
public String getTelephone() {
|
||||
/* 82 */ return this.telephone;
|
||||
}
|
||||
|
||||
public void setTelephone(String telephone) {
|
||||
/* 86 */ this.telephone = telephone;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
/* 90 */ return this.email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
/* 94 */ this.email = email;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
/* 98 */ return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.validation.constraints.Pattern;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseUserResetPwdParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -8407619707216917510L;
|
||||
@Length(max = 32, message = "53002019")
|
||||
private String id;
|
||||
@NotBlank(message = "80015000")
|
||||
@Length(max = 32, message = "80015001")
|
||||
private String businessId;
|
||||
@Length(max = 16, min = 8, message = "56000026")
|
||||
@Pattern(regexp = "^(?=.*\\d)(?=.*[a-zA-Z])[\\da-zA-Z~!@#$%^&*]+$", message = "56000026")
|
||||
private String newPassword;
|
||||
@Pattern(regexp = "^[A-Za-z0-9]+$", message = "80015010")
|
||||
@Length(min = 6, max = 64, message = "80015009")
|
||||
private String loginName;
|
||||
|
||||
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 static long getSerialVersionUID() {
|
||||
return -8407619707216917510L;
|
||||
}
|
||||
|
||||
public String getNewPassword() {
|
||||
return this.newPassword;
|
||||
}
|
||||
|
||||
public void setNewPassword(String newPassword) {
|
||||
this.newPassword = newPassword;
|
||||
}
|
||||
|
||||
public String getLoginName() {
|
||||
return this.loginName;
|
||||
}
|
||||
|
||||
public void setLoginName(String loginName) {
|
||||
this.loginName = loginName;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/** 反编译中未单独成文件的嵌套 DTO 占位。 */
|
||||
public class ApplicationInfo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
+226
@@ -0,0 +1,226 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.result;
|
||||
|
||||
import cn.cloudwalk.client.davinci.portal.application.result.PortalClassifiedApplicationsResult;
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseDetailResult
|
||||
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 address;
|
||||
private List<PortalClassifiedApplicationsResult> serviceList;
|
||||
private List<ApplicationInfo> appList;
|
||||
private String applications;
|
||||
private List<RoleInfo> roleInfos;
|
||||
|
||||
public String getCorpName() {
|
||||
/* 98 */ 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 getAddress() {
|
||||
return this.address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public List<PortalClassifiedApplicationsResult> getServiceList() {
|
||||
return this.serviceList;
|
||||
}
|
||||
|
||||
public void setServiceList(List<PortalClassifiedApplicationsResult> serviceList) {
|
||||
this.serviceList = serviceList;
|
||||
}
|
||||
|
||||
public List<ApplicationInfo> getAppList() {
|
||||
return this.appList;
|
||||
}
|
||||
|
||||
public void setAppList(List<ApplicationInfo> appList) {
|
||||
this.appList = appList;
|
||||
}
|
||||
|
||||
public String getApplications() {
|
||||
return this.applications;
|
||||
}
|
||||
|
||||
public void setApplications(String applications) {
|
||||
this.applications = applications;
|
||||
}
|
||||
|
||||
public List<RoleInfo> getRoleInfos() {
|
||||
return this.roleInfos;
|
||||
}
|
||||
|
||||
public void setRoleInfos(List<RoleInfo> roleInfos) {
|
||||
this.roleInfos = roleInfos;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+210
@@ -0,0 +1,210 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.result;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseInfoResult
|
||||
extends CloudwalkBaseTimes
|
||||
{
|
||||
private static final long serialVersionUID = 1803902156130377090L;
|
||||
private String userId;
|
||||
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 address;
|
||||
private String applications;
|
||||
private String orgId;
|
||||
|
||||
public String getUserId() {
|
||||
/* 90 */ return this.userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
/* 94 */ this.userId = userId;
|
||||
}
|
||||
|
||||
public String getCorpName() {
|
||||
/* 98 */ 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 getAddress() {
|
||||
return this.address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getApplications() {
|
||||
return this.applications;
|
||||
}
|
||||
|
||||
public void setApplications(String applications) {
|
||||
this.applications = applications;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+83
@@ -0,0 +1,83 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.result;
|
||||
|
||||
import cn.cloudwalk.client.resource.user.result.UserQueryResult;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EnterpriseUserResult
|
||||
extends UserQueryResult
|
||||
{
|
||||
private static final long serialVersionUID = -1950466373895600424L;
|
||||
private String loginName;
|
||||
private String corpName;
|
||||
private String corpCode;
|
||||
private List<String> roleIds;
|
||||
private List<String> roleNames;
|
||||
|
||||
public String getLoginName() {
|
||||
return this.loginName;
|
||||
}
|
||||
|
||||
public void setLoginName(String loginName) {
|
||||
this.loginName = loginName;
|
||||
}
|
||||
|
||||
public String getCorpName() {
|
||||
return this.corpName;
|
||||
}
|
||||
|
||||
public String getCorpCode() {
|
||||
return this.corpCode;
|
||||
}
|
||||
|
||||
public void setCorpName(String corpName) {
|
||||
this.corpName = corpName;
|
||||
}
|
||||
|
||||
public void setCorpCode(String corpCode) {
|
||||
this.corpCode = corpCode;
|
||||
}
|
||||
|
||||
public List<String> getRoleIds() {
|
||||
return this.roleIds;
|
||||
}
|
||||
|
||||
public List<String> getRoleNames() {
|
||||
return this.roleNames;
|
||||
}
|
||||
|
||||
public void setRoleIds(List<String> roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
|
||||
public void setRoleNames(List<String> roleNames) {
|
||||
this.roleNames = roleNames;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/** 反编译中未单独成文件的嵌套 DTO 占位。 */
|
||||
public class RoleInfo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
package cn.cloudwalk.client.davinci.portal.enterprise.service;
|
||||
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseAuthParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseBasicParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseEditParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseInfoQueryParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseNewParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseRegisterParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseRelateParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseStatusParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseUserDetailParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseUserEditParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseUserNewInGeneralParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseUserNewParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseUserQueryParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.param.EnterpriseUserResetPwdParam;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.result.EnterpriseDetailResult;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.result.EnterpriseInfoResult;
|
||||
import cn.cloudwalk.client.davinci.portal.enterprise.result.EnterpriseUserResult;
|
||||
import cn.cloudwalk.client.resource.user.param.UserDeltParam;
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface PortalEnterpriseService {
|
||||
CloudwalkResult<EnterpriseInfoResult> add(EnterpriseNewParam paramEnterpriseNewParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<EnterpriseInfoResult> register(EnterpriseRegisterParam paramEnterpriseRegisterParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> edit(EnterpriseEditParam paramEnterpriseEditParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<EnterpriseDetailResult> detail(EnterpriseBasicParam paramEnterpriseBasicParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enable(EnterpriseStatusParam paramEnterpriseStatusParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> disable(EnterpriseStatusParam paramEnterpriseStatusParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> relate(EnterpriseRelateParam paramEnterpriseRelateParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> auth(EnterpriseAuthParam paramEnterpriseAuthParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> resetPwd(EnterpriseBasicParam paramEnterpriseBasicParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<EnterpriseInfoResult>> page(EnterpriseInfoQueryParam paramEnterpriseInfoQueryParam, CloudwalkPageInfo paramCloudwalkPageInfo, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<EnterpriseUserResult> addEnterpriseUser(EnterpriseUserNewParam paramEnterpriseUserNewParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<EnterpriseUserResult> generalAddEnterpriseUser(EnterpriseUserNewInGeneralParam paramEnterpriseUserNewInGeneralParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> editEnterpriseUser(EnterpriseUserEditParam paramEnterpriseUserEditParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<EnterpriseUserResult> enterpriseUserDetail(EnterpriseUserDetailParam paramEnterpriseUserDetailParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enterpriseUserResetPwd(EnterpriseUserResetPwdParam paramEnterpriseUserResetPwdParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<EnterpriseUserResult>> enterpriseUserPage(EnterpriseUserQueryParam paramEnterpriseUserQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enterpriseUserDelete(UserDeltParam paramUserDeltParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<EnterpriseInfoResult>> query(EnterpriseInfoQueryParam paramEnterpriseInfoQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
package cn.cloudwalk.client.davinci.portal.user.param;
|
||||
|
||||
import cn.cloudwalk.data.resource.common.validate.GroupOne;
|
||||
import cn.cloudwalk.data.resource.common.validate.GroupTwo;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class PortalUserChangePwdParam
|
||||
{
|
||||
@NotBlank(message = "53002300", groups = {GroupOne.class})
|
||||
private String oldPassword;
|
||||
@NotBlank(message = "53002301", groups = {GroupOne.class, GroupTwo.class})
|
||||
private String newPassword;
|
||||
@Size(max = 20, message = "53002308", groups = {GroupOne.class, GroupTwo.class})
|
||||
private String pwdComplexity;
|
||||
|
||||
public String getOldPassword() {
|
||||
return this.oldPassword;
|
||||
}
|
||||
|
||||
public void setOldPassword(String oldPassword) {
|
||||
this.oldPassword = oldPassword;
|
||||
}
|
||||
|
||||
public String getNewPassword() {
|
||||
return this.newPassword;
|
||||
}
|
||||
|
||||
public void setNewPassword(String newPassword) {
|
||||
this.newPassword = newPassword;
|
||||
}
|
||||
|
||||
public String getPwdComplexity() {
|
||||
return this.pwdComplexity;
|
||||
}
|
||||
|
||||
public void setPwdComplexity(String pwdComplexity) {
|
||||
this.pwdComplexity = pwdComplexity;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
package cn.cloudwalk.client.davinci.portal.user.param;
|
||||
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class PortalUserCheckPwdParam
|
||||
{
|
||||
@NotBlank(message = "53002300")
|
||||
private String password;
|
||||
|
||||
public String getPassword() {
|
||||
return this.password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package cn.cloudwalk.client.davinci.portal.user.param;
|
||||
|
||||
import cn.cloudwalk.client.resource.user.param.UserEditParam;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class PortalUserEditParam
|
||||
extends UserEditParam
|
||||
{
|
||||
private List<String> roleId;
|
||||
|
||||
public List<String> getRoleId() {
|
||||
return this.roleId;
|
||||
}
|
||||
|
||||
public void setRoleId(List<String> roleId) {
|
||||
this.roleId = roleId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
package cn.cloudwalk.client.davinci.portal.user.param;
|
||||
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class PortalUserGetBacKPwdParam
|
||||
{
|
||||
@NotBlank(message = "53002304")
|
||||
@Size(max = 32, message = "53002305")
|
||||
private String sign;
|
||||
@NotBlank(message = "53002301")
|
||||
private String password;
|
||||
@Size(max = 20, message = "53002308")
|
||||
private String pwdComplexity;
|
||||
|
||||
public String getSign() {
|
||||
return this.sign;
|
||||
}
|
||||
|
||||
public void setSign(String sign) {
|
||||
this.sign = sign;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return this.password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getPwdComplexity() {
|
||||
return this.pwdComplexity;
|
||||
}
|
||||
|
||||
public void setPwdComplexity(String pwdComplexity) {
|
||||
this.pwdComplexity = pwdComplexity;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+340
@@ -0,0 +1,340 @@
|
||||
package cn.cloudwalk.client.davinci.portal.user.result;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class PortalUserDetailResult
|
||||
{
|
||||
private String loginName;
|
||||
private String userId;
|
||||
private String orgId;
|
||||
private String orgName;
|
||||
private String position;
|
||||
private String name;
|
||||
private String title;
|
||||
private List<String> roleIds;
|
||||
private List<String> roles;
|
||||
private Integer status;
|
||||
private String telephone;
|
||||
private String businessId;
|
||||
private String applicationId;
|
||||
private String serviceCode;
|
||||
private String orgPath;
|
||||
private String picturePath;
|
||||
private Long pwdLastUpdateTime;
|
||||
private Integer wrongTimes;
|
||||
private Integer lockStatus;
|
||||
private Long lockDate;
|
||||
private Long pwdErrorDate;
|
||||
private String email;
|
||||
private String id;
|
||||
private String loginPwd;
|
||||
private String loginPwdSalt;
|
||||
private String remark;
|
||||
private String workCode;
|
||||
private String pwdComplexity;
|
||||
private Long lastLoginTime;
|
||||
private String historyPwd1;
|
||||
private String historyPwd2;
|
||||
private String corpCode;
|
||||
private String encodedCorpCode;
|
||||
private String corpName;
|
||||
private Long pwdExpiredTime;
|
||||
|
||||
public Long getPwdExpiredTime() {
|
||||
/* 60 */ return this.pwdExpiredTime;
|
||||
}
|
||||
|
||||
public void setPwdExpiredTime(Long pwdExpiredTime) {
|
||||
/* 64 */ this.pwdExpiredTime = pwdExpiredTime;
|
||||
}
|
||||
|
||||
public String getLoginName() {
|
||||
/* 68 */ return this.loginName;
|
||||
}
|
||||
|
||||
public void setLoginName(String loginName) {
|
||||
/* 72 */ this.loginName = loginName;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
/* 76 */ return this.userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
/* 80 */ this.userId = userId;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
/* 84 */ return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
/* 88 */ this.orgId = orgId;
|
||||
}
|
||||
|
||||
public String getOrgName() {
|
||||
/* 92 */ return this.orgName;
|
||||
}
|
||||
|
||||
public void setOrgName(String orgName) {
|
||||
/* 96 */ this.orgName = orgName;
|
||||
}
|
||||
|
||||
public String getPosition() {
|
||||
return this.position;
|
||||
}
|
||||
|
||||
public void setPosition(String position) {
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public List<String> getRoleIds() {
|
||||
return this.roleIds;
|
||||
}
|
||||
|
||||
public void setRoleIds(List<String> roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
|
||||
public List<String> getRoles() {
|
||||
return this.roles;
|
||||
}
|
||||
|
||||
public void setRoles(List<String> roles) {
|
||||
this.roles = roles;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getTelephone() {
|
||||
return this.telephone;
|
||||
}
|
||||
|
||||
public void setTelephone(String telephone) {
|
||||
this.telephone = telephone;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public String getOrgPath() {
|
||||
return this.orgPath;
|
||||
}
|
||||
|
||||
public void setOrgPath(String orgPath) {
|
||||
this.orgPath = orgPath;
|
||||
}
|
||||
|
||||
public String getPicturePath() {
|
||||
return this.picturePath;
|
||||
}
|
||||
|
||||
public void setPicturePath(String picturePath) {
|
||||
this.picturePath = picturePath;
|
||||
}
|
||||
|
||||
public Long getPwdLastUpdateTime() {
|
||||
return this.pwdLastUpdateTime;
|
||||
}
|
||||
|
||||
public void setPwdLastUpdateTime(Long pwdLastUpdateTime) {
|
||||
this.pwdLastUpdateTime = pwdLastUpdateTime;
|
||||
}
|
||||
|
||||
public Integer getWrongTimes() {
|
||||
return this.wrongTimes;
|
||||
}
|
||||
|
||||
public void setWrongTimes(Integer wrongTimes) {
|
||||
this.wrongTimes = wrongTimes;
|
||||
}
|
||||
|
||||
public Integer getLockStatus() {
|
||||
return this.lockStatus;
|
||||
}
|
||||
|
||||
public void setLockStatus(Integer lockStatus) {
|
||||
this.lockStatus = lockStatus;
|
||||
}
|
||||
|
||||
public Long getLockDate() {
|
||||
return this.lockDate;
|
||||
}
|
||||
|
||||
public void setLockDate(Long lockDate) {
|
||||
this.lockDate = lockDate;
|
||||
}
|
||||
|
||||
public Long getPwdErrorDate() {
|
||||
return this.pwdErrorDate;
|
||||
}
|
||||
|
||||
public void setPwdErrorDate(Long pwdErrorDate) {
|
||||
this.pwdErrorDate = pwdErrorDate;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
return this.email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getLoginPwd() {
|
||||
return this.loginPwd;
|
||||
}
|
||||
|
||||
public void setLoginPwd(String loginPwd) {
|
||||
this.loginPwd = loginPwd;
|
||||
}
|
||||
|
||||
public String getLoginPwdSalt() {
|
||||
return this.loginPwdSalt;
|
||||
}
|
||||
|
||||
public void setLoginPwdSalt(String loginPwdSalt) {
|
||||
this.loginPwdSalt = loginPwdSalt;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getWorkCode() {
|
||||
return this.workCode;
|
||||
}
|
||||
|
||||
public void setWorkCode(String workCode) {
|
||||
this.workCode = workCode;
|
||||
}
|
||||
|
||||
public String getPwdComplexity() {
|
||||
return this.pwdComplexity;
|
||||
}
|
||||
|
||||
public void setPwdComplexity(String pwdComplexity) {
|
||||
this.pwdComplexity = pwdComplexity;
|
||||
}
|
||||
|
||||
public Long getLastLoginTime() {
|
||||
return this.lastLoginTime;
|
||||
}
|
||||
|
||||
public void setLastLoginTime(Long lastLoginTime) {
|
||||
this.lastLoginTime = lastLoginTime;
|
||||
}
|
||||
|
||||
public String getHistoryPwd1() {
|
||||
return this.historyPwd1;
|
||||
}
|
||||
|
||||
public void setHistoryPwd1(String historyPwd1) {
|
||||
this.historyPwd1 = historyPwd1;
|
||||
}
|
||||
|
||||
public String getHistoryPwd2() {
|
||||
return this.historyPwd2;
|
||||
}
|
||||
|
||||
public void setHistoryPwd2(String historyPwd2) {
|
||||
this.historyPwd2 = historyPwd2;
|
||||
}
|
||||
|
||||
public String getCorpCode() {
|
||||
return this.corpCode;
|
||||
}
|
||||
|
||||
public void setCorpCode(String corpCode) {
|
||||
this.corpCode = corpCode;
|
||||
}
|
||||
|
||||
public String getEncodedCorpCode() {
|
||||
return this.encodedCorpCode;
|
||||
}
|
||||
|
||||
public void setEncodedCorpCode(String encodedCorpCode) {
|
||||
this.encodedCorpCode = encodedCorpCode;
|
||||
}
|
||||
|
||||
public String getCorpName() {
|
||||
return this.corpName;
|
||||
}
|
||||
|
||||
public void setCorpName(String corpName) {
|
||||
this.corpName = corpName;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
package cn.cloudwalk.client.davinci.portal.user.result;
|
||||
|
||||
import cn.cloudwalk.client.resource.user.result.UserQueryResult;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class PortalUserQueryResult
|
||||
extends UserQueryResult
|
||||
{
|
||||
private String loginName;
|
||||
private List<String> roleIds;
|
||||
private List<String> roles;
|
||||
private String orgName;
|
||||
private String userId;
|
||||
|
||||
public String getLoginName() {
|
||||
return this.loginName;
|
||||
}
|
||||
|
||||
public void setLoginName(String loginName) {
|
||||
this.loginName = loginName;
|
||||
}
|
||||
|
||||
public List<String> getRoleIds() {
|
||||
return this.roleIds;
|
||||
}
|
||||
|
||||
public void setRoleIds(List<String> roleIds) {
|
||||
this.roleIds = roleIds;
|
||||
}
|
||||
|
||||
public List<String> getRoles() {
|
||||
return this.roles;
|
||||
}
|
||||
|
||||
public void setRoles(List<String> roles) {
|
||||
this.roles = roles;
|
||||
}
|
||||
|
||||
public String getOrgName() {
|
||||
return this.orgName;
|
||||
}
|
||||
|
||||
public void setOrgName(String orgName) {
|
||||
this.orgName = orgName;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
package cn.cloudwalk.client.davinci.portal.user.service;
|
||||
|
||||
import cn.cloudwalk.client.davinci.portal.user.param.PortalUserChangePwdParam;
|
||||
import cn.cloudwalk.client.davinci.portal.user.param.PortalUserCheckPwdParam;
|
||||
import cn.cloudwalk.client.davinci.portal.user.param.PortalUserEditParam;
|
||||
import cn.cloudwalk.client.davinci.portal.user.param.PortalUserGetBacKPwdParam;
|
||||
import cn.cloudwalk.client.davinci.portal.user.result.PortalUserDetailResult;
|
||||
import cn.cloudwalk.client.davinci.portal.user.result.PortalUserQueryResult;
|
||||
import cn.cloudwalk.client.resource.user.param.UserAccountQueryParam;
|
||||
import cn.cloudwalk.client.resource.user.param.UserAddParam;
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
public interface PortalUserService {
|
||||
CloudwalkResult<String> add(UserAddParam paramUserAddParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> checkPassword(PortalUserCheckPwdParam paramPortalUserCheckPwdParam, CloudwalkCallContext paramCloudwalkCallContext, HttpServletRequest paramHttpServletRequest) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> changePassword(PortalUserChangePwdParam paramPortalUserChangePwdParam, CloudwalkCallContext paramCloudwalkCallContext, HttpServletRequest paramHttpServletRequest) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> changePwdFromDefault(PortalUserChangePwdParam paramPortalUserChangePwdParam, CloudwalkCallContext paramCloudwalkCallContext, HttpServletRequest paramHttpServletRequest) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> sendEmail(String paramString, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> changePwdBySign(PortalUserGetBacKPwdParam paramPortalUserGetBacKPwdParam, CloudwalkCallContext paramCloudwalkCallContext, HttpServletRequest paramHttpServletRequest) throws ServiceException;
|
||||
|
||||
CloudwalkResult<PortalUserDetailResult> getCurrentUserDetail(CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> changePhoto(String paramString, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> resetPassword(String paramString, CloudwalkCallContext paramCloudwalkCallContext, HttpServletRequest paramHttpServletRequest) throws ServiceException;
|
||||
|
||||
void pwdExpireCall();
|
||||
|
||||
String getDefaultPwd();
|
||||
|
||||
CloudwalkResult<Boolean> apiAuth(String paramString, CloudwalkCallContext paramCloudwalkCallContext);
|
||||
|
||||
CloudwalkResult<Boolean> update(PortalUserEditParam paramPortalUserEditParam, CloudwalkCallContext paramCloudwalkCallContext);
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<PortalUserQueryResult>> page(UserAccountQueryParam paramUserAccountQueryParam, CloudwalkCallContext paramCloudwalkCallContext);
|
||||
|
||||
CloudwalkResult<PortalUserDetailResult> detail(String paramString, CloudwalkCallContext paramCloudwalkCallContext);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user