📄 titletreeserviceimpl.java
字号:
package com.chinatech.cpmanage.service.impl;
import java.util.List;
import com.chinatech.cpmanage.common.BusinessException;
import com.chinatech.cpmanage.common.DAOException;
import com.chinatech.cpmanage.dao.TitleTreeDAO;
import com.chinatech.cpmanage.hibernate.NyxxwTitletree;
import com.chinatech.cpmanage.service.TitleTreeService;
public class TitleTreeServiceImpl implements TitleTreeService {
private TitleTreeDAO titleTreeDAO;
public List getTitlesByParentId(String parentId) throws BusinessException {
// TODO 自动生成方法存根
try{
return titleTreeDAO.getTitlesByParentId(parentId);
}catch(DAOException e){
throw new BusinessException("getTitlesByParentId方法出错!" + e.getMessage());
}
}
public List getAllParenttitle() throws BusinessException {
// TODO 自动生成方法存根
try{
return titleTreeDAO.getAllParenttitle();
}catch(DAOException e){
throw new BusinessException("getTitlesByParentId方法出错!" + e.getMessage());
}
}
public void insertTitleTree(NyxxwTitletree titleTree)
throws BusinessException {
// TODO 自动生成方法存根
}
public void setTitleTreeDAO(TitleTreeDAO titleTreeDAO){
this.titleTreeDAO = titleTreeDAO;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -