类 OperationLogHandlerImpl
- java.lang.Object
-
- net.guerlab.smart.platform.user.service.service.impl.OperationLogHandlerImpl
-
- 所有已实现的接口:
OperationLogHandler,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@Component public class OperationLogHandlerImpl extends Object implements OperationLogHandler, org.springframework.context.ApplicationContextAware
操作日志处理实现- 作者:
- guer
-
-
构造器概要
构造器 构造器 说明 OperationLogHandlerImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidadd(String operationContent, Long userId, Object... operationParams)添加操作记录voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)voidsetService(OperationLogService service)
-
-
-
方法详细资料
-
add
@Async public void add(String operationContent, Long userId, Object... operationParams)
从接口复制的说明:OperationLogHandler添加操作记录- 指定者:
add在接口中OperationLogHandler- 参数:
operationContent- 操作内容userId- 用户IDoperationParams- 操作参数
-
setService
@Autowired public void setService(OperationLogService service)
-
setObjectMapper
@Autowired public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- 指定者:
setApplicationContext在接口中org.springframework.context.ApplicationContextAware- 抛出:
org.springframework.beans.BeansException
-
-