⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 titletreeserviceimpl.java

📁 一个关于短信的java程序,非常适合java程序员,谢谢大家
💻 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 + -