完善社交应用审核通过、取消审核通过界面端功能逻辑。
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
/**
|
||||
*@Title: BaseEnhancedStringConfig.java
|
||||
*@Package com.nis.domain.restful
|
||||
*@Description TODO
|
||||
*@author dell
|
||||
*@date 2018年2月5日 下午5:42:52
|
||||
*@version 版本号
|
||||
*/
|
||||
package com.nis.domain.configuration;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* @ClassName: BaseEnhancedStringConfig.java
|
||||
* @Description: APP增强字符串类配置
|
||||
* @author (zhangwei)
|
||||
* @date 2018年4月3日 下午5:42:52
|
||||
* @version V1.0
|
||||
*/
|
||||
public class AppComplexKeywordCfg extends ComplexkeywordCfg{
|
||||
/**
|
||||
* @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么)
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -8058690163147881374L;
|
||||
@Expose
|
||||
private Integer compileId;
|
||||
|
||||
public Integer getCompileId() {
|
||||
return compileId;
|
||||
}
|
||||
public void setCompileId(Integer compileId) {
|
||||
this.compileId = compileId;
|
||||
}
|
||||
/* (non-Javadoc)
|
||||
* @see com.nis.domain.configuration.BaseCfg#initDefaultValue()
|
||||
*/
|
||||
@Override
|
||||
public void initDefaultValue() {
|
||||
// TODO Auto-generated method stub
|
||||
super.initDefaultValue();
|
||||
this.exprType=0;
|
||||
this.isHexbin = 0 ;
|
||||
this.matchMethod=3;
|
||||
}
|
||||
}
|
||||
@@ -32,7 +32,7 @@ public class AppIdCfg extends BaseCfg<AppIdCfg> {
|
||||
/**
|
||||
* 应用协议id
|
||||
*/
|
||||
private Long appId;
|
||||
private Integer appId;
|
||||
|
||||
/**
|
||||
* 编译id
|
||||
@@ -42,12 +42,17 @@ public class AppIdCfg extends BaseCfg<AppIdCfg> {
|
||||
/**
|
||||
* 协议字符串特征表信息列表
|
||||
*/
|
||||
private List<ComplexkeywordCfg> complexFeaturesList;
|
||||
private List<AppComplexKeywordCfg> complexFeaturesList;
|
||||
|
||||
/**
|
||||
* 协议增强字符串特征配置信息列表
|
||||
*/
|
||||
private List<BaseStringCfg> strFeaturesCfgList;
|
||||
private List<AppStringCfg> strFeaturesCfgList;
|
||||
|
||||
/**
|
||||
* 协议服务器IP配置信息列表
|
||||
*/
|
||||
private List<BaseIpCfg> ipCfgList;
|
||||
|
||||
private List<AppFeaturesIndex> featuresList;
|
||||
|
||||
@@ -111,14 +116,14 @@ public class AppIdCfg extends BaseCfg<AppIdCfg> {
|
||||
* @return appId
|
||||
*/
|
||||
|
||||
public Long getAppId() {
|
||||
public Integer getAppId() {
|
||||
return appId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param appId the appId to set
|
||||
*/
|
||||
public void setAppId(Long appId) {
|
||||
public void setAppId(Integer appId) {
|
||||
this.appId = appId;
|
||||
}
|
||||
|
||||
@@ -149,19 +154,19 @@ public class AppIdCfg extends BaseCfg<AppIdCfg> {
|
||||
|
||||
}
|
||||
|
||||
public List<ComplexkeywordCfg> getComplexFeaturesList() {
|
||||
public List<AppComplexKeywordCfg> getComplexFeaturesList() {
|
||||
return complexFeaturesList;
|
||||
}
|
||||
|
||||
public void setComplexFeaturesList(List<ComplexkeywordCfg> complexFeaturesList) {
|
||||
public void setComplexFeaturesList(List<AppComplexKeywordCfg> complexFeaturesList) {
|
||||
this.complexFeaturesList = complexFeaturesList;
|
||||
}
|
||||
|
||||
public List<BaseStringCfg> getStrFeaturesCfgList() {
|
||||
public List<AppStringCfg> getStrFeaturesCfgList() {
|
||||
return strFeaturesCfgList;
|
||||
}
|
||||
|
||||
public void setStrFeaturesCfgList(List<BaseStringCfg> strFeaturesCfgList) {
|
||||
public void setStrFeaturesCfgList(List<AppStringCfg> strFeaturesCfgList) {
|
||||
this.strFeaturesCfgList = strFeaturesCfgList;
|
||||
}
|
||||
|
||||
@@ -172,5 +177,13 @@ public class AppIdCfg extends BaseCfg<AppIdCfg> {
|
||||
public void setFeaturesList(List<AppFeaturesIndex> featuresList) {
|
||||
this.featuresList = featuresList;
|
||||
}
|
||||
|
||||
public List<BaseIpCfg> getIpCfgList() {
|
||||
return ipCfgList;
|
||||
}
|
||||
|
||||
public void setIpCfgList(List<BaseIpCfg> ipCfgList) {
|
||||
this.ipCfgList = ipCfgList;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
50
src/main/java/com/nis/domain/configuration/AppStringCfg.java
Normal file
50
src/main/java/com/nis/domain/configuration/AppStringCfg.java
Normal file
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
*@Title: BaseStringConfig.java
|
||||
*@Package com.nis.domain.restful
|
||||
*@Description TODO
|
||||
*@author dell
|
||||
*@date 2018年2月5日 下午5:26:02
|
||||
*@version 版本号
|
||||
*/
|
||||
package com.nis.domain.configuration;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* @ClassName: BaseStringConfig.java
|
||||
* @Description: 基础字符串类配置
|
||||
* @author (dell)
|
||||
* @date 2018年2月5日 下午5:26:02
|
||||
* @version V1.0
|
||||
*/
|
||||
public class AppStringCfg extends BaseStringCfg {
|
||||
|
||||
|
||||
/**
|
||||
* @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么)
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private static final long serialVersionUID = 4938724489988587634L;
|
||||
@Expose
|
||||
private Integer compileId;
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see com.nis.domain.configuration.BaseCfg#initDefaultValue()
|
||||
*/
|
||||
@Override
|
||||
public void initDefaultValue() {
|
||||
// TODO Auto-generated method stub
|
||||
super.initDefaultValue();
|
||||
this.isHexbin = 0;
|
||||
}
|
||||
|
||||
public Integer getCompileId() {
|
||||
return compileId;
|
||||
}
|
||||
public void setCompileId(Integer compileId) {
|
||||
this.compileId = compileId;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user