exportproductmanagerfactoryimpl.java

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

JAVA
57
字号
/**
 * 
 */
package cn.bway.foreigntrade.order.exportproduct.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;

/**
 * @author Kson
 *
 */
public class ExportproductManagerFactoryImpl extends BaseManager implements
		ExportproductManager {

	public Object findAllExportproduct(QueryVO qvo) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return null;
	}
	public Object findAllExportproduct1(QueryVO qvo,String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return exportproductdaofactory.getExportproductDAO().findAllExportproduct1(qvo,id);
	}
	public void deleteExportproduct(String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		exportproductdaofactory.getExportproductDAO().removeObject(Exportproduct.class, id);
	}
	public Object getExportproduct(String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return exportproductdaofactory.getExportproductDAO().getObject(Exportproduct.class, id);
	}

	public void addExportproduct(Exportproduct exportproduct) throws BwayHibernateException {
		// TODO Auto-generated method stub
		exportproductdaofactory.getExportproductDAO().saveObject(exportproduct);
	}

	public void modfilyExportproduct(Exportproduct Exportproduct) throws BwayHibernateException {
		exportproductdaofactory.getExportproductDAO().updateObject(Exportproduct);
		
	}
	public Object queryAllExportproduct(QueryVO qvo,String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return exportproductdaofactory.getExportproductDAO().queryAllExportproduct(qvo,id);
	}
	public Object getAllExportproduct(String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return exportproductdaofactory.getExportproductDAO().getAllExportproduct(id);
	}

}

⌨️ 快捷键说明

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