Class NameBaseService<T extends Entity>
java.lang.Object
org.nutz.service.Service
org.nutz.service.EntityService<T>
org.nutz.service.NameEntityService<T>
tech.riemann.nif.nutz.dao.service.NameBaseService<T>
- Type Parameters:
T- 实体类型
- All Implemented Interfaces:
ExtService<T>
public class NameBaseService<T extends Entity>
extends org.nutz.service.NameEntityService<T>
implements ExtService<T>
基于名称的实体服务类,继承自Nutz的NameEntityService并实现ExtService接口 提供基于名称的实体操作基础功能
- Author:
- kerbores(kerbores@gmail.com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription获取泛型类型classvoidinit(org.nutz.dao.Dao dao) 初始化方法,通过Resource注解注入Dao对象Methods inherited from class org.nutz.service.NameEntityService
delete, exists, fetchMethods inherited from class org.nutz.service.EntityService
_clearLinks, _delete, _deleteLinks, _deleteWith, _fastInsert, _fetch, _fetchLinks, _fetchLinks, _insert, _insert, _insert, _insertLinks, _insertRelation, _insertWith, _query, _query, _update, _update, _updateIgnoreNull, _updateLinks, _updateWith, clear, clear, count, count, create, deletex, each, each, exists, fetch, fetchx, func, func, getEntity, getEntityClass, getObject, getObject, insert, mirror, query, query, query, setEntityType, setExpert, update, updateRelationMethods inherited from class org.nutz.service.Service
dao, setDaoMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ExtService
all, avg, avg, clear, clear, clearLinks, count, createSql, dao, delete, deleteLinks, deleteWith, entity, excute, executCountSql, executDeleteOrUpdateSql, fetch, fetch, fetchAsRecord, fetchByField, getCnd, getDefaultPageSize, getEntity, insert, insert, insertLinks, insertRelation, insertWith, list, list, list, list, list, listAsBoolean, listAsInteger, listAsLong, listAsMap, listAsRecord, listAsString, makeChain, max, max, min, min, query, query, save, save, save, save, searchByKeyAndPage, searchByKeyAndPage, searchByKeyAndPage, searchByKeyAndPage, searchByKeyAndPage, searchByKeyAndPage, searchByKeyAndPage, searchByKeyAndPage, searchByKeyAndPage, searchByPage, searchByPage, searchByPage, searchByPage, searchByPage, searchByPage, searchByPage, sql, sum, sum, update, update, update, update, updateFields, updateIgnoreNull, updateLinks, updateWith
-
Field Details
-
logger
protected org.nutz.log.Log logger
-
-
Constructor Details
-
NameBaseService
public NameBaseService()
-
-
Method Details
-
init
public void init(org.nutz.dao.Dao dao) 初始化方法,通过Resource注解注入Dao对象- Parameters:
dao- 数据访问对象
-
getEntityType
Description copied from interface:ExtService获取泛型类型class- Specified by:
getEntityTypein interfaceExtService<T extends Entity>- Returns:
- 实体类的Class对象
- See Also:
-