buyproductmanagerfactoryimpl.java

来自「这是本人曾经在公司里用的,内部开发框架,基于struts+hibernate今天」· Java 代码 · 共 58 行

JAVA
58
字号
/**
 * 
 */
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 + =
减小字号Ctrl + -
显示快捷键?