public interface MetadataColumnDao
Title: 元数据字段信息Dao接口
Description: 代码描述
Copyright: Copyright (c) 2015
Company: seeyon.com
限定符和类型 | 方法和说明 |
---|---|
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)
根据插入的排序号,修改后面字段的排序号
|
CtpMetadataColumn getById(Long id) throws BusinessException
id
- 字段信息IdBusinessException
Integer getMaxColumnSort(Long tableId) throws BusinessException
tableId
- 属性表IdBusinessException
List<CtpMetadataColumn> findCtpMetadataColumnListByTableId(Long tableId) throws BusinessException
tableId
- 基础表IdBusinessException
List<CtpMetadataColumn> findCtpMetadataColumnListByTableId(FlipInfo fi, Long tableId) throws BusinessException
fi
- 分页对象tableId
- 基础表IdBusinessException
List<CtpMetadataColumn> findCtpMetadataColumnList(FlipInfo fi, Map<String,Object> sqlParams) throws BusinessException
fi
- 分页对象(fi对象为null,则不分页)sqlParams
- 条件参数BusinessException
Long createCtpMetadataColumn(CtpMetadataColumn ctpMetadataColumn) throws BusinessException
ctpMetadataColumn
- 字段信息BusinessException
void updateCtpMetadataColumn(CtpMetadataColumn ctpMetadataColumn) throws BusinessException
ctpMetadataColumn
- 字段信息BusinessException
void deleteColumn(List<Long> idList) throws BusinessException
idList
- Id集合信息BusinessException
Collection<CtpMetadataColumn> getColumns(Long tableId) throws BusinessException
tableId
- CtpMetaDataTable的Id。BusinessException
void updateMetadataColumnSort(Integer sort) throws BusinessException
sort
- 排序号BusinessException
List<CtpMetadataColumn> findAll()
Copyright © 2016–2017. All rights reserved.