productmanager.java

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

JAVA
46
字号
/**
 * 
 */
package cn.bway.foreigntrade.reperstory.product.impl;

import cn.bway.common.BwayHibernateException;
import cn.bway.common.vo.QueryVO;


import cn.bway.foreigntrade.reperstory.product.model.Product;
import cn.bway.foreigntrade.repertory.buydocument.model.Buydocument;

/**
 * @author Kson
 *
 */
public interface ProductManager {
	
	//根据查询条件,查询分�?

	public Object findAllProduct() throws BwayHibernateException;
	public Object queryProduct(QueryVO qvo,String types,String codes) throws BwayHibernateException;
	public Object queryProduct(String types,String codes) throws BwayHibernateException;
	//根据查询条件,查询分�?1
	public Object findAllProduct1(QueryVO qvo,String types) throws BwayHibernateException;
	
	public Object queryAllProduct(QueryVO qvo) throws BwayHibernateException;
	
	// 调用DAO数据层方法,增�?

	public void addProduct(Product Product) throws BwayHibernateException;
	
	//调用DAO数据层方法,修�?

	public void modfilyProduct(Product Product) throws BwayHibernateException;
	
	//调用DAO数据层方法,删�?

	public void deleteProduct(String id) throws BwayHibernateException;
	
	//调用DAO数据层方法,查询一�?

	public Object getProduct(String id) throws BwayHibernateException;	

}

⌨️ 快捷键说明

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