Index

A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept(Root<T>, CriteriaUpdate<T>, CriteriaBuilder) - Method in interface io.github.xezzon.zeroweb.common.jpa.BaseDAO.UpdateCriteriaBuilder
 
ACCESS_KEY_HEADER - Static variable in class io.github.xezzon.zeroweb.auth.JwtFilter
 
addInterceptors(InterceptorRegistry) - Method in class io.github.xezzon.zeroweb.auth.SaTokenConfigure
添加注解式鉴权功能
Alphanumeric - Annotation Interface in io.github.xezzon.zeroweb.common.validator
数据校验:仅允许字母、数字、下划线
appBuilder() - Static method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator
 
ApplicationContextProvider - Class in io.github.xezzon.zeroweb.common.context
应用上下文
ApplicationContextProvider() - Constructor for class io.github.xezzon.zeroweb.common.context.ApplicationContextProvider
 
ARGUMENT_NOT_VALID - Enum constant in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
HTTP请求参数不符合校验规则
ASCII_LOWER_CASE - Static variable in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
小写字母
ASCII_UPPER_CASE - Static variable in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
大写字母
ASN1PrivateKeyReader - Interface in io.github.xezzon.zeroweb.core.crypto
 
ASN1PrivateKeyWriter - Interface in io.github.xezzon.zeroweb.core.crypto
 
ASN1PublicKeyReader - Interface in io.github.xezzon.zeroweb.core.crypto
 
ASN1PublicKeyWriter - Interface in io.github.xezzon.zeroweb.core.crypto
 
AuthHttpConstant - Class in io.github.xezzon.zeroweb.auth
HTTP 认证相关的常量
AUTHORIZATION - Enum constant in enum class io.github.xezzon.zeroweb.core.error.ErrorSourceType
授权异常
AUTHORIZATION - Static variable in class io.github.xezzon.zeroweb.auth.AuthHttpConstant
HTTP "Authentication" 请求头
AUTHORIZED_PARTY_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JwtClaimWrapper
授权方 - ID 令牌的发行方
AZP_VALUE - Static variable in class io.github.xezzon.zeroweb.auth.JwtClaimWrapper
授权方: ZeroWeb

B

BaseDAO<T extends IEntity<I>,I,M extends org.springframework.data.jpa.repository.JpaRepository<T,I> & org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>> - Class in io.github.xezzon.zeroweb.common.jpa
 
BaseDAO.ICopier<T> - Interface in io.github.xezzon.zeroweb.common.jpa
实体属性复制器
BaseDAO.UpdateCriteriaBuilder<T> - Interface in io.github.xezzon.zeroweb.common.jpa
更新条件组装器
BaseSpecs - Class in io.github.xezzon.zeroweb.common.jpa
 
bearer() - Method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator.Builder
 
BEARER - Static variable in class io.github.xezzon.zeroweb.auth.AuthHttpConstant
HTTP "Bearer" 身份验证方案
BreakException - Exception in io.github.xezzon.zeroweb.core.error
退出当前异常处理流程,用于不关心执行结果的地方。
BreakException() - Constructor for exception io.github.xezzon.zeroweb.core.error.BreakException
 

C

CharacterConstant - Class in io.github.xezzon.zeroweb.common.constant
 
clear() - Static method in class io.github.xezzon.zeroweb.auth.JwtAuth
清楚 ThreadLocal 防止内存泄漏
CLIENT - Enum constant in enum class io.github.xezzon.zeroweb.core.error.ErrorSourceType
客户端异常 需要通知给调用方处理
CLIENT - Enum constant in enum class io.github.xezzon.zeroweb.metadata.ServiceType
 
code() - Method in record class io.github.xezzon.zeroweb.common.exception.ErrorResponse
Returns the value of the code record component.
code() - Method in interface io.github.xezzon.zeroweb.core.error.IErrorCode
错误码编码 格式为 `${错误来源类型}{模块编码}{异常码序列号}`
CommonErrorCode - Enum Class in io.github.xezzon.zeroweb.common.exception
错误码分配中心
copy(T, T) - Method in interface io.github.xezzon.zeroweb.common.jpa.BaseDAO.ICopier
复制实体属性,如果源实体属性为null,则不复制

D

DATA_PERMISSION_FORBIDDEN - Enum constant in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
数据权限无效
DatabaseConstant - Class in io.github.xezzon.zeroweb.common.constant
数据库相关常量
DataPermissionForbiddenException - Exception in io.github.xezzon.zeroweb.common.exception
 
DataPermissionForbiddenException(String) - Constructor for exception io.github.xezzon.zeroweb.common.exception.DataPermissionForbiddenException
 
DbTrait - Interface in io.github.xezzon.zeroweb.common.marker
以与数据库交互的方式实现功能
decoder(byte[]) - Static method in class io.github.xezzon.zeroweb.auth.JsonWebToken
验签、解码 JWT(对称密钥验签)
decoder(ECPublicKey) - Static method in class io.github.xezzon.zeroweb.auth.JsonWebToken
验签、解码 JWT (公钥验签)
Decoder(Algorithm) - Constructor for class io.github.xezzon.zeroweb.auth.JsonWebToken.Decoder
 
DEFAULT_TIMEOUT - Static variable in class io.github.xezzon.zeroweb.auth.JwtClaimWrapper
JWT默认过期时间(秒)
DefaultMenuService - Class in io.github.xezzon.zeroweb.metadata
 
DefaultMenuService() - Constructor for class io.github.xezzon.zeroweb.metadata.DefaultMenuService
 
DerStringReader - Class in io.github.xezzon.zeroweb.core.crypto
 
DerStringReader(String) - Constructor for class io.github.xezzon.zeroweb.core.crypto.DerStringReader
 
deserialize(byte[]) - Method in class io.github.xezzon.zeroweb.common.redis.GsonRedisSerializer
 
DictImporter - Interface in io.github.xezzon.zeroweb.dict
字典导入功能
DictRpcHandler - Class in io.github.xezzon.zeroweb.dict
以 RPC 调用的方式实现字典导入功能,针对 zeroweb-service-admin 以外的服务。
DictRpcHandler() - Constructor for class io.github.xezzon.zeroweb.dict.DictRpcHandler
 
DictScanner - Class in io.github.xezzon.zeroweb.dict
在 Bean 注册阶段扫描 classpath 下所有实现了 IDict 接口的枚举类,并在用用启动时将其注册到数据库中。
DictScanner() - Constructor for class io.github.xezzon.zeroweb.dict.DictScanner
 
DIGIT - Static variable in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
数字
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.github.xezzon.zeroweb.auth.JwtFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.github.xezzon.zeroweb.common.otlp.UserSpanAttributeFilter
 
DOT - Static variable in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric

E

EMBEDDED - Enum constant in enum class io.github.xezzon.zeroweb.metadata.MenuType
嵌入页面。
EnableDictScan - Annotation Interface in io.github.xezzon.zeroweb.dict
启用注解扫描。
equals(Object) - Method in record class io.github.xezzon.zeroweb.common.domain.Id
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.xezzon.zeroweb.common.exception.ErrorResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
Indicates whether some other object is "equal to" this one.
error() - Method in record class io.github.xezzon.zeroweb.common.exception.ErrorResponse
Returns the value of the error record component.
ERROR_CODE_HEADER - Static variable in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
错误码的请求头名称
ErrorDetail - Class in io.github.xezzon.zeroweb.common.exception
API异常响应对象,与 Error-Code 响应头对应
ErrorDetail(String, String) - Constructor for class io.github.xezzon.zeroweb.common.exception.ErrorDetail
 
ErrorResponse - Record Class in io.github.xezzon.zeroweb.common.exception
API异常响应体
ErrorResponse(String, ErrorDetail) - Constructor for record class io.github.xezzon.zeroweb.common.exception.ErrorResponse
Creates an instance of a ErrorResponse record class.
ErrorSourceType - Enum Class in io.github.xezzon.zeroweb.core.error
错误来源类型
EXCEPTION_I18N_BASENAME - Static variable in exception io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
 
ExcludeDbTrait - Class in io.github.xezzon.zeroweb.common.marker
 
ExcludeDbTrait() - Constructor for class io.github.xezzon.zeroweb.common.marker.ExcludeDbTrait
 
excludes() - Element in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
 
EXTERNAL_LINK - Enum constant in enum class io.github.xezzon.zeroweb.metadata.MenuType
外部链接。

F

FILE_SUFFIX - Static variable in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
PEM文件默认后缀名
findAll(ODataQueryOption) - Method in class io.github.xezzon.zeroweb.common.jpa.BaseDAO
分页查询数据
format(String, String, Object...) - Method in class io.github.xezzon.zeroweb.common.i18n.I18nUtil.I18nMessageFormatter
 
formatter(String) - Static method in class io.github.xezzon.zeroweb.common.i18n.I18nUtil
消息格式化的构造器

G

generate(SharedSessionContractImplementor, Object) - Method in class io.github.xezzon.zeroweb.common.jpa.HibernateIdGenerator
 
get() - Static method in class io.github.xezzon.zeroweb.auth.JwtAuth
获取当前认证信息。
get() - Method in class io.github.xezzon.zeroweb.common.jpa.BaseDAO
 
getChildren() - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeNode
 
getCode() - Method in enum class io.github.xezzon.zeroweb.metadata.ServiceType
 
getCopier() - Method in class io.github.xezzon.zeroweb.common.jpa.BaseDAO
 
getCountDownLatch() - Method in class io.github.xezzon.zeroweb.dict.DictRpcHandler
 
getDigit() - Static method in class io.github.xezzon.zeroweb.common.constant.CharacterConstant
 
getId() - Method in interface io.github.xezzon.zeroweb.common.jpa.IEntity
 
getId() - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeNode
 
getLabel() - Method in enum class io.github.xezzon.zeroweb.metadata.ServiceType
 
getLocalizedMessage(Locale, String) - Method in exception io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
 
getLowercase() - Static method in class io.github.xezzon.zeroweb.common.constant.CharacterConstant
 
getMessage() - Method in exception io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
 
getMessage() - Method in exception io.github.xezzon.zeroweb.common.exception.ZerowebRuntimeException
 
getOrdinal() - Method in enum class io.github.xezzon.zeroweb.metadata.ServiceType
 
getOrThrow() - Static method in class io.github.xezzon.zeroweb.auth.JwtAuth
获取当前认证信息。
getPageNumber() - Method in class io.github.xezzon.zeroweb.core.odata.ODataQueryOption
 
getParentId() - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeNode
 
getPermissionList(Object, String) - Method in class io.github.xezzon.zeroweb.auth.JwtStpInterface
 
getPublicKey() - Static method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator
 
getResourceFromClasspath(String) - Static method in class io.github.xezzon.zeroweb.core.util.ResourceUtil
从首个文件系统的classpath中获取资源
getResourcesFromClasspath(String) - Static method in class io.github.xezzon.zeroweb.core.util.ResourceUtil
从所有的文件系统的classpath中获取资源
getRoleList(Object, String) - Method in class io.github.xezzon.zeroweb.auth.JwtStpInterface
 
getSecretKey() - Static method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator
 
getTag() - Method in enum class io.github.xezzon.zeroweb.metadata.ServiceType
 
getUppercase() - Static method in class io.github.xezzon.zeroweb.common.constant.CharacterConstant
 
GlobalExceptionHandler - Class in io.github.xezzon.zeroweb.common.exception
全局异常处理 错误码: 依据`异常类-错误码`映射查找。
GlobalExceptionHandler() - Constructor for class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
 
GROUP_PERMISSION - Enum constant in enum class io.github.xezzon.zeroweb.metadata.MenuType
资源权限 路径格式为 `resource:#:operation`,operation 通常为 `read`(可省略)、`write` 等。
groups() - Element in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
Hibernate Validator 要求的字段之一
GROUPS_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JwtClaimWrapper
用户组
GrpcClientFactory - Class in io.github.xezzon.zeroweb.common.grpc
构造 gRPC 客户端 Bean。
GrpcClientFactory() - Constructor for class io.github.xezzon.zeroweb.common.grpc.GrpcClientFactory
 
GrpcJwtInterceptor - Class in io.github.xezzon.zeroweb.common.grpc
服务间调用传递认证信息
GrpcJwtInterceptor() - Constructor for class io.github.xezzon.zeroweb.common.grpc.GrpcJwtInterceptor
 
GsonRedisSerializer<T> - Class in io.github.xezzon.zeroweb.common.redis
 
GsonRedisSerializer(TypeToken<T>) - Constructor for class io.github.xezzon.zeroweb.common.redis.GsonRedisSerializer
 

H

handleException(NotLoginException, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
未登录
handleException(ZerowebBusinessException, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
业务异常
handleException(Throwable, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
非业务异常(通用)
handleException(MethodArgumentNotValidException, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
参数校验不通过
handleException(NoResourceFoundException, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
请求资源不存在
handleForbiddenException(RuntimeException, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
未授权
hashCode() - Method in record class io.github.xezzon.zeroweb.common.domain.Id
Returns a hash code value for this object.
hashCode() - Method in record class io.github.xezzon.zeroweb.common.exception.ErrorResponse
Returns a hash code value for this object.
hashCode() - Method in record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
Returns a hash code value for this object.
HibernateIdGenerator - Class in io.github.xezzon.zeroweb.common.jpa
ID 生成器 生成规则取决于配置 ${zeroweb.id-generator}
HibernateIdGenerator() - Constructor for class io.github.xezzon.zeroweb.common.jpa.HibernateIdGenerator
 
HYPHEN - Static variable in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
短横线

I

I18N_BASENAME - Static variable in interface io.github.xezzon.zeroweb.core.error.IErrorCode
错误码国际化的命名空间
I18nConfig - Class in io.github.xezzon.zeroweb.common.i18n
Spring 国际化配置
I18nConfig() - Constructor for class io.github.xezzon.zeroweb.common.i18n.I18nConfig
 
I18nMessageFormatter(String) - Constructor for class io.github.xezzon.zeroweb.common.i18n.I18nUtil.I18nMessageFormatter
 
I18nUtil - Class in io.github.xezzon.zeroweb.common.i18n
国际化相关方法
I18nUtil.I18nMessageFormatter - Class in io.github.xezzon.zeroweb.common.i18n
消息格式化器
id() - Method in record class io.github.xezzon.zeroweb.common.domain.Id
Returns the value of the id record component.
id(String) - Method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator.Builder
 
Id - Record Class in io.github.xezzon.zeroweb.common.domain
将ID封装成对象
Id(String) - Constructor for record class io.github.xezzon.zeroweb.common.domain.Id
Creates an instance of a Id record class.
ID_GENERATOR - Static variable in class io.github.xezzon.zeroweb.common.config.ZerowebConfig
ID生成策略配置Key
ID_LENGTH - Static variable in class io.github.xezzon.zeroweb.common.constant.DatabaseConstant
主键字段长度
identicallyEqual() - Static method in class io.github.xezzon.zeroweb.common.jpa.BaseSpecs
构造`WHERE TRUE;`的 JPA Specification。
identicallyNotEqual() - Static method in class io.github.xezzon.zeroweb.common.jpa.BaseSpecs
构造`WHERE FALSE;`的 JPA Specification。
IdGenerator - Annotation Interface in io.github.xezzon.zeroweb.common.jpa
标记实体类的 id 以自定义的方式生成
IEntity<T> - Interface in io.github.xezzon.zeroweb.common.jpa
 
IErrorCode - Interface in io.github.xezzon.zeroweb.core.error
错误码抽象
IMenuService - Interface in io.github.xezzon.zeroweb.metadata
权限服务
importDict(DictImportReqList) - Method in interface io.github.xezzon.zeroweb.dict.DictImporter
批量导入字典 逐个判断。
importDict(DictImportReqList) - Method in class io.github.xezzon.zeroweb.dict.DictRpcHandler
 
includes() - Element in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
 
interceptCall(MethodDescriptor<ReqT, RespT>, CallOptions, Channel) - Method in class io.github.xezzon.zeroweb.common.grpc.GrpcJwtInterceptor
客户端拦截器
interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in class io.github.xezzon.zeroweb.common.grpc.GrpcJwtInterceptor
服务端拦截器
into() - Method in record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
 
INVALID_TOKEN - Enum constant in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
无效的token
InvalidSessionException - Exception in io.github.xezzon.zeroweb.common.exception
无效的会话信息
InvalidSessionException(Throwable) - Constructor for exception io.github.xezzon.zeroweb.common.exception.InvalidSessionException
 
InvalidTokenException - Exception in io.github.xezzon.zeroweb.common.exception
不正确的口令
InvalidTokenException(Throwable) - Constructor for exception io.github.xezzon.zeroweb.common.exception.InvalidTokenException
 
io.github.xezzon.zeroweb.auth - package io.github.xezzon.zeroweb.auth
 
io.github.xezzon.zeroweb.common.config - package io.github.xezzon.zeroweb.common.config
 
io.github.xezzon.zeroweb.common.constant - package io.github.xezzon.zeroweb.common.constant
 
io.github.xezzon.zeroweb.common.context - package io.github.xezzon.zeroweb.common.context
 
io.github.xezzon.zeroweb.common.domain - package io.github.xezzon.zeroweb.common.domain
 
io.github.xezzon.zeroweb.common.exception - package io.github.xezzon.zeroweb.common.exception
 
io.github.xezzon.zeroweb.common.grpc - package io.github.xezzon.zeroweb.common.grpc
 
io.github.xezzon.zeroweb.common.i18n - package io.github.xezzon.zeroweb.common.i18n
 
io.github.xezzon.zeroweb.common.jpa - package io.github.xezzon.zeroweb.common.jpa
 
io.github.xezzon.zeroweb.common.marker - package io.github.xezzon.zeroweb.common.marker
 
io.github.xezzon.zeroweb.common.otlp - package io.github.xezzon.zeroweb.common.otlp
 
io.github.xezzon.zeroweb.common.redis - package io.github.xezzon.zeroweb.common.redis
 
io.github.xezzon.zeroweb.common.validator - package io.github.xezzon.zeroweb.common.validator
 
io.github.xezzon.zeroweb.core.crypto - package io.github.xezzon.zeroweb.core.crypto
 
io.github.xezzon.zeroweb.core.error - package io.github.xezzon.zeroweb.core.error
 
io.github.xezzon.zeroweb.core.odata - package io.github.xezzon.zeroweb.core.odata
 
io.github.xezzon.zeroweb.core.tree - package io.github.xezzon.zeroweb.core.tree
 
io.github.xezzon.zeroweb.core.util - package io.github.xezzon.zeroweb.core.util
 
io.github.xezzon.zeroweb.dict - package io.github.xezzon.zeroweb.dict
 
io.github.xezzon.zeroweb.metadata - package io.github.xezzon.zeroweb.metadata
 
issuedAt(Instant) - Method in class io.github.xezzon.zeroweb.auth.JsonWebToken.Signer
 
issuer(String) - Method in class io.github.xezzon.zeroweb.auth.JsonWebToken.Signer
 
ITreeNode<T extends ITreeNode<T,I>,I> - Interface in io.github.xezzon.zeroweb.core.tree
树形数据类型
ITreeService<T extends ITreeNode<T,I>,I> - Interface in io.github.xezzon.zeroweb.core.tree
树形数据管理

J

JsonWebToken - Class in io.github.xezzon.zeroweb.auth
签发/解码JWT
JsonWebToken.Decoder - Class in io.github.xezzon.zeroweb.auth
JWT解码器
JsonWebToken.Signer - Class in io.github.xezzon.zeroweb.auth
JWT 签发器
jwt() - Method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator.Builder
 
JwtAuth - Class in io.github.xezzon.zeroweb.auth
JWT认证相关
jwtBuilder() - Method in class io.github.xezzon.zeroweb.auth.JwtClaimWrapper
 
jwtClaim() - Method in class io.github.xezzon.zeroweb.auth.JwtClaimWrapper
 
JwtClaimWrapper - Class in io.github.xezzon.zeroweb.auth
JWT包装器
JwtClaimWrapper(DecodedJWT) - Constructor for class io.github.xezzon.zeroweb.auth.JwtClaimWrapper
从JWT对象构造
JwtClaimWrapper(JwtClaim) - Constructor for class io.github.xezzon.zeroweb.auth.JwtClaimWrapper
从认证信息构造
JwtFilter - Class in io.github.xezzon.zeroweb.auth
处理请求头中 JWT 携带的认证信息。
JwtFilter() - Constructor for class io.github.xezzon.zeroweb.auth.JwtFilter
 
JwtStpInterface - Class in io.github.xezzon.zeroweb.auth
 
JwtStpInterface() - Constructor for class io.github.xezzon.zeroweb.auth.JwtStpInterface
 

K

keyConverter - Static variable in class io.github.xezzon.zeroweb.core.crypto.SecretKeyUtil
 

L

list() - Method in class io.github.xezzon.zeroweb.metadata.DefaultMenuService
 
list() - Method in interface io.github.xezzon.zeroweb.metadata.IMenuService
列举服务内所有的接口权限与资源权限
listByParentId(Collection<I>) - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeService
查询列表
loadResourceInfo() - Method in class io.github.xezzon.zeroweb.metadata.MetadataHttpEndpoint
服务自省资源信息
loadServiceInfo() - Method in class io.github.xezzon.zeroweb.metadata.MetadataHttpEndpoint
服务自省服务信息
locale(Locale) - Method in class io.github.xezzon.zeroweb.common.i18n.I18nUtil.I18nMessageFormatter
 

M

mapping(Class<? extends Throwable>) - Static method in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
 
MenuInfo - Class in io.github.xezzon.zeroweb.metadata
资源信息
MenuInfo() - Constructor for class io.github.xezzon.zeroweb.metadata.MenuInfo
 
MenuType - Enum Class in io.github.xezzon.zeroweb.metadata
菜单类型
message() - Element in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
Hibernate Validator 要求的字段之一
MetadataHttpEndpoint - Class in io.github.xezzon.zeroweb.metadata
服务自省
MetadataHttpEndpoint() - Constructor for class io.github.xezzon.zeroweb.metadata.MetadataHttpEndpoint
 
moduleCode() - Method in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
 
moduleCode() - Method in interface io.github.xezzon.zeroweb.core.error.IErrorCode
模块编码 0 为公共模块 ZeroWeb 的模块编码从 -1~-128 分配 1~127 由使用者分配

N

name() - Method in interface io.github.xezzon.zeroweb.core.error.IErrorCode
错误名称 与错误码编码一一对应
nextId() - Method in class io.github.xezzon.zeroweb.common.jpa.UuidIdGenerator
 
NICKNAME_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JwtClaimWrapper
昵称
NO_SUCH_DATA - Enum constant in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
数据不存在或已删除
NONE - Enum constant in enum class io.github.xezzon.zeroweb.core.error.ErrorSourceType
非异常占位符
NOT_FOUND - Enum constant in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
资源不存在
NOT_LOGIN - Enum constant in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
未登录
NOT_PERMISSION - Enum constant in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
用户没有指定的权限
NOT_ROLE - Enum constant in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
用户没有指定的角色
NoValidClasspathException - Exception in io.github.xezzon.zeroweb.common.exception
找不到有效的类路径
NoValidClasspathException(Throwable) - Constructor for exception io.github.xezzon.zeroweb.common.exception.NoValidClasspathException
 

O

ODataQueryOption - Class in io.github.xezzon.zeroweb.core.odata
 
ODataQueryOption() - Constructor for class io.github.xezzon.zeroweb.core.odata.ODataQueryOption
 
ODataRequestParam - Record Class in io.github.xezzon.zeroweb.core.odata
 
ODataRequestParam(Integer, Integer) - Constructor for record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
Creates an instance of a ODataRequestParam record class.
of(TypeToken<T>) - Method in class io.github.xezzon.zeroweb.common.redis.RedisTemplateFactory
指定值类型的 Redis 处理器 使用方法如下:
of(String) - Static method in record class io.github.xezzon.zeroweb.common.domain.Id
静态化构造ID对象

P

PagedModel<T> - Class in io.github.xezzon.zeroweb.common.domain
分页数据
PagedModel() - Constructor for class io.github.xezzon.zeroweb.common.domain.PagedModel
 
PagedModel.PageMetadata - Class in io.github.xezzon.zeroweb.common.domain
分页信息
PageMetadata() - Constructor for class io.github.xezzon.zeroweb.common.domain.PagedModel.PageMetadata
 
partialUpdate(T) - Method in class io.github.xezzon.zeroweb.common.jpa.BaseDAO
局部更新实体(仅更新非空字段)
payload() - Element in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
Hibernate Validator 要求的字段之一
PEM_PRIVATE_KEY_HEADER - Static variable in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
PEM文件私钥默认头尾描述符
PEM_PUBLIC_KEY_HEADER - Static variable in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
PEM文件公钥默认头尾描述符
PemClasspathReaderAndWriter - Class in io.github.xezzon.zeroweb.core.crypto
从classpath中读写PEM格式的公钥和私钥文件
PemClasspathReaderAndWriter(String) - Constructor for class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
 
PERMISSION - Enum constant in enum class io.github.xezzon.zeroweb.metadata.MenuType
接口权限 路径格式为 `resource:operation`,operation 通常为 `read`(可省略)、`write` 等。
PERMISSION_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JwtClaimWrapper
权限
permissions(List<String>) - Method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator.Builder
 
PRIVATE_KEY_FILE_SUFFIX - Static variable in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
私钥PEM文件后缀名
PUBLIC_KEY_FILE_SUFFIX - Static variable in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
公钥PEM文件后缀名
PUBLIC_KEY_HEADER - Static variable in class io.github.xezzon.zeroweb.auth.JwtFilter
 

R

readPrivateKey() - Method in interface io.github.xezzon.zeroweb.core.crypto.ASN1PrivateKeyReader
读取私钥形式的ASN.1
readPrivateKey() - Method in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
从classpath的PEM文件中读取私钥 文件名格式为:`${name}.secret.pem`
readPrivateKey(ASN1PrivateKeyReader) - Static method in class io.github.xezzon.zeroweb.core.crypto.SecretKeyUtil
从ASN1PrivateKeyReader中读取私钥
readPublicKey() - Method in interface io.github.xezzon.zeroweb.core.crypto.ASN1PublicKeyReader
读取公钥形式的ASN.1
readPublicKey() - Method in class io.github.xezzon.zeroweb.core.crypto.DerStringReader
 
readPublicKey() - Method in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
从classpath的PEM文件中读取公钥 文件名格式为:`${name}.public.pem`
readPublicKey(ASN1PublicKeyReader) - Static method in class io.github.xezzon.zeroweb.core.crypto.SecretKeyUtil
从ASN1PublicKeyReader中读取公钥
readResourceBundle(String, Locale) - Static method in class io.github.xezzon.zeroweb.common.i18n.I18nUtil
读取指定语言包 注意:指定语言包不存在时,会加载默认语言包
RedisTemplateFactory - Class in io.github.xezzon.zeroweb.common.redis
 
RedisTemplateFactory(RedisConnectionFactory) - Constructor for class io.github.xezzon.zeroweb.common.redis.RedisTemplateFactory
 
registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class io.github.xezzon.zeroweb.common.marker.ExcludeDbTrait
 
registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class io.github.xezzon.zeroweb.dict.DictScanner
Bean 注册阶段,扫描 classpath 下所有实现了 IDict 接口的枚举类。
REPEAT_DATA - Enum constant in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
唯一键冲突 消息参数0: 重复的键名
RepeatDataException - Exception in io.github.xezzon.zeroweb.common.exception
唯一键冲突
RepeatDataException(String) - Constructor for exception io.github.xezzon.zeroweb.common.exception.RepeatDataException
 
ResourceUtil - Class in io.github.xezzon.zeroweb.core.util
 
roles(List<String>) - Method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator.Builder
 
ROLES_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JwtClaimWrapper
角色
ROOT_ID - Static variable in class io.github.xezzon.zeroweb.common.constant.DatabaseConstant
默认ID 用于表示不存在的根节点
ROUTE - Enum constant in enum class io.github.xezzon.zeroweb.metadata.MenuType
路由 路径格式为 `/menu/submenu`
RpcTrait - Interface in io.github.xezzon.zeroweb.common.marker
以 RPC 调用的方式实现功能
run(String...) - Method in class io.github.xezzon.zeroweb.dict.DictScanner
应用启动阶段,将扫描到的枚举类注册到数据库中。

S

SaTokenConfigure - Class in io.github.xezzon.zeroweb.auth
Sa-Token 相关配置
SaTokenConfigure() - Constructor for class io.github.xezzon.zeroweb.auth.SaTokenConfigure
 
save(JwtClaimWrapper) - Static method in class io.github.xezzon.zeroweb.auth.JwtAuth
保存 Authorization 请求头中携带的 JWT
SecretKeyUtil - Class in io.github.xezzon.zeroweb.core.crypto
读写密钥工具类
serialize(T) - Method in class io.github.xezzon.zeroweb.common.redis.GsonRedisSerializer
 
serialNumber() - Method in interface io.github.xezzon.zeroweb.core.error.IErrorCode
异常码序列号 同一模块下的异常按从 1~255 分配
SERVER - Enum constant in enum class io.github.xezzon.zeroweb.core.error.ErrorSourceType
服务端异常 通常由代码、配置等错误引起,需要通知开发人员处理
SERVER - Enum constant in enum class io.github.xezzon.zeroweb.metadata.ServiceType
 
ServiceInfo - Class in io.github.xezzon.zeroweb.metadata
服务信息
ServiceInfo() - Constructor for class io.github.xezzon.zeroweb.metadata.ServiceInfo
 
ServiceType - Enum Class in io.github.xezzon.zeroweb.metadata
服务类型
setApplicationContext(ApplicationContext) - Method in class io.github.xezzon.zeroweb.common.context.ApplicationContextProvider
 
setChildren(List<T>) - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeNode
 
setDetails(List<ErrorDetail>) - Method in class io.github.xezzon.zeroweb.common.exception.ErrorDetail
 
sign(JwtClaimWrapper) - Method in class io.github.xezzon.zeroweb.auth.JsonWebToken.Signer
签发JWT
signer(byte[]) - Static method in class io.github.xezzon.zeroweb.auth.JsonWebToken
签发 JWT (对称密钥签名)
signer(ECPrivateKey) - Static method in class io.github.xezzon.zeroweb.auth.JsonWebToken
签发 JWT (私钥签名)
skip() - Method in record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
Returns the value of the skip record component.
sourceType() - Method in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
 
sourceType() - Method in interface io.github.xezzon.zeroweb.core.error.IErrorCode
 

T

TestJwtGenerator - Class in io.github.xezzon.zeroweb.auth
为单元测试生成 JWT。
TestJwtGenerator.Builder - Class in io.github.xezzon.zeroweb.auth
 
THIRD_PARTY - Enum constant in enum class io.github.xezzon.zeroweb.core.error.ErrorSourceType
第三方服务异常 通常是调用第三方服务异常,需要通知相关运维人员处理
timeout(Long) - Method in class io.github.xezzon.zeroweb.auth.JsonWebToken.Signer
 
TIMEOUT_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JwtClaimWrapper
令牌有效时长(秒)
top() - Method in record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
Returns the value of the top record component.
topDownList(Collection<I>, int) - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeService
自上而下查询列表
topDownTree(Collection<I>, int) - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeService
自上而下查询列表
toString() - Method in record class io.github.xezzon.zeroweb.common.domain.Id
Returns a string representation of this record class.
toString() - Method in record class io.github.xezzon.zeroweb.common.exception.ErrorResponse
Returns a string representation of this record class.
toString() - Method in record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
Returns a string representation of this record class.
TraceAspect - Class in io.github.xezzon.zeroweb.common.otlp
使用切面添加 OpenTelemetry Trace
TraceAspect() - Constructor for class io.github.xezzon.zeroweb.common.otlp.TraceAspect
 
traceServiceMethods(ProceedingJoinPoint) - Method in class io.github.xezzon.zeroweb.common.otlp.TraceAspect
为Service类的方法添加OpenTelemetry追踪

U

UNDERSCORE - Static variable in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
下划线
UNKNOWN - Enum constant in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
 
URL_PROTOCOL_FILE - Static variable in class io.github.xezzon.zeroweb.core.util.ResourceUtil
 
USER_FULL_NAME - Static variable in class io.github.xezzon.zeroweb.common.otlp.UserSpanAttributeFilter
 
USER_ID - Static variable in class io.github.xezzon.zeroweb.common.otlp.UserSpanAttributeFilter
 
USER_NAME - Static variable in class io.github.xezzon.zeroweb.common.otlp.UserSpanAttributeFilter
 
USER_ROLES - Static variable in class io.github.xezzon.zeroweb.common.otlp.UserSpanAttributeFilter
 
userBuilder() - Static method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator
 
username(String) - Method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator.Builder
 
USERNAME_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JwtClaimWrapper
用户名
UserSpanAttributeFilter - Class in io.github.xezzon.zeroweb.common.otlp
 
UserSpanAttributeFilter() - Constructor for class io.github.xezzon.zeroweb.common.otlp.UserSpanAttributeFilter
 
UUID - Enum constant in enum class io.github.xezzon.zeroweb.common.config.ZerowebConfig.IdGeneratorEnum
UUID
UuidIdGenerator - Class in io.github.xezzon.zeroweb.common.jpa
ID生成器(UUID策略)
UuidIdGenerator() - Constructor for class io.github.xezzon.zeroweb.common.jpa.UuidIdGenerator
 

V

validateWithAccessKey(String, String) - Method in class io.github.xezzon.zeroweb.auth.JwtFilter
 
validateWithPublicKey(String, String) - Method in class io.github.xezzon.zeroweb.auth.JwtFilter
 
value() - Element in annotation interface io.github.xezzon.zeroweb.dict.EnableDictScan
 
valueOf(String) - Static method in enum class io.github.xezzon.zeroweb.common.config.ZerowebConfig.IdGeneratorEnum
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.xezzon.zeroweb.core.error.ErrorSourceType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.xezzon.zeroweb.metadata.MenuType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.xezzon.zeroweb.metadata.ServiceType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.xezzon.zeroweb.common.config.ZerowebConfig.IdGeneratorEnum
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.xezzon.zeroweb.common.exception.CommonErrorCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.xezzon.zeroweb.core.error.ErrorSourceType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.xezzon.zeroweb.metadata.MenuType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.xezzon.zeroweb.metadata.ServiceType
Returns an array containing the constants of this enum class, in the order they are declared.

W

writePrivateKey(byte[]) - Method in interface io.github.xezzon.zeroweb.core.crypto.ASN1PrivateKeyWriter
将ASN.1形式的私钥写入
writePrivateKey(byte[]) - Method in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
向classpath的PEM文件中写入私钥 文件名格式为:`${name}.secret.pem`
writePrivateKey(PrivateKey, ASN1PrivateKeyWriter) - Static method in class io.github.xezzon.zeroweb.core.crypto.SecretKeyUtil
将私钥写入ASN1PrivateKeyWriter中。
writePublicKey(byte[]) - Method in interface io.github.xezzon.zeroweb.core.crypto.ASN1PublicKeyWriter
将ASN.1形式的公钥写入
writePublicKey(byte[]) - Method in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
向classpath的PEM文件中写入公钥 文件名格式为:`${name}.public.pem`
writePublicKey(PublicKey, ASN1PublicKeyWriter) - Static method in class io.github.xezzon.zeroweb.core.crypto.SecretKeyUtil
将公钥写入ASN1PublicKeyWriter中。

Z

ZEROWEB - Static variable in class io.github.xezzon.zeroweb.common.config.ZerowebConfig
本系统相关配置的前缀
ZerowebBusinessException - Exception in io.github.xezzon.zeroweb.common.exception
ZeroWeb 业务异常
ZerowebConfig - Class in io.github.xezzon.zeroweb.common.config
本系统相关配置
ZerowebConfig() - Constructor for class io.github.xezzon.zeroweb.common.config.ZerowebConfig
 
ZerowebConfig.IdGeneratorEnum - Enum Class in io.github.xezzon.zeroweb.common.config
ID生成策略枚举值
ZerowebConfig.ZerowebJwtConfig - Class in io.github.xezzon.zeroweb.common.config
JWT 相关配置
ZerowebJwtConfig() - Constructor for class io.github.xezzon.zeroweb.common.config.ZerowebConfig.ZerowebJwtConfig
 
ZerowebRuntimeException - Exception in io.github.xezzon.zeroweb.common.exception
ZeroWeb 自发抛出的系统异常
ZerowebRuntimeException() - Constructor for exception io.github.xezzon.zeroweb.common.exception.ZerowebRuntimeException
 
ZerowebRuntimeException(String, Throwable) - Constructor for exception io.github.xezzon.zeroweb.common.exception.ZerowebRuntimeException
 
ZerowebRuntimeException(Throwable) - Constructor for exception io.github.xezzon.zeroweb.common.exception.ZerowebRuntimeException
 
A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form