| | |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.corba.omd.atm.AttributeDef; |
| | | import com.vci.dto.OsAttributeDTO; |
| | | import com.vci.starter.web.pagemodel.BaseQueryObject; |
| | | import com.vci.starter.web.pagemodel.BaseResult; |
| | | import com.vci.starter.web.pagemodel.DataGrid; |
| | | import com.vci.pagemodel.OsAttributeVO; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | import com.vci.starter.web.pagemodel.*; |
| | | |
| | | import java.io.File; |
| | | import java.util.Collection; |
| | |
| | | */ |
| | | public interface OsAttributeServiceI extends OsBaseServiceI{ |
| | | |
| | | /** |
| | | * 获取树状 |
| | | * @param treeQueryObject |
| | | * @return |
| | | */ |
| | | List<Tree> getTreeAttributesByBtmName(TreeQueryObject treeQueryObject); |
| | | /** |
| | | * 获取默认的属性 |
| | | * @return 默认的属性列表 |
| | |
| | | List<OsAttributeVO> listAttrByIds(Collection<String> attrCodes); |
| | | |
| | | /** |
| | | * 使用属性编号获取对象--批量 |
| | | * @param attrCodes 属性的英文名称 |
| | | * @param attributeVOMap 属性对象 |
| | | * @return 属性的显示对象 |
| | | */ |
| | | List<OsAttributeVO> listAttrByIds(Collection<String> attrCodes, Map<String, OsAttributeVO> attributeVOMap); |
| | | |
| | | /** |
| | | * 批量添加属性 |
| | | * @param attribItemList 属性的列表 |
| | | */ |
| | |
| | | * 导出选中的属性 |
| | | * @param exportFileName 导出的文件名 |
| | | * @param attrNames 需要导出的属性名称 |
| | | * @param flag 控制导出的列名是否和导入模板一致 |
| | | * @return |
| | | */ |
| | | String exportAttributes(String exportFileName,String attrNames) throws PLException; |
| | | String exportAttributes(String exportFileName,String attrNames,boolean flag/*控制导出的列名是否和导入模板一致*/) throws PLException; |
| | | |
| | | /** |
| | | * 下载属性导入模板 |
| | |
| | | /** |
| | | * 导入属性 |
| | | * @param file |
| | | * @param isContinue 系统中出现重复是否跳过报错继续执行 |
| | | * @return |
| | | */ |
| | | BaseResult importAttributes(File file) throws Exception; |
| | | BaseResult importAttributes(File file,boolean isContinue/*系统中出现重复是否跳过报错继续执行*/) throws Exception; |
| | | |
| | | /** |
| | | * 是否默认的属性 |
| | |
| | | */ |
| | | boolean isDefaultAttr(String attr); |
| | | |
| | | /** |
| | | * 根据业务类型/链接类型获取属性信息 |
| | | * @param btName 业务类型/链接类型 |
| | | * @param typeFlag 0:业务类型,1:链接类型 |
| | | * @param isDefault 是否包含默认属性 true:包含,false 不包含 |
| | | * @return |
| | | */ |
| | | List<OsAttributeVO> getOsAttributeVOSByBtName(String btName,int typeFlag,boolean isDefault)throws Exception; |
| | | |
| | | } |