Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractOperationLogger - Class in org.shoulder.log.operation.logger
-
基础操作日志记录,封装了记录前后触发逻辑 记录前先校验,若日志不符合自己的规范要求则不记录这条操作日志,并在运行日志中记录为什么不合规
- AbstractOperationLogger() - Constructor for class org.shoulder.log.operation.logger.AbstractOperationLogger
- AbstractOpLogAsyncRunner - Class in org.shoulder.log.operation.async
-
日志异步执行器公共方法
- add(String, Object) - Method in class org.shoulder.log.operation.format.impl.KeyValueContextBuilder
- addDetailItem(String) - Method in class org.shoulder.log.operation.model.OperationLogDTO
- addDetailItem(String...) - Method in class org.shoulder.log.operation.model.sample.OperableObject
- addIfValueNotEmpty(String, String) - Method in class org.shoulder.log.operation.format.impl.KeyValueContextBuilder
-
当且仅当 value 不为空才拼接
- addInterceptor(OperationLoggerInterceptor) - Method in class org.shoulder.log.operation.logger.AbstractOperationLogger
- addInterceptor(OperationLoggerInterceptor) - Method in class org.shoulder.log.operation.logger.impl.AsyncOperationLogger
- addInterceptor(OperationLoggerInterceptor) - Method in class org.shoulder.log.operation.logger.impl.BufferedOperationLogger
- addInterceptor(OperationLoggerInterceptor) - Method in class org.shoulder.log.operation.logger.impl.NoOpOperationLogger
- addInterceptor(OperationLoggerInterceptor) - Method in interface org.shoulder.log.operation.logger.OperationLogger
-
注册拦截器
- addOperableObjects(Collection<? extends Operable>) - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
添加多个被操作对象
- addValue(String) - Method in class org.shoulder.log.operation.model.OpLogParam
- afterAssembleBatchLogs(List<? extends OperationLogDTO>) - Method in interface org.shoulder.log.operation.logger.OperationLoggerInterceptor
-
可以在日志组装前后做一些事情 —— 批量操作日志组装之后 可以在这里对批量操作日志对象进行最终的处理
- afterLog(OperationLogDTO) - Method in interface org.shoulder.log.operation.logger.OperationLoggerInterceptor
-
记录日后。 如果 beforeLog 设置类某些线程变量,可以在这里完成清理工作。
- ALWAYS_NEW - Enum constant in enum org.shoulder.log.operation.context.OperationContextStrategyEnum
-
总是新建:没有则新建,有则暂时挂起父级业务并新建 —— 记录的最全 (记录所有业务记录,包括触发上级业务时的子业务) 场景:修改用户信息时,先将用户查出,再做更新。若更新时,也要记录查询业务,则查询这个业务就是必定新建。
- anOpLogContext() - Static method in class org.shoulder.log.operation.context.OpLogContext.Builder
- APP - Enum constant in enum org.shoulder.log.operation.enums.TerminalType
-
移动 APP
- appId - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
应用标识 (必填) 默认取 `spring.application.name`
- assertLengthLimit(String, int, String) - Method in class org.shoulder.log.operation.logger.intercept.ShoulderOperationLogValidator
-
长度不超过
- assertSmallerLimit(int, int, String) - Method in class org.shoulder.log.operation.logger.intercept.ShoulderOperationLogValidator
-
长度不超过
- AsyncOperationLogger - Class in org.shoulder.log.operation.logger.impl
-
异步操作日志记录器 仅仅把任务放入线程池
- AsyncOperationLogger() - Constructor for class org.shoulder.log.operation.logger.impl.AsyncOperationLogger
- autoLog(boolean) - Method in class org.shoulder.log.operation.context.OpLogContext.Builder
B
- beforeAssembleBatchLogs(OperationLogDTO, List<? extends Operable>) - Method in interface org.shoulder.log.operation.logger.OperationLoggerInterceptor
-
可以在日志组装前后做一些事情 —— 批量操作日志组装之前 可以在这里对操作对象集合进行压缩、填充或者剔除
- beforeLog(OperationLogDTO) - Method in class org.shoulder.log.operation.logger.intercept.OpLogValidateInterceptor
- beforeLog(OperationLogDTO) - Method in class org.shoulder.log.operation.logger.intercept.UserAgentParserInterceptor
- beforeLog(OperationLogDTO) - Method in interface org.shoulder.log.operation.logger.OperationLoggerInterceptor
-
在记录日志之前。 可以继续针对自己的应用统一补充某些有规律的值 可以进行一些格式校验,以免记录的日志某些字段超长(加入存储是关系型数据库则推荐使用)
- BROWSER - Enum constant in enum org.shoulder.log.operation.enums.TerminalType
-
PC 浏览器
- BufferedOperationLogger - Class in org.shoulder.log.operation.logger.impl
-
带缓冲的操作日志记录器(针对频繁记录单条操作日志做优化,批量操作不优化) 将日志放入 buffer 中,当 buffer 中日志达到一定数量 / 每隔一定时间,执行一次批量保存
- BufferedOperationLogger(Queue<OperationLogDTO>, OperationLogger, ScheduledExecutorService, long, int, int) - Constructor for class org.shoulder.log.operation.logger.impl.BufferedOperationLogger
- build() - Method in class org.shoulder.log.operation.context.OpLogContext.Builder
- builder() - Static method in class org.shoulder.log.operation.context.OpLogContext
- businessId - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
与本次操作所关联其他业务操作的业务号 ,用于多个请求完共同完成一个业务功能时(选填) 例 上传csv进行数据的批量导入场景:上传导入文件、校验导入数据、点击确认导入、导入成功业务相关可以填同一个标识符 上传新头像、确定修改个人信息也可以有相同的业务标识
C
- call() - Method in class org.shoulder.log.operation.async.OpLogCallable
- clean() - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
线程变量清理: 除非你很明白框架原理,否则不要主动调用该方法
- cleanDefaultOperator() - Static method in class org.shoulder.log.operation.context.OpLogContext
-
清理线程变量 推荐由拦截器负责,使用者不要在业务代码中调用该方法,除非你很清楚日志框架的原理
- clone() - Method in class org.shoulder.log.operation.model.OperationLogDTO
- cloneTo(OperationLogDTO) - Method in class org.shoulder.log.operation.model.OperationLogDTO
-
克隆日志实体
- closeAutoLog() - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
临时关闭自动记录日志,一般用于表示希望 @OperationLog 只生成操作日志对象,而不记录。
- code - Variable in enum org.shoulder.log.operation.enums.OperationResult
- consumerLog() - Method in class org.shoulder.log.operation.logger.impl.BufferedOperationLogger
- convert(OperationLogDTO, Object, Class<?>) - Method in class org.shoulder.log.operation.format.covertor.DefaultOperationLogParamValueConverter
- convert(OperationLogDTO, Object, Class<?>) - Method in interface org.shoulder.log.operation.format.OperationLogParamValueConverter
-
转换日志参数值
- converter() - Element in annotation type org.shoulder.log.operation.annotation.OperationLogParam
-
值转换器的实现类
- copy(OpLogContext) - Static method in class org.shoulder.log.operation.context.OpLogContext
- COPY - Static variable in interface org.shoulder.log.operation.context.OperationContextStrategy
-
复制已有的上下文,(暂未遇到适用的业务场景)
- create(String) - Static method in class org.shoulder.log.operation.context.OperationLogFactory
-
创建一条操作日志 1.
- CREATE - Static variable in interface org.shoulder.log.operation.annotation.OperationLog.Operations
-
新增
- CREATE_NEW - Static variable in interface org.shoulder.log.operation.context.OperationContextStrategy
-
创建一个新的上下文,与之前无任何关系【一般场景,最常用的】
- createFromTemplate(OperationLogDTO, Collection<? extends Operable>) - Static method in class org.shoulder.log.operation.context.OperationLogFactory
-
1.
- currentOperator(Operator) - Method in class org.shoulder.log.operation.context.OpLogContext.Builder
D
- DEFAULT - Static variable in enum org.shoulder.log.operation.context.OperationContextStrategyEnum
-
默认行为
- DefaultOperationLogParamValueConverter - Class in org.shoulder.log.operation.format.covertor
-
默认的 value 转换器 对数组和可迭代的对象做了展平处理。 普通对象如DTO 则使用其 toString() 方法,如 XxxDTO(field1=1, field2=2,field3=3)
- DefaultOperationLogParamValueConverter() - Constructor for class org.shoulder.log.operation.format.covertor.DefaultOperationLogParamValueConverter
- DefaultOperationLogParamValueConverter(String) - Constructor for class org.shoulder.log.operation.format.covertor.DefaultOperationLogParamValueConverter
- DELETE - Static variable in interface org.shoulder.log.operation.annotation.OperationLog.Operations
-
删除
- detail - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
本次操作的详细描述(选填) 详细的描述用户的操作内容,如被操作对象的 json 输出,注意不要输出密码等敏感信息,或是具体发生了怎样的事情
- detail - Variable in class org.shoulder.log.operation.model.sample.OperableObject
- detail() - Element in annotation type org.shoulder.log.operation.annotation.OperationLog
-
操作内容 (选填) 该字段仅适用于不支持多语言的情况 【支持多语言时,请在代码中编码填充 detailItems
OperationLogDTO.addDetailItem(java.lang.String)】 - detailItems - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作详情占位填充项,用于填充 detailKey 中的 %1,%2,%n
- detailItems - Variable in class org.shoulder.log.operation.model.sample.OperableObject
- detailKey - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作详情对应的多语言key(选填) - 若不支持多语言则不填。 占位符使用 %1,%2,%n形式,n表示第n个参数;
- detailKey - Variable in class org.shoulder.log.operation.model.sample.OperableObject
- detailKey() - Element in annotation type org.shoulder.log.operation.annotation.OperationLog
-
操作详情多语言 key (选填)
- doEnhance(EnhancedCallable<T>) - Method in class org.shoulder.log.operation.async.OperationLogThreadLocalAutoTransferEnhancer
-
包装 callable
- doEnhance(EnhancedRunnable) - Method in class org.shoulder.log.operation.async.OperationLogThreadLocalAutoTransferEnhancer
-
包装 runnable
- doLog(OperationLogDTO) - Method in class org.shoulder.log.operation.logger.AbstractOperationLogger
-
子类需要实现具体如何记录日志
- doLog(OperationLogDTO) - Method in class org.shoulder.log.operation.logger.impl.JdbcOperationLogger
- doLog(OperationLogDTO) - Method in class org.shoulder.log.operation.logger.impl.LogOperationLogger
- DOWNLOAD - Static variable in interface org.shoulder.log.operation.annotation.OperationLog.Operations
-
下载
E
- enableAutoLog() - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
重新开启自动记录日志
- enableCrossThread() - Element in annotation type org.shoulder.log.operation.annotation.OperationLog
-
在创建子线程 / 提交线程池时,将日志上下文拷贝到新的线程中,默认不传播 传播后,若当前线程不需要记录日志(因为被操作对象信息可能不完整),需要} false
invalid @link
{@link OpLogContext#setAutoLog) - endTime - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作结束时间
- errorCode - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
当操作结果为失败时,记录操作失败对应的错误码(选填)
- EX_OR_REUSE - Enum constant in enum org.shoulder.log.operation.context.OperationContextStrategyEnum
-
必须要有:有则使用,没有则报错 说明这是一个业务子流程方法,且该方法只能由加了业务日志注解的方法调用。 场景:下单业务,扣钱、扣库存、创建订单中,扣库存的方法中可能需要记录部分操作详情,且这个扣库存不可单独使用,那扣库存的流程所在方法就可以是一个
- EXPORT - Static variable in interface org.shoulder.log.operation.annotation.OperationLog.Operations
-
导出
- extFields - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
扩展字段 (选填) key 不能为 null
F
- FAIL - Enum constant in enum org.shoulder.log.operation.enums.OperationResult
-
失败 | 不正确
- format(OperationLogDTO) - Method in class org.shoulder.log.operation.format.impl.JsonOperationLogFormatter
- format(OperationLogDTO) - Method in class org.shoulder.log.operation.format.impl.ShoulderOpLogFormatter
- format(OperationLogDTO) - Method in interface org.shoulder.log.operation.format.OperationLogFormatter
-
格式化
- formatParam(String, OpLogParam) - Static method in class org.shoulder.log.operation.format.impl.ShoulderOpLogFormatter
- formatResult() - Method in class org.shoulder.log.operation.format.impl.KeyValueContextBuilder
G
- getCode() - Method in enum org.shoulder.log.operation.enums.OperationResult
- getCode() - Method in enum org.shoulder.log.operation.enums.TerminalType
- getContext() - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
不经过检查,直接获取日志上下文
- getContextOrException() - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
获取当前上下文,并检查状态
- getConvert(Class<? extends OperationLogParamValueConverter>) - Static method in class org.shoulder.log.operation.format.covertor.OperationLogParamValueConverterHolder
- getCurrentOperator() - Static method in class org.shoulder.log.operation.context.OpLogContext
- getDefault() - Static method in enum org.shoulder.log.operation.context.OperationContextStrategyEnum
- getDelegate() - Method in class org.shoulder.log.operation.logger.impl.AsyncOperationLogger
- getDelegate() - Method in class org.shoulder.log.operation.logger.impl.BufferedOperationLogger
- getDetail() - Method in interface org.shoulder.log.operation.model.OperationDetailAble
-
获取操作详情描述
- getDetail() - Method in class org.shoulder.log.operation.model.sample.OperableObject
- getDetailItems() - Method in interface org.shoulder.log.operation.model.OperationDetailAble
-
获取操作详情填充参数
- getDetailItems() - Method in class org.shoulder.log.operation.model.sample.OperableObject
- getDetailKey() - Method in interface org.shoulder.log.operation.model.OperationDetailAble
-
获取操作详情对应多语言标识
- getDetailKey() - Method in class org.shoulder.log.operation.model.sample.OperableObject
- getExecutorService() - Method in class org.shoulder.log.operation.logger.impl.AsyncOperationLogger
- getExtField(String) - Method in class org.shoulder.log.operation.model.OperationLogDTO
- getInstance() - Static method in class org.shoulder.log.operation.model.SystemOperator
- getLog() - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
获取日志实体
- getName() - Method in class org.shoulder.log.operation.model.OpLogParam
- getObjectId() - Method in class org.shoulder.log.operation.model.sample.OperableObject
- getObjectName() - Method in class org.shoulder.log.operation.model.sample.OperableObject
- getObjectType() - Method in class org.shoulder.log.operation.model.sample.OperableObject
- getObjectType(Class<?>) - Method in class org.shoulder.log.operation.support.HashMapOperableObjectTypeRepository
- getObjectType(Class<?>) - Method in interface org.shoulder.log.operation.support.OperableObjectTypeRepository
- getObjectType(Class<?>, Function<Class<?>, String>) - Method in class org.shoulder.log.operation.support.HashMapOperableObjectTypeRepository
- getObjectType(Class<?>, Function<Class<?>, String>) - Method in interface org.shoulder.log.operation.support.OperableObjectTypeRepository
- getOperableObjects() - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
获取日志上下文中所有被操作对象
- getOperator() - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
- getRemoteAddress() - Method in interface org.shoulder.log.operation.model.Operator
-
操作者所在机器 ip
- getRemoteAddress() - Method in class org.shoulder.log.operation.model.SystemOperator
- getTerminalId() - Method in interface org.shoulder.log.operation.model.Operator
-
操作者的 terminalId
- getTerminalId() - Method in class org.shoulder.log.operation.model.SystemOperator
- getTerminalInfo() - Method in interface org.shoulder.log.operation.model.Operator
-
操作者的 terminalInfo
- getTerminalType() - Method in interface org.shoulder.log.operation.model.Operator
-
操作者 登录终端类型
- getTerminalType() - Method in class org.shoulder.log.operation.model.SystemOperator
- getUserId() - Method in interface org.shoulder.log.operation.model.Operator
-
操作者 【非空】
- getUserId() - Method in class org.shoulder.log.operation.model.SystemOperator
- getUserName() - Method in interface org.shoulder.log.operation.model.Operator
-
操作者 用户姓名/昵称
- getUserName() - Method in class org.shoulder.log.operation.model.SystemOperator
- getUserOrgId() - Method in interface org.shoulder.log.operation.model.Operator
-
操作者所属组标识
- getUserOrgName() - Method in interface org.shoulder.log.operation.model.Operator
-
操作者所属组名称
- getUserRealName() - Method in interface org.shoulder.log.operation.model.Operator
-
操作者 实名关联的人id
- getValue() - Method in class org.shoulder.log.operation.model.OpLogParam
H
- handleLogException(Exception, OperationLogDTO) - Method in class org.shoulder.log.operation.logger.AbstractOperationLogger
-
默认记录一条warn日志,但子类可以覆盖当记录日志时出现异常如何处理
- HashMapOperableObjectTypeRepository - Class in org.shoulder.log.operation.support
-
默认存储的
- HashMapOperableObjectTypeRepository(Function<Class<?>, String>) - Constructor for class org.shoulder.log.operation.support.HashMapOperableObjectTypeRepository
I
- IGNORE - Static variable in interface org.shoulder.log.operation.context.OperationContextStrategy
-
忽略本次【个别场景,少量使用】
- IGNORE_OR_REUSE - Enum constant in enum org.shoulder.log.operation.context.OperationContextStrategyEnum
-
不需要:如果有则使用,没有不报错【一般不推荐已存在则复用,容易导致污染上级业务记录】 (说明这是一个业务子流程方法,且该方法只能由加了业务日志注解的方法调用) 场景:下单业务,扣钱、扣库存、创建订单中,扣库存的方法中选择性记录部分操作详情,且这个扣库存可以单独使用,那扣库存的流程所在方法就可以是一个
- IMPORT - Static variable in interface org.shoulder.log.operation.annotation.OperationLog.Operations
-
导入
- init(Collection<OperationLogParamValueConverter>, OperationLogParamValueConverter) - Static method in class org.shoulder.log.operation.format.covertor.OperationLogParamValueConverterHolder
-
初始化
- instanceId - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
应用实例编号 / 机器序号
- isEnableAutoLog() - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
是否开启自动记录日志
- isLogWhenThrow() - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
抛异常后是否记录操作日志
- isSuccess() - Method in class org.shoulder.log.operation.model.sample.OperateRecordDto
- isSupportI18n() - Method in class org.shoulder.log.operation.model.OpLogParam
J
- JdbcOperationLogger - Class in org.shoulder.log.operation.logger.impl
-
以 jdbc 记录操作日志记录,直接保存至数据库。适合微小型项目中,日志中心与业务组件同数据库。
- JdbcOperationLogger(DataSource) - Constructor for class org.shoulder.log.operation.logger.impl.JdbcOperationLogger
- JsonOperationLogFormatter - Class in org.shoulder.log.operation.format.impl
-
JSON 日志格式化,以 Json 格式输出
- JsonOperationLogFormatter() - Constructor for class org.shoulder.log.operation.format.impl.JsonOperationLogFormatter
K
- KeyValueContextBuilder - Class in org.shoulder.log.operation.format.impl
-
键值对文本构建器
- KeyValueContextBuilder() - Constructor for class org.shoulder.log.operation.format.impl.KeyValueContextBuilder
- KeyValueContextBuilder(String, String) - Constructor for class org.shoulder.log.operation.format.impl.KeyValueContextBuilder
L
- log - Variable in class org.shoulder.log.operation.logger.AbstractOperationLogger
- log() - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
记录日志
- log() - Method in interface org.shoulder.log.operation.logger.OperationLogger
-
记录日志上下文中的日志实体内容
OpLogContextHolder - log(Collection<? extends OperationLogDTO>) - Method in class org.shoulder.log.operation.logger.AbstractOperationLogger
-
记录多条操作日志 【性能】默认单条循环,扩展时可考虑覆盖默认实现,支持真正的批量操作 【扩展】自行实现时,也可自己定义批量记录前后置处理器
- log(Collection<? extends OperationLogDTO>) - Method in class org.shoulder.log.operation.logger.impl.AsyncOperationLogger
-
记录多条操作日志
- log(Collection<? extends OperationLogDTO>) - Method in class org.shoulder.log.operation.logger.impl.BufferedOperationLogger
-
记录多条操作日志
- log(Collection<? extends OperationLogDTO>) - Method in class org.shoulder.log.operation.logger.impl.JdbcOperationLogger
- log(Collection<? extends OperationLogDTO>) - Method in class org.shoulder.log.operation.logger.impl.NoOpOperationLogger
- log(Collection<? extends OperationLogDTO>) - Method in interface org.shoulder.log.operation.logger.OperationLogger
-
记录多条操作日志
- log(OperationLogDTO) - Method in class org.shoulder.log.operation.logger.AbstractOperationLogger
-
记录一条操作日志
- log(OperationLogDTO) - Method in class org.shoulder.log.operation.logger.impl.AsyncOperationLogger
-
记录一条操作日志
- log(OperationLogDTO) - Method in class org.shoulder.log.operation.logger.impl.BufferedOperationLogger
-
记录一条操作日志
- log(OperationLogDTO) - Method in class org.shoulder.log.operation.logger.impl.NoOpOperationLogger
- log(OperationLogDTO) - Method in interface org.shoulder.log.operation.logger.OperationLogger
-
记录一条操作日志
- log(OperationLogDTO, List<? extends Operable>) - Method in class org.shoulder.log.operation.logger.AbstractOperationLogger
-
拼装循环记录多条操作日志
- log(OperationLogDTO, List<? extends Operable>) - Method in class org.shoulder.log.operation.logger.impl.AsyncOperationLogger
- log(OperationLogDTO, List<? extends Operable>) - Method in class org.shoulder.log.operation.logger.impl.BufferedOperationLogger
- log(OperationLogDTO, List<? extends Operable>) - Method in class org.shoulder.log.operation.logger.impl.NoOpOperationLogger
- log(OperationLogDTO, List<? extends Operable>) - Method in interface org.shoulder.log.operation.logger.OperationLogger
-
组装并记录多条操作日志
- logAllParams() - Element in annotation type org.shoulder.log.operation.annotation.OperationLog
-
在该方法以默认方式记录所有参数(默认方式中 param.type = STRING )
- LogOperationLogger - Class in org.shoulder.log.operation.logger.impl
-
以日志文件记录操作日志,并以
OperationLogFormatter作为日志格式。后续可由日志采集器收集、处理、转发至日志中心。 - LogOperationLogger(OperationLogFormatter) - Constructor for class org.shoulder.log.operation.logger.impl.LogOperationLogger
- LogOperationLogger(OperationLogFormatter, String) - Constructor for class org.shoulder.log.operation.logger.impl.LogOperationLogger
- logWhenThrow(boolean) - Method in class org.shoulder.log.operation.context.OpLogContext.Builder
M
- markThis() - Method in class org.shoulder.log.operation.async.AbstractOpLogAsyncRunner
-
将线程的增强者设为自己
- MINA - Enum constant in enum org.shoulder.log.operation.enums.TerminalType
-
小程序 mini APP;非浏览器应用内嵌
- MultiOperableDecorator - Class in org.shoulder.log.operation.model.sample
-
简单日志合并装饰器 操作多个对象记录一条操作日志,一般用于 OperationLogInterceptorAdapter 中
- MultiOperableDecorator(Collection<? extends Operable>) - Constructor for class org.shoulder.log.operation.model.sample.MultiOperableDecorator
N
- name - Variable in class org.shoulder.log.operation.model.OpLogParam
-
参数名称,可以自动添加前后缀尝试匹配
- name() - Element in annotation type org.shoulder.log.operation.annotation.OperationLogParam
-
参数名称,默认取变量名, 如 public void test(@OperationLogParam String foo),则 name 默认为 'foo'
- NEW_OR_IGNORE - Enum constant in enum org.shoulder.log.operation.context.OperationContextStrategyEnum
-
有则忽略:只保留外层业务记录 —— 记录最少,只记录触发点 (只记录外层业务记录,不记录子业务) 场景:修改用户信息时,先将用户查出,再做更新。若更新时,不记录查询业务,则查询这个业务就是有也不使用。
- NoOpOperationLogger - Class in org.shoulder.log.operation.logger.impl
-
关掉操作日志
- NoOpOperationLogger() - Constructor for class org.shoulder.log.operation.logger.impl.NoOpOperationLogger
- notEnhancer() - Method in class org.shoulder.log.operation.async.AbstractOpLogAsyncRunner
-
未被任何线程增强
O
- objectId - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
被操作对象唯一标示 (选填) 例: tb_user 的 userId
- objectId - Variable in class org.shoulder.log.operation.model.sample.OperableObject
- objectName - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作对象的名称 (选填) 若存在多个值时,以 ","分隔 例: "user1,user2,user3"
- objectName - Variable in class org.shoulder.log.operation.model.sample.OperableObject
- objectType - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
被操作对象的类型标识 (选填) Key格式为:objectType.<操作对象类型标识>
- objectType - Variable in class org.shoulder.log.operation.model.sample.OperableObject
- objectType() - Element in annotation type org.shoulder.log.operation.annotation.OperationLog
-
被操作对象类型 (选填) 【 推荐1:实体、DTO入参、BO 等,实现 Operable,便不必在注解填充该值。 推荐2:在类注解
OperationLogConfig上描述该值,便不必在每个方法上填充 】 - objectType() - Element in annotation type org.shoulder.log.operation.annotation.OperationLogConfig
-
对象类型 例:角色: UserObjectTypes.ROLE 【推荐实体实现 Operable,将不必在注解填充】
- of(boolean) - Static method in enum org.shoulder.log.operation.enums.OperationResult
- of(boolean, boolean) - Static method in enum org.shoulder.log.operation.enums.OperationResult
-
如果 hasSuccess、hasFail 都为 false 则默认为操作成功
- of(Collection<? extends Operable>) - Static method in class org.shoulder.log.operation.model.sample.OperableObject
- of(Collection<? extends OperateResult>) - Static method in enum org.shoulder.log.operation.enums.OperationResult
-
如果操作结果为空默认为成功
- ofIds(Collection<?>) - Static method in class org.shoulder.log.operation.model.sample.OperableObject
- onExistContext(OpLogContext) - Method in interface org.shoulder.log.operation.context.OperationContextStrategy
-
当前线程有操作日志上下文信息时策略
- onExistContext(OpLogContext) - Method in enum org.shoulder.log.operation.context.OperationContextStrategyEnum
- onMissingContext() - Method in interface org.shoulder.log.operation.context.OperationContextStrategy
-
当前线程没有操作日志上下文信息时策略
- onMissingContext() - Method in enum org.shoulder.log.operation.context.OperationContextStrategyEnum
- OperableObject - Class in org.shoulder.log.operation.model.sample
-
被操作对象 DTO
- OperableObject() - Constructor for class org.shoulder.log.operation.model.sample.OperableObject
- OperableObject(String) - Constructor for class org.shoulder.log.operation.model.sample.OperableObject
- OperableObject(Operable) - Constructor for class org.shoulder.log.operation.model.sample.OperableObject
- operableObjects(Collection<? extends Operable>) - Method in class org.shoulder.log.operation.context.OpLogContext.Builder
- OperableObjectTypeRepository - Interface in org.shoulder.log.operation.support
- OperateRecord - Interface in org.shoulder.log.operation.model
-
一次操作记录(包含所有操作日志中不可预料的值) 常用于批量场景
- OperateRecordDto - Class in org.shoulder.log.operation.model.sample
-
临时保存一次操作结果 DTO,常用于批量场景
- OperateRecordDto() - Constructor for class org.shoulder.log.operation.model.sample.OperateRecordDto
- OperateRecordDto(Operable) - Constructor for class org.shoulder.log.operation.model.sample.OperateRecordDto
- OperateResult - Interface in org.shoulder.log.operation.model
-
可以判断操作结果的对象 如批量操作场景下返回的多个DTO,DTO中某个字段表示本次操作是否成功,实现该接口后 可以使用
OperationResult.of(boolean)就可以判断本次批量操作是 成功 or 失败 or 部分成功 - operation - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
具体操作标识 【必填】 多语言翻译文件由服务提供,导入到网关或日志服务前端,展示时翻译。 例:注册、登录、退出、查询、新增、修改、删除、下载等
- operation() - Element in annotation type org.shoulder.log.operation.annotation.OperationLog
-
操作动作标识 【必填】, 如登录、登出、查询、新增、修改、删除、上传、下载等操作。 操作动作标识的多语言词条在多语言翻译文件中提供。
- OperationContextStrategy - Interface in org.shoulder.log.operation.context
-
shoulder 定义的业务,传播
- OperationContextStrategyEnum - Enum in org.shoulder.log.operation.context
-
shoulder 定义的业务,传播。 变量命名:A_OR_B (if exist then A else then B) 推荐使用 NEW_OR_IGNORE、ALWAYS_NEW
- OperationDetailAble - Interface in org.shoulder.log.operation.model
-
可以获取操作详情的对象
- operationLog(OperationLogDTO) - Method in class org.shoulder.log.operation.context.OpLogContext.Builder
- OperationLog - Annotation Type in org.shoulder.log.operation.annotation
-
创建操作日志注解 将该注解加在业务方法上,可以在被注解的方法执行前创建一个操作日志对象,在该方法、调用方法、以及他们创建的线程中使用用
OpLogContextHolder修改日志。并在该方法执行结束自动记录日志 该注解中的值后续可以修改 无法使用注解时,可以使用OperationLogFactory.create(java.lang.String) - OperationLog.Operations - Interface in org.shoulder.log.operation.annotation
-
一些通用的操作,用于填充 Operation
- OperationLogConfig - Annotation Type in org.shoulder.log.operation.annotation
-
操作日志注解 该注解仅可以加在类上,为目标类的所有加 @OperationLog 的方法提供字段默认值,所有字段均为选填
- OperationLogDTO - Class in org.shoulder.log.operation.model
-
操作日志实体 (所有字段均为 protect: 方便使用者灵活扩展) 重要信息:操作时间、用户id、用户名称,IP、操作动作、被操作对象、操作结果、操作详情 其他信息:操作者终端标识、操作者使用的终端类型、追踪链路标识 traceId
- OperationLogDTO() - Constructor for class org.shoulder.log.operation.model.OperationLogDTO
- OperationLogDTO(String) - Constructor for class org.shoulder.log.operation.model.OperationLogDTO
-
引导使用者填写必要字段
- OperationLogFactory - Class in org.shoulder.log.operation.context
-
操作日志实体构建器
- OperationLogFactory() - Constructor for class org.shoulder.log.operation.context.OperationLogFactory
- OperationLogFormatter - Interface in org.shoulder.log.operation.format
-
操作日志格式化 不同的系统中希望的日志格式不一,有的希望是逗号分隔的键值对(如 nginx 默认日志格式),也有的人希望是 json 格式 可以通过扩展该接口来修改输出格式
- OperationLogger - Interface in org.shoulder.log.operation.logger
-
操作日志记录器 子类要求:不能抛出异常,遇到异常需要 logger处理。因为抛出异常可能导致上层业务失败
- OperationLoggerInterceptor - Interface in org.shoulder.log.operation.logger
-
日志记录拦截器 可以在日志记录前后做一些事情(对即将记录的日志进行数据清洗等工作) 用途举例: 空值填充:如日志中有 objectId 但是缺少 objectName,可以在这里查数据库填充。 数据转换:如日志中表示性别的部分为 0 或 1,需要转换成有意义的数据。 数据标准:批量记录时将10条合成为1条记录。 合法校验:过滤不符合预期的日志。 格式规范:将字段统一格式。 其他自定义业务规则.....
- OperationLogParam - Annotation Type in org.shoulder.log.operation.annotation
-
操作日志参数注解 将该注解加在带
OperationLog的方法上, - OperationLogParamValueConverter - Interface in org.shoulder.log.operation.format
-
OperationLog param.value 转换器,用于定制日志参数格式 PS 自定义扩展时可使用枚举继承该接口
- OperationLogParamValueConverterHolder - Class in org.shoulder.log.operation.format.covertor
-
转换器存储
- OperationLogParamValueConverterHolder() - Constructor for class org.shoulder.log.operation.format.covertor.OperationLogParamValueConverterHolder
- OperationLogThreadLocalAutoTransferEnhancer - Class in org.shoulder.log.operation.async
-
自动将线程变量转移
- OperationLogThreadLocalAutoTransferEnhancer() - Constructor for class org.shoulder.log.operation.async.OperationLogThreadLocalAutoTransferEnhancer
- OperationLogValidator - Interface in org.shoulder.log.operation.logger.intercept
-
日志校验器,若日志格式有一定要求则可以添加校验器。 如希望存储到 db 时,对字段长度有要求,因此需要校验 希望自定义系统中的日志格式,但担心开发者不按照规范走可以进行校验,如某些字段需要以特定前后缀结尾等
- OperationResult - Enum in org.shoulder.log.operation.enums
-
业务操作结果: 成功或失败:1表示成功,0表示失败,2表示部分成功; 正确或不正确:1表示正确,0表示不正确;
- operationTime - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作发生时间
- Operator - Interface in org.shoulder.log.operation.model
-
操作者信息 主要用于兼容不同框架,其中不带 default 的方法返回值不得为空 todo 【可选优化】certificate,密码类型;手机号,所属机构(租户编码),外部id,是否内部,扩展属性,用户状态。。
- OpLogCallable<V> - Class in org.shoulder.log.operation.async
-
继承日志相关线程变量的 callable
- OpLogCallable(Callable<V>) - Constructor for class org.shoulder.log.operation.async.OpLogCallable
- OpLogContext - Class in org.shoulder.log.operation.context
-
操作日志上下文 这些参数决定本次操作日志如何记录
- OpLogContext.Builder - Class in org.shoulder.log.operation.context
- OpLogContextHolder - Class in org.shoulder.log.operation.context
-
该类充当 OperationLogHolder 的角色。set日志对象后,可以通过该工具在同一线程内操作这个日志对象。 主要为了配合
OperationLog注解的使用 若应用希望扩展该类能力:允许以继承或组合方式调用类,并使用新的类,增加扩展能力。 todo 【优化-扩展性】获取上下文,若不存在时,默认策略异常 → 忽略?或者可配置? - OpLogContextHolder() - Constructor for class org.shoulder.log.operation.context.OpLogContextHolder
- OpLogParam - Class in org.shoulder.log.operation.model
-
操作对应业务方法/接口的入参
- OpLogParam() - Constructor for class org.shoulder.log.operation.model.OpLogParam
- OpLogRunnable - Class in org.shoulder.log.operation.async
-
继承日志相关线程变量的 Runnable
- OpLogRunnable(Runnable) - Constructor for class org.shoulder.log.operation.async.OpLogRunnable
- OpLogValidateInterceptor - Class in org.shoulder.log.operation.logger.intercept
-
用于对日志格式由一定要求时,与
OperationLogValidator配合使用在记录前进行校验 - OpLogValidateInterceptor(OperationLogValidator) - Constructor for class org.shoulder.log.operation.logger.intercept.OpLogValidateInterceptor
- org.shoulder.log.operation - package org.shoulder.log.operation
-
操作日志封装
- org.shoulder.log.operation.annotation - package org.shoulder.log.operation.annotation
- org.shoulder.log.operation.async - package org.shoulder.log.operation.async
- org.shoulder.log.operation.context - package org.shoulder.log.operation.context
- org.shoulder.log.operation.enums - package org.shoulder.log.operation.enums
- org.shoulder.log.operation.format - package org.shoulder.log.operation.format
- org.shoulder.log.operation.format.covertor - package org.shoulder.log.operation.format.covertor
- org.shoulder.log.operation.format.impl - package org.shoulder.log.operation.format.impl
- org.shoulder.log.operation.logger - package org.shoulder.log.operation.logger
- org.shoulder.log.operation.logger.impl - package org.shoulder.log.operation.logger.impl
- org.shoulder.log.operation.logger.intercept - package org.shoulder.log.operation.logger.intercept
- org.shoulder.log.operation.model - package org.shoulder.log.operation.model
- org.shoulder.log.operation.model.sample - package org.shoulder.log.operation.model.sample
-
[扩展举例] 由于这些类经常出现在业务代码中,故推荐仿照该类的写法,在自己工程代码中实现
Operable,OperationDetailAble以与本框架解耦 - org.shoulder.log.operation.support - package org.shoulder.log.operation.support
P
- params - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作参数,记录业务操作的参数信息,用于操作审计和分析 (选填)
- parent(OpLogContext) - Method in class org.shoulder.log.operation.context.OpLogContext.Builder
- PARTIAL - Enum constant in enum org.shoulder.log.operation.enums.OperationResult
-
部分成功(适用于批量操作,如批量保存10条数据,5条成功,5条失败)
- PC - Enum constant in enum org.shoulder.log.operation.enums.TerminalType
-
PC 客户端
- preDestroy() - Method in class org.shoulder.log.operation.logger.impl.AsyncOperationLogger
- preDestroy() - Method in class org.shoulder.log.operation.logger.impl.BufferedOperationLogger
Q
- QUERY - Static variable in interface org.shoulder.log.operation.annotation.OperationLog.Operations
-
查询
R
- remoteAddress - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作者所在终端标识,如 IP (选填) 用户终端机器IP 例:192.168.0.10 若系统内部触发为服务部署机器IP
- remoteAddress - Variable in class org.shoulder.log.operation.model.ShoulderCurrentUserOperator
- result - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
本次操作结果(必填)
- REUSE - Static variable in interface org.shoulder.log.operation.context.OperationContextStrategy
-
不做任何操作,仅表示该方法内存在从操作日志上下文中获取日志并填充的代码,即暗示调用时存在操作日志上下文(相当于没加注解,一般也不会用)
- run() - Method in class org.shoulder.log.operation.async.OpLogRunnable
S
- setContext(OpLogContext) - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
设置日志上下文
- setDefault(OperationContextStrategy) - Static method in enum org.shoulder.log.operation.context.OperationContextStrategyEnum
- setDefaultOperator(Operator) - Static method in class org.shoulder.log.operation.context.OpLogContext
- setDetail(String) - Method in class org.shoulder.log.operation.model.sample.OperableObject
- setDetailItems(List<String>) - Method in class org.shoulder.log.operation.model.sample.OperableObject
- setDetailKey(String) - Method in class org.shoulder.log.operation.model.sample.OperableObject
- setExecutorService(ExecutorService) - Method in class org.shoulder.log.operation.logger.impl.AsyncOperationLogger
- setExtField(String, Object) - Method in class org.shoulder.log.operation.model.OperationLogDTO
-
put Field to extends has order
- setLog(OperationLogDTO) - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
设置日志实体
- setLogger(OperationLogger) - Method in class org.shoulder.log.operation.logger.impl.AsyncOperationLogger
- setLogWhenThrow(boolean) - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
抛异常后是否记录操作日志
- setName(String) - Method in class org.shoulder.log.operation.model.OpLogParam
- setObjectId(String) - Method in class org.shoulder.log.operation.model.sample.OperableObject
- setObjectName(String) - Method in class org.shoulder.log.operation.model.sample.OperableObject
- setObjectType(String) - Method in class org.shoulder.log.operation.model.sample.OperableObject
- setOperableObject(Operable) - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
批量设置被操作对象
- setOperableObject(Operable) - Method in class org.shoulder.log.operation.model.OperationLogDTO
-
填充单个被操作对象信息
- setOperableObjects(Collection<? extends Operable>) - Method in class org.shoulder.log.operation.context.OpLogContext
- setOperableObjects(Collection<? extends Operable>) - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
批量设置被操作对象
- setOperationLogger(OperationLogger) - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
- setOperator(Operator) - Static method in class org.shoulder.log.operation.context.OpLogContextHolder
-
设置用户信息
- setOperator(Operator) - Method in class org.shoulder.log.operation.model.OperationLogDTO
-
填充操作者信息
- setResultFail() - Method in class org.shoulder.log.operation.model.OperationLogDTO
- setSuccess(boolean) - Method in class org.shoulder.log.operation.model.sample.OperateRecordDto
- setSupportI18n(boolean) - Method in class org.shoulder.log.operation.model.OpLogParam
- setValue(List<String>) - Method in class org.shoulder.log.operation.model.OpLogParam
- shouldEnhancer() - Method in class org.shoulder.log.operation.async.AbstractOpLogAsyncRunner
-
是否需要增强(本线程指定的增强者是否为自己)
- ShoulderCurrentUserOperator - Class in org.shoulder.log.operation.model
-
当前登录的用户信息作为业务操作者
- ShoulderCurrentUserOperator(String) - Constructor for class org.shoulder.log.operation.model.ShoulderCurrentUserOperator
-
userId 必填
- ShoulderCurrentUserOperator(Operator) - Constructor for class org.shoulder.log.operation.model.ShoulderCurrentUserOperator
-
userId 必填
- ShoulderOperationLogValidator - Class in org.shoulder.log.operation.logger.intercept
-
操作日志格式默认校验类
- ShoulderOperationLogValidator() - Constructor for class org.shoulder.log.operation.logger.intercept.ShoulderOperationLogValidator
- ShoulderOpLogFormatter - Class in org.shoulder.log.operation.format.impl
-
默认日志格式化(逗号分隔的键值对) key1:"v1",k2:"v2"
- ShoulderOpLogFormatter() - Constructor for class org.shoulder.log.operation.format.impl.ShoulderOpLogFormatter
- strategy() - Element in annotation type org.shoulder.log.operation.annotation.OperationLog
-
日志上下文传播 / 创建策略:当在加了该注解的方法 A 中调用 加了该注解的方法 B 时,如何引导框架记录希望的操作记录 默认,如果不存在嵌套调用,则新建一个上下文。若执行该方法时已经存在日志上下文,则不记录该方法的日志。 参考了 Spring Data 的事务传播
- strategy() - Element in annotation type org.shoulder.log.operation.annotation.OperationLogConfig
-
加了该注解的方法 A 中调用 加了该注解的方法 B 时,日志上下文创建策略 默认,如果不存在嵌套调用,则新建一个上下文。若执行该方法时已经存在日志上下文,则不记录该方法的日志。
- success - Variable in class org.shoulder.log.operation.model.sample.OperateRecordDto
- success() - Method in interface org.shoulder.log.operation.model.OperateResult
-
此次操作结果是否成功 (接口粒度为单次操作,单次操作只有成功或失败)
- success() - Method in class org.shoulder.log.operation.model.sample.OperateRecordDto
- SUCCESS - Enum constant in enum org.shoulder.log.operation.enums.OperationResult
-
成功 | 正确
- supportI18n - Variable in class org.shoulder.log.operation.model.OpLogParam
-
参数值是否支持多语言
- supportI18n() - Element in annotation type org.shoulder.log.operation.annotation.OperationLogParam
-
参数是否支持多语言,默认为不支持多语言
- SYSTEM - Enum constant in enum org.shoulder.log.operation.enums.TerminalType
-
系统内部触发
- SystemOperator - Class in org.shoulder.log.operation.model
-
有些操作(如定时任务)是非用户操作的,那么操作者就是系统了
T
- tenantCode - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
租户编码
- terminalId - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作者终端标识 (选填),也可以生成 UUID 手机设备的唯一标识:IMSI、IMEI、ESN、MEID PC 中网卡唯一标识 MAC 地址 系统内部触发记为服务器所在机器 MAC 地址
- terminalId - Variable in class org.shoulder.log.operation.model.ShoulderCurrentUserOperator
- terminalInfo - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作者终端信息,如浏览器可获取 UserAgent、App 可获取手机类型 (选填)
- terminalInfo - Variable in class org.shoulder.log.operation.model.ShoulderCurrentUserOperator
- terminalType - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作者终端类型 (必填)
- terminalType - Variable in class org.shoulder.log.operation.model.ShoulderCurrentUserOperator
- terminalType() - Element in annotation type org.shoulder.log.operation.annotation.OperationLog
-
操作者终端类型(选填) 例: TerminalType.BROWSER 【推荐:在类注解
OperationLogConfig上描述该值,便不必在每个方法上填充】 - TerminalType - Enum in org.shoulder.log.operation.enums
-
操作者使用的终端类型
- THROW_EX - Static variable in interface org.shoulder.log.operation.context.OperationContextStrategy
-
认为不应该存在嵌套调用,抛异常
- toStringList(Object) - Method in class org.shoulder.log.operation.format.covertor.DefaultOperationLogParamValueConverter
- traceId - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
本次业务操作的调用链标识(选填)
U
- UNKNOWN - Enum constant in enum org.shoulder.log.operation.enums.TerminalType
-
未知,如无法获取 agent
- UPDATE - Static variable in interface org.shoulder.log.operation.annotation.OperationLog.Operations
-
修改
- UPLOAD - Static variable in interface org.shoulder.log.operation.annotation.OperationLog.Operations
-
上传
- USE_DEFAULT - Enum constant in enum org.shoulder.log.operation.context.OperationContextStrategyEnum
-
取 DEFAULT 行为:不会直接应用,用户可以通过调用
OperationContextStrategyEnum.setDefault(org.shoulder.log.operation.context.OperationContextStrategy)方法改变默认业务传播行为 - UserAgentParserInterceptor - Class in org.shoulder.log.operation.logger.intercept
-
根据 terminal info 解析日志格式
- UserAgentParserInterceptor() - Constructor for class org.shoulder.log.operation.logger.intercept.UserAgentParserInterceptor
- userId - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作者标识 【必须】 用户 ————————— 用户名唯一标识,用户名、用户id等 系统内部触发 —— 应用标识 格式为 "system.应用标识" 例: system.order
- userId - Variable in class org.shoulder.log.operation.model.ShoulderCurrentUserOperator
- userName - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作者姓名(选填) 用户 ————————— 用户昵称, 例: lym 系统内部触发 —— 不填
- userOrgId - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作者所属组唯一标识(选填) 用户 ————————— 所属组织/用户组/群/部门标识 例: tb_user_group 表的 主键 系统内部触发 —— 不填
- userOrgName - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作者所属组名称(选填)
- userRealName - Variable in class org.shoulder.log.operation.model.OperationLogDTO
-
操作者真实姓名,适合在实名制较强的后台管理系统 (选填) 用户 ————————— 用户对应的真实姓名 系统内部触发 —— 不填
- userRealName - Variable in class org.shoulder.log.operation.model.ShoulderCurrentUserOperator
V
- validate(OperationLogDTO) - Method in interface org.shoulder.log.operation.logger.intercept.OperationLogValidator
-
校验失败将抛出 RuntimeException
- validate(OperationLogDTO) - Method in class org.shoulder.log.operation.logger.intercept.ShoulderOperationLogValidator
-
校验失败将抛出 runtimeException
- validate(OpLogParam) - Method in class org.shoulder.log.operation.logger.intercept.ShoulderOperationLogValidator
-
校验参数
- validateLengthLimit(OperationLogDTO) - Method in class org.shoulder.log.operation.logger.intercept.ShoulderOperationLogValidator
-
字段长度校验
- validateRequiredFields(OperationLogDTO) - Method in class org.shoulder.log.operation.logger.intercept.ShoulderOperationLogValidator
-
必填项校验 供使用者填写的优先校验
- value - Variable in class org.shoulder.log.operation.model.OpLogParam
-
参数值
- value() - Element in annotation type org.shoulder.log.operation.annotation.OperationLogParam
-
以该值,作为 value。支持 SPEL
- valueOf(String) - Static method in enum org.shoulder.log.operation.context.OperationContextStrategyEnum
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.shoulder.log.operation.enums.OperationResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.shoulder.log.operation.enums.TerminalType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.shoulder.log.operation.context.OperationContextStrategyEnum
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.shoulder.log.operation.enums.OperationResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.shoulder.log.operation.enums.TerminalType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WAP - Enum constant in enum org.shoulder.log.operation.enums.TerminalType
-
移动端浏览器 web app、h5;非微信等内嵌浏览器
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form