steelsinformationmanagerfactoryimpl.java

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

JAVA
52
字号
/**
 * 
 */
package cn.bway.foreigntrade.operation.steelsinformation.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.steelsinformation.model.Steelsinformation;
import cn.bway.foreigntrade.operation.units.model.Units;

/**
 * @author Kson
 *
 */
public class SteelsinformationManagerFactoryImpl extends BaseManager implements
		SteelsinformationManager {

	public Object findAllSteelsinformation(QueryVO qvo) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return null;
	}
	public Object findAllSteelsinformation1(QueryVO qvo) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return steelsinformationDAOFactory.getSteelsinformationDAO().findAllSteelsinformation1(qvo);
	}
	public void deleteSteelsinformation(String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		steelsinformationDAOFactory.getSteelsinformationDAO().removeObject(Steelsinformation.class, id);
	}
	public Object getSteelsinformation(String id) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return steelsinformationDAOFactory.getSteelsinformationDAO().getObject(Steelsinformation.class, id);
	}

	public void addSteelsinformation(Steelsinformation steelsinformation) throws BwayHibernateException {
		// TODO Auto-generated method stub
		steelsinformationDAOFactory.getSteelsinformationDAO().saveObject(steelsinformation);
	}

	public void modfilySteelsinformation(Steelsinformation steelsinformation) throws BwayHibernateException {
		steelsinformationDAOFactory.getSteelsinformationDAO().updateObject(steelsinformation);
		
	}
	public Object querySteelsinformation(QueryVO qvo) throws BwayHibernateException {
		// TODO Auto-generated method stub
		return steelsinformationDAOFactory.getSteelsinformationDAO().querySteelsinformation(qvo);
	}

}

⌨️ 快捷键说明

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