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

📄 catalogservice.java

📁 网上购物系统struts+spring+hibernate实现
💻 JAVA
字号:
package com.sdi0708.bdifn.bookstore.service.impl;import java.util.List;import com.sdi0708.bdifn.bookstore.dao.ICatalogDao;import com.sdi0708.bdifn.bookstore.domain.Catalog;import com.sdi0708.bdifn.bookstore.service.ICatalogService;public class CatalogService implements ICatalogService {	ICatalogDao catalogDao ;			public void setCatalogDao(ICatalogDao catalogDao) {		this.catalogDao = catalogDao;	}	public void addCatalog(Catalog catalog, Long parentId) {		this.catalogDao.addCatalog(catalog, parentId);	}	public void deleteById(Long id) {		this.catalogDao.deleteById(id);	}	public List<Catalog> findAllCatalogs() {		return this.catalogDao.findAllCatalogs();	}	public Catalog findById(Long id) {		return this.catalogDao.findById(id);	}	public void modifyCatalod(Catalog catalog) {		this.catalogDao.modifyCatalod(catalog);	}	public List<Catalog> findParentCatalogs() {		return this.catalogDao.findParentCatalogs();	}	public List<Catalog> findLeafCatalogs(Long parantId) {		return this.catalogDao.findLeafCatalogs(parantId);	}	}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -