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

📄 buyproductmanagerfactoryimpl.java

📁 这是本人曾经在公司里用的,内部开发框架,基于struts+hibernate今天分享给大家
💻 JAVA
字号:
/**
 * 
 */
package cn.bway.foreigntrade.repertory.buyproduct.impl;

import cn.bway.common.BwayHibernateException;
import cn.bway.common.impl.BaseManager;
import cn.bway.common.vo.QueryVO;
import cn.bway.foreigntrade.repertory.buyproduct.model.Buyproduct;


/**
 * @author Kson
 *
 */
public class BuyproductManagerFactoryImpl extends BaseManager implements
		BuyproductManager {

	public Object findAllBuyproduct(QueryVO qvo) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return null;
	}
	public Object findAllBuyproduct1(QueryVO qvo) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return buyproductDAOFactory.getBuyproductDAO().findAllBuyproduct1(qvo);
	}
	public void deleteBuyproduct(String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		buyproductDAOFactory.getBuyproductDAO().removeObject(Buyproduct.class, id);
	}
	public Object getBuyproduct(String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return buyproductDAOFactory.getBuyproductDAO().getObject(Buyproduct.class, id);
	}

	public void addBuyproduct(Buyproduct Buyproduct) throws BwayHibernateException {
		// TODO Auto-generated method stub
		buyproductDAOFactory.getBuyproductDAO().saveObject(Buyproduct);
	}

	public void modfilyBuyproduct(Buyproduct Buyproduct) throws BwayHibernateException {
		buyproductDAOFactory.getBuyproductDAO().updateObject(Buyproduct);
		
	}
	public Object queryAllBuyproduct(QueryVO qvo) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return buyproductDAOFactory.getBuyproductDAO().queryAllBuyproduct(qvo);
	}
	public Object getAllBuyproduct(String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return buyproductDAOFactory.getBuyproductDAO().getAllBuyproduct(id);
	}
	public Object queryAllBuyproduct(QueryVO qvo,String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return buyproductDAOFactory.getBuyproductDAO().queryAllBuyproduct(qvo,id);
	}
}

⌨️ 快捷键说明

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