| 程序包 | 说明 |
|---|---|
| com.easycodebox.jdbc.entity | |
| com.easycodebox.jdbc.support |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
CreateEntity |
interface |
ModifyEntity |
interface |
OperateEntity |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractCreateEntity |
class |
AbstractEntity |
class |
AbstractModifyEntity |
class |
AbstractOperateEntity |
| 限定符和类型 | 方法和说明 |
|---|---|
static Entity |
Entitys.copy(Entity entity) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Entity |
Entitys.copy(Entity entity) |
static Map<String,Object> |
Entitys.inspect(Entity entity) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
Entitys.getTableName(Class<? extends Entity> clazz) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractService<T extends Entity> |
| 限定符和类型 | 方法和说明 |
|---|---|
protected <K extends Entity,V extends DetailEnum<?>> |
AbstractService.delete(Serializable idVal,
Class<K> entityClass,
V... status) |
protected <K extends Entity,V extends DetailEnum<?>> |
AbstractService.exist(Serializable idVal,
Class<K> entityClass,
V... status) |
protected <K extends Entity,V extends DetailEnum<?>> |
AbstractService.get(Serializable id,
Class<K> entityClass,
LockMode lockMode,
V... status) |
protected <K extends Entity,V extends DetailEnum<?>> |
AbstractService.get(Serializable id,
Class<K> entityClass,
V... status) |
protected <K extends Entity> |
AbstractService.save(K entity,
Class<K> entityClass)
在这里加上entityClass参数,不是无意义的乱加。
|
protected <K extends Entity> |
AbstractService.sql()
实例化SqlGrammar
|
protected <K extends Entity> |
AbstractService.sql(Class<K> entityClass)
实例化SqlGrammar
|
protected <K extends Entity> |
AbstractService.sql(Class<K> entityClass,
String alias)
实例化SqlGrammar
|
protected <K extends Entity> |
AbstractService.truncate(Class<K> entityClass)
用到此功能时,不能事务回滚
|
protected <K extends Entity> |
AbstractService.update(K entity,
Class<K> entityClass)
在这里加上entityClass参数,不是无意义的乱加。
|
protected <K extends Entity,V extends DetailEnum<?>> |
AbstractService.updateStatus(Serializable idVal,
V status,
Class<K> entityClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
JdbcPreHandler.beforeSave(Entity entity)
在执行save(insert sql)前执行的逻辑
|
void |
DefaultJdbcPreHandler.beforeSave(Entity entity) |
void |
JdbcPreHandler.beforeUpdate(Entity entity)
在执行update(update sql)前执行的逻辑
|
void |
DefaultJdbcPreHandler.beforeUpdate(Entity entity) |
Copyright © 2016. All rights reserved.