@Repository public class CmsCategoryDao extends BaseDao<CmsCategory>
idWorker, log, ORDERTYPE_ASC, ORDERTYPE_DESC, sessionFactory
构造器和说明 |
---|
CmsCategoryDao() |
限定符和类型 | 方法和说明 |
---|---|
CmsCategory |
getEntityByCode(short siteId,
java.lang.String code) |
java.util.List<CmsCategory> |
getEntitysByCodes(short siteId,
java.lang.String[] codes) |
PageHandler |
getPage(CmsCategoryQuery queryEntity,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
protected CmsCategory |
init(CmsCategory entity) |
batchWork, batchWork, count, countResult, delete, delete, delete, getEntity, getEntity, getEntity, getEntityClass, getEntityList, getEntitys, getEntitys, getEntitys, getEntitys, getFacetPage, getFacetPage, getId, getList, getList, getPage, getPage, getPage, getPage, getPage, getPage, getPage, getQueryHandler, getQueryHandler, getSearchBackend, getSearchPredicateFactory, getSearchSession, getSession, higtLighter, index, like, reCreateIndex, rightLike, save, update
public PageHandler getPage(CmsCategoryQuery queryEntity, java.lang.Integer pageIndex, java.lang.Integer pageSize)
queryEntity
- pageIndex
- pageSize
- public CmsCategory getEntityByCode(short siteId, java.lang.String code)
siteId
- code
- public java.util.List<CmsCategory> getEntitysByCodes(short siteId, java.lang.String[] codes)
siteId
- codes
- protected CmsCategory init(CmsCategory entity)
init
在类中 BaseDao<CmsCategory>