outstoreproductmanagerfactoryimpl.java

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

JAVA
65
字号
/**
 * 
 */
package cn.bway.foreigntrade.repertory.outstore.product.impl;

import cn.bway.common.BwayHibernateException;
import cn.bway.common.impl.BaseManager;
import cn.bway.common.vo.QueryVO;
import cn.bway.myoffice.merchant.model.Merchant;
import cn.bway.foreigntrade.operation.units.model.Units;
import cn.bway.foreigntrade.order.exportclient.model.Exportclient;
import cn.bway.foreigntrade.order.exportproduct.model.Exportproduct;
import cn.bway.foreigntrade.repertory.cancel.document.model.Canceldocument;
import cn.bway.foreigntrade.repertory.cancel.product.model.Cancelproduct;
import cn.bway.foreigntrade.repertory.incasement.document.model.Incasementdocument;
import cn.bway.foreigntrade.repertory.incasement.product.model.Incasementproduct;
import cn.bway.foreigntrade.repertory.instore.document.model.Instoredocument;
import cn.bway.foreigntrade.repertory.instore.product.model.Instoreproduct;
import cn.bway.foreigntrade.repertory.outstore.document.model.Outstoredocument;
import cn.bway.foreigntrade.repertory.outstore.product.model.Outstoreproduct;

/**
 * @author Kson
 *
 */
public class OutstoreproductManagerFactoryImpl extends BaseManager implements
		OutstoreproductManager {

	public Object findAllOutstoreproduct(QueryVO qvo) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return outstoreproductdaofactory.getOutstoreproductDAO().findAllOutstoreproduct(qvo);
	}
	public Object findAllOutstoreproduct1(QueryVO qvo,String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return outstoreproductdaofactory.getOutstoreproductDAO().findAllOutstoreproduct1(qvo,id);
	}
	public void deleteOutstoreproduct(String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		outstoreproductdaofactory.getOutstoreproductDAO().removeObject(Outstoreproduct.class, id);
	}
	public Object getOutstoreproduct(String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return outstoreproductdaofactory.getOutstoreproductDAO().getObject(Outstoreproduct.class, id);
	}

	public void addOutstoreproduct(Outstoreproduct outstoreproduct) throws BwayHibernateException {
		// TODO Auto-generated method stub
		outstoreproductdaofactory.getOutstoreproductDAO().saveObject(outstoreproduct);
	}

	public void modfilyOutstoreproduct(Outstoreproduct outstoreproduct) throws BwayHibernateException {
		outstoreproductdaofactory.getOutstoreproductDAO().updateObject(outstoreproduct);
		
	}
	public Object queryAllOutstoreproduct(QueryVO qvo,String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return outstoreproductdaofactory.getOutstoreproductDAO().queryAllOutstoreproduct(qvo,id);
	}
	public Object getAllOutstoreproduct(String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return outstoreproductdaofactory.getOutstoreproductDAO().getAllOutstoreproduct(id);
	}

}

⌨️ 快捷键说明

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