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

📄 outstoredocumentmanagerfactoryimpl.java

📁 这是本人曾经在公司里用的,内部开发框架,基于struts+hibernate今天分享给大家
💻 JAVA
字号:
/**
 * 
 */
package cn.bway.foreigntrade.repertory.outstore.document.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;

/**
 * @author Kson
 *
 */
public class OutstoredocumentManagerFactoryImpl extends BaseManager implements
		OutstoredocumentManager {

	public Object findAllOutstoredocument(QueryVO qvo) throws BwayHibernateException {
		return outstoredocumentdaofactory.getOutstoredocumentDAO().findAllOutstoredocument(qvo);
		// TODO Auto-generated method stub
	
	}
	public Object findAllOutstoredocument1(QueryVO qvo,String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return outstoredocumentdaofactory.getOutstoredocumentDAO().findAllOutstoredocument1(qvo,id);
	}
	public void deleteOutstoredocument(String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		outstoredocumentdaofactory.getOutstoredocumentDAO().removeObject(Outstoredocument.class, id);
	}
	public Object getOutstoredocument(String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return outstoredocumentdaofactory.getOutstoredocumentDAO().getObject(Outstoredocument.class, id);
	}

	public void addOutstoredocument(Outstoredocument outstoredocument) throws BwayHibernateException {
		// TODO Auto-generated method stub
		outstoredocumentdaofactory.getOutstoredocumentDAO().saveObject(outstoredocument);
	}

	public void modfilyOutstoredocument(Outstoredocument outstoredocument) throws BwayHibernateException {
		outstoredocumentdaofactory.getOutstoredocumentDAO().updateObject(outstoredocument);
		
	}
	public Object queryAllOutstoredocument(QueryVO qvo,String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return outstoredocumentdaofactory.getOutstoredocumentDAO().queryAllOutstoredocument(qvo,id);
	}

}

⌨️ 快捷键说明

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