📄 cancelproductmanagerfactoryimpl.java
字号:
/**
*
*/
package cn.bway.foreigntrade.repertory.cancel.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;
/**
* @author Kson
*
*/
public class CancelproductManagerFactoryImpl extends BaseManager implements
CancelproductManager {
public Object findAllCancelproduct(QueryVO qvo) throws BwayHibernateException {
// TODO Auto-generated method stub
return cancelproductdaofactory.getCancelproductDAO().findAllCancelproduct(qvo);
}
public Object findAllCancelproduct1(QueryVO qvo,String id) throws BwayHibernateException {
// TODO Auto-generated method stub
return cancelproductdaofactory.getCancelproductDAO().findAllCancelproduct1(qvo,id);
}
public void deleteCancelproduct(String id) throws BwayHibernateException {
// TODO Auto-generated method stub
cancelproductdaofactory.getCancelproductDAO().removeObject(Cancelproduct.class, id);
}
public Object getCancelproduct(String id) throws BwayHibernateException {
// TODO Auto-generated method stub
return cancelproductdaofactory.getCancelproductDAO().getObject(Cancelproduct.class, id);
}
public void addCancelproduct(Cancelproduct cancelproduct) throws BwayHibernateException {
// TODO Auto-generated method stub
cancelproductdaofactory.getCancelproductDAO().saveObject(cancelproduct);
}
public void modfilyCancelproduct(Cancelproduct cancelproduct) throws BwayHibernateException {
cancelproductdaofactory.getCancelproductDAO().updateObject(cancelproduct);
}
public Object queryAllCancelproduct(QueryVO qvo,String id) throws BwayHibernateException {
// TODO Auto-generated method stub
return cancelproductdaofactory.getCancelproductDAO().queryAllCancelproduct(qvo,id);
}
public Object getAllCancelproduct(String id) throws BwayHibernateException {
// TODO Auto-generated method stub
return cancelproductdaofactory.getCancelproductDAO().getAllCancelproduct(id);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -