| Modifier and Type | Interface and Description |
|---|---|
interface |
Dao<T extends Entity<ID>,ID extends Serializable>
Dao interface.
|
class |
GenericDao<T extends Entity<ID>,ID extends Serializable> |
| Modifier and Type | Method and Description |
|---|---|
<T extends Entity<ID>,ID extends Serializable> |
EntityDao.get(Class<T> entityClass,
Collection<ID> values)
根据属性列举实体
|
<T extends Entity<ID>,ID extends Serializable> |
EntityDao.get(Class<T> clazz,
ID id)
查询指定id的对象
|
<T extends Entity<ID>,ID extends Serializable> |
EntityDao.get(Class<T> entityClass,
ID[] values)
根据属性列举实体
|
<T extends Entity<?>> |
EntityDao.get(Class<T> clazz,
Map<String,Object> parameterMap) |
<T extends Entity<?>> |
EntityDao.get(Class<T> clazz,
String[] attrs,
Object... values) |
<T extends Entity<?>> |
EntityDao.get(Class<T> clazz,
String keyName,
Collection<?> values)
根据属性列举实体
|
<T extends Entity<?>> |
EntityDao.get(Class<T> clazz,
String keyName,
Object... values)
根据属性列举实体
|
<T extends Entity<?>> |
EntityDao.getAll(Class<T> clazz)
Returns a list of all entity of clazz.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EntityDao.duplicate(Class<? extends Entity<?>> clazz,
Serializable id,
String codeName,
Object codeValue) |
| Modifier and Type | Method and Description |
|---|---|
static List<Condition> |
Conditions.extractConditions(String alias,
Entity<?> entity)
提取对象中的条件
提取的属性仅限"平面"属性(允许包括component) 过滤掉属性:null,或者空Collection |
| Modifier and Type | Interface and Description |
|---|---|
interface |
HierarchyEntity<T,ID extends Serializable>
HierarchyEntity interface.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEntityEvent<T extends Entity<?>>
实体操作相关事件
|
class |
EntityCreationEvent<T extends Entity<?>>
实体创建事件
|
class |
EntityRemovalEvent<T extends Entity<?>>
实体删除事件
|
class |
EntityUpdatedEvent<T extends Entity<?>>
实体更新事件
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Entity<?>> |
Model.newInstance(Class<T> clazz)
newInstance.
|
<T extends Entity<?>> |
ModelMeta.newInstance(Class<T> clazz)
newInstance.
|
static <T extends Entity<ID>,ID extends Serializable> |
Model.newInstance(Class<T> clazz,
ID id)
newInstance.
|
<T extends Entity<ID>,ID extends Serializable> |
ModelMeta.newInstance(Class<T> clazz,
ID id)
newInstance.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Entity<?>> |
DefaultModelMeta.newInstance(Class<T> clazz)
newInstance.
|
<T extends Entity<ID>,ID extends Serializable> |
DefaultModelMeta.newInstance(Class<T> clazz,
ID id)
newInstance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Code<T extends Number>
基础代码的基类
|
class |
IntegerIdObject |
class |
LongIdObject |
class |
NumberIdHierarchyObject<T,ID extends Number> |
class |
NumberIdObject<T extends Number> |
class |
NumberIdTimeObject<T extends Number> |
class |
StringIdObject |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Entity<?>> |
EntityUtils.extractIds(Collection<T> entities)
extractIds.
|
static <T extends Entity<?>> |
EntityUtils.extractIdSeq(Collection<T> entities)
extractIdSeq.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
IdNotInPredicate.apply(Entity<?> entity) |
static boolean |
EntityUtils.isEmpty(Entity<?> entity,
boolean ignoreDefault)
判断实体类中的属性是否全部为空
|
static void |
EntityUtils.populate(Map params,
Entity entity) |
Copyright © 2005–2018 The Beangle Software. All rights reserved.