public class MetadataColumnDaoImpl extends AbstractHibernateDao<CtpMetadataColumn> implements MetadataColumnDao
Title: 元数据字段信息Dao类
Description: 代码描述
Copyright: Copyright (c) 2015
Company: seeyon.com
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
CTP_METADATA_COLUMN_ALIAS |
entityClass| 构造器和说明 |
|---|
MetadataColumnDaoImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
Long |
createCtpMetadataColumn(CtpMetadataColumn ctpMetadataColumn)
新建基础数据字段信息
|
void |
deleteColumn(List<Long> idList)
删除字段信息(逻辑删除)。
|
List<CtpMetadataColumn> |
findAll() |
List<CtpMetadataColumn> |
findCtpMetadataColumnList(FlipInfo fi,
Map<String,Object> sqlParams)
获取元数据字段的列表信息,根据查询条件参数
|
List<CtpMetadataColumn> |
findCtpMetadataColumnListByTableId(FlipInfo fi,
Long tableId)
根据基础表ID,获取其对应的字段列表信息(分页)
|
List<CtpMetadataColumn> |
findCtpMetadataColumnListByTableId(Long tableId)
根据基础表ID,获取其对应的字段列表信息
|
CtpMetadataColumn |
getById(Long id)
根据Id获取元数据字段信息
|
Collection<CtpMetadataColumn> |
getColumns(Long tableId)
获取指定Table下的所有字段列表。
|
Integer |
getMaxColumnSort(Long tableId)
根据属性表Id,获取属性表对应字段中最大的排序号
|
void |
updateCtpMetadataColumn(CtpMetadataColumn ctpMetadataColumn)
保存基础数据字段信息
|
void |
updateMetadataColumnSort(Integer sort)
根据插入的排序号,修改后面字段的排序号
|
closeSessionIfNecessary, getSession, getSession, releaseSessionbulkUpdate, bulkUpdate, checkDaoConfig, convertHibernateAccessException, count, count, count, createHibernateTemplate, delete, delete, executeCriteria, executeCriteria, executeUniqueCriteria, find, find, find, find, find, find, findBy, findByLike, findSimpleObjects, findSimpleObjects, findUnique, findUnique, findUniqueBy, findVarargs, findWithCount, findWithCount, get, getAll, getBatchSize, getCountByCriteria, getEntityClass, getHibernateTemplate, getSessionFactory, getSimpleObject, save, savePatchAll, setHibernateTemplate, setParameters, setSessionFactory, sortCriteria, update, updatePatchAllpublic CtpMetadataColumn getById(Long id) throws BusinessException
MetadataColumnDaogetById 在接口中 MetadataColumnDaoid - 字段信息IdBusinessExceptionpublic Integer getMaxColumnSort(Long tableId) throws BusinessException
MetadataColumnDaogetMaxColumnSort 在接口中 MetadataColumnDaotableId - 属性表IdBusinessExceptionpublic List<CtpMetadataColumn> findCtpMetadataColumnListByTableId(Long tableId) throws BusinessException
MetadataColumnDaofindCtpMetadataColumnListByTableId 在接口中 MetadataColumnDaotableId - 基础表IdBusinessExceptionpublic List<CtpMetadataColumn> findCtpMetadataColumnListByTableId(FlipInfo fi, Long tableId) throws BusinessException
MetadataColumnDaofindCtpMetadataColumnListByTableId 在接口中 MetadataColumnDaofi - 分页对象tableId - 基础表IdBusinessExceptionpublic List<CtpMetadataColumn> findCtpMetadataColumnList(FlipInfo fi, Map<String,Object> sqlParams) throws BusinessException
MetadataColumnDaofindCtpMetadataColumnList 在接口中 MetadataColumnDaofi - 分页对象(fi对象为null,则不分页)sqlParams - 条件参数BusinessExceptionpublic Long createCtpMetadataColumn(CtpMetadataColumn ctpMetadataColumn) throws BusinessException
MetadataColumnDaocreateCtpMetadataColumn 在接口中 MetadataColumnDaoctpMetadataColumn - 字段信息BusinessExceptionpublic void updateCtpMetadataColumn(CtpMetadataColumn ctpMetadataColumn) throws BusinessException
MetadataColumnDaoupdateCtpMetadataColumn 在接口中 MetadataColumnDaoctpMetadataColumn - 字段信息BusinessExceptionpublic void updateMetadataColumnSort(Integer sort) throws BusinessException
MetadataColumnDaoupdateMetadataColumnSort 在接口中 MetadataColumnDaosort - 排序号BusinessExceptionpublic void deleteColumn(List<Long> idList) throws BusinessException
MetadataColumnDaodeleteColumn 在接口中 MetadataColumnDaoidList - Id集合信息BusinessExceptionpublic Collection<CtpMetadataColumn> getColumns(Long tableId) throws BusinessException
MetadataColumnDaogetColumns 在接口中 MetadataColumnDaotableId - CtpMetaDataTable的Id。BusinessExceptionpublic List<CtpMetadataColumn> findAll()
findAll 在接口中 MetadataColumnDaoCopyright © 2016–2017. All rights reserved.