| Package | Description |
|---|---|
| com.mybatisflex.annotation |
MyBatis-Flex 相关注解。
|
| com.mybatisflex.core |
MyBatis-Flex 一个优雅的 MyBatis 增强框架。
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
InsertListener
用于监听实体类数据被新增到数据库,可以在实体类被新增时做一些前置操作。
|
interface |
SetListener
查询实体类数据时,对实体类的属性设置的监听。
|
interface |
UpdateListener
用于监听实体类数据被更新到数据库,可以在数据被更新的时候,设置一些默认数据。
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractInsertListener<T>
类型支持 insert 监听器。
|
class |
AbstractUpdateListener<T>
类型支持 update 监听器。
|
class |
NoneListener
空监听器。
|
| Modifier and Type | Method and Description |
|---|---|
default int |
Listener.compareTo(Listener other) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Listener> |
FlexGlobalConfig.findSupportedListeners(Class<?> entityClass,
Map<Class<?>,List<T>> listenerMap)
查找支持该
entityClass 的监听器 |
Copyright © 2024. All rights reserved.