public class MetadataCategoryDaoImpl extends com.seeyon.ctp.common.dao.BaseHibernateDao<com.seeyon.ctp.common.po.metadata.CtpMetadataCategory> implements MetadataCategoryDao
Title: 基础属性类别信息Dao
Description: 代码描述
Copyright: Copyright (c) 2015
Company: seeyon.com
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
CTP_METADATA_CATEGORY_ALIAS |
构造器和说明 |
---|
MetadataCategoryDaoImpl() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Long |
createCtpMetadataCategory(com.seeyon.ctp.common.po.metadata.CtpMetadataCategory ctpMetadataCategory)
新建类别的信息
|
void |
deleteCategory(java.util.List<java.lang.Long> idList)
删除列表信息(物理删除)
|
java.util.List<com.seeyon.ctp.common.po.metadata.CtpMetadataCategory> |
findAll()
获取所有的CtpMetadataCategory
|
com.seeyon.ctp.common.po.metadata.CtpMetadataCategory |
getById(java.lang.Long id)
根据Id获取属性类别的信息
|
java.util.List<com.seeyon.ctp.common.po.metadata.CtpMetadataCategory> |
getCategoryList(com.seeyon.ctp.util.FlipInfo fi,
java.util.Map<java.lang.String,java.lang.Object> sqlParams)
获取类别的列表信息
|
void |
updateCtpMetadataCategory(com.seeyon.ctp.common.po.metadata.CtpMetadataCategory ctpMetadataCategory)
保存类别信息
|
delete, delete, delete, delete, deleteObject, findBy, findByExample, getQueryCount, isNotUnique, pagedQuery, pagedQuery, pagedQuery, pagedQuery, paginate, paginate, paginate, remove, removeById, saveAll, sortCriteria, update, update, update, update, update, updateAll, withoutPagination, withPagination
closeSessionIfNecessary, getSession, getSession, releaseSession
bulkUpdate, bulkUpdate, checkDaoConfig, convertHibernateAccessException, count, count, count, createHibernateTemplate, delete, delete, executeCriteria, executeCriteria, executeUniqueCriteria, find, find, find, find, find, find, findBy, findByLike, findNativeSQL, findSimpleObjects, findSimpleObjects, findUnique, findUnique, findUniqueBy, findVarargs, findWithCount, findWithCount, get, getAll, getBatchSize, getCountByCriteria, getEntityClass, getHibernateTemplate, getSessionFactory, getSimpleObject, save, savePatchAll, setHibernateTemplate, setParameters, setSessionFactory, sortCriteria, update, updatePatchAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bulkUpdate, bulkUpdate, count, count, count, delete, delete, executeCriteria, executeCriteria, executeUniqueCriteria, find, find, find, find, find, find, findBy, findByLike, findNativeSQL, findSimpleObjects, findSimpleObjects, findUnique, findUnique, findUniqueBy, findVarargs, findWithCount, findWithCount, get, getAll, getCountByCriteria, getHibernateTemplate, getSessionFactory, getSimpleObject, save, savePatchAll, setHibernateTemplate, setSessionFactory, update, updatePatchAll
public static final java.lang.String CTP_METADATA_CATEGORY_ALIAS
public com.seeyon.ctp.common.po.metadata.CtpMetadataCategory getById(java.lang.Long id) throws com.seeyon.ctp.common.exceptions.BusinessException
MetadataCategoryDao
getById
在接口中 MetadataCategoryDao
id
- 类别Idcom.seeyon.ctp.common.exceptions.BusinessException
public java.util.List<com.seeyon.ctp.common.po.metadata.CtpMetadataCategory> getCategoryList(com.seeyon.ctp.util.FlipInfo fi, java.util.Map<java.lang.String,java.lang.Object> sqlParams) throws com.seeyon.ctp.common.exceptions.BusinessException
MetadataCategoryDao
getCategoryList
在接口中 MetadataCategoryDao
fi
- 分页对象sqlParams
- 查询参数com.seeyon.ctp.common.exceptions.BusinessException
public java.lang.Long createCtpMetadataCategory(com.seeyon.ctp.common.po.metadata.CtpMetadataCategory ctpMetadataCategory) throws com.seeyon.ctp.common.exceptions.BusinessException
MetadataCategoryDao
createCtpMetadataCategory
在接口中 MetadataCategoryDao
ctpMetadataCategory
- 类别信息com.seeyon.ctp.common.exceptions.BusinessException
public void updateCtpMetadataCategory(com.seeyon.ctp.common.po.metadata.CtpMetadataCategory ctpMetadataCategory) throws com.seeyon.ctp.common.exceptions.BusinessException
MetadataCategoryDao
updateCtpMetadataCategory
在接口中 MetadataCategoryDao
ctpMetadataCategory
- 类别信息com.seeyon.ctp.common.exceptions.BusinessException
public void deleteCategory(java.util.List<java.lang.Long> idList) throws com.seeyon.ctp.common.exceptions.BusinessException
MetadataCategoryDao
deleteCategory
在接口中 MetadataCategoryDao
idList
- Id集合信息com.seeyon.ctp.common.exceptions.BusinessException
public java.util.List<com.seeyon.ctp.common.po.metadata.CtpMetadataCategory> findAll()
MetadataCategoryDao
findAll
在接口中 MetadataCategoryDao