?? 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 + -