📄 sampleproductmanagerfactoryimpl.java
字号:
/**
*
*/
package cn.bway.foreigntrade.repertory.sample.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;
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;
import cn.bway.foreigntrade.repertory.outstore.product.model.Outstoreproduct;
import cn.bway.foreigntrade.repertory.sample.product.model.Sampleproduct;
/**
* @author Kson
*
*/
public class SampleproductManagerFactoryImpl extends BaseManager implements
SampleproductManager {
public Object findAllSampleproduct(QueryVO qvo) throws BwayHibernateException {
// TODO Auto-generated method stub
return null;
}
public Object findAllSampleproduct1(QueryVO qvo) throws BwayHibernateException {
// TODO Auto-generated method stub
return sampleproductdaofactory.getSampleproductDAO().findAllSampleproduct1(qvo);
}
public void deleteSampleproduct(String id) throws BwayHibernateException {
// TODO Auto-generated method stub
sampleproductdaofactory.getSampleproductDAO().removeObject(Sampleproduct.class, id);
}
public Object getSampleproduct(String id) throws BwayHibernateException {
// TODO Auto-generated method stub
return sampleproductdaofactory.getSampleproductDAO().getObject(Sampleproduct.class, id);
}
public void addSampleproduct(Sampleproduct sampleproduct) throws BwayHibernateException {
// TODO Auto-generated method stub
sampleproductdaofactory.getSampleproductDAO().saveObject(sampleproduct);
}
public void modfilySampleproduct(Sampleproduct sampleproduct) throws BwayHibernateException {
sampleproductdaofactory.getSampleproductDAO().updateObject(sampleproduct);
}
public Object queryAllSampleproduct(QueryVO qvo,String id) throws BwayHibernateException {
// TODO Auto-generated method stub
return sampleproductdaofactory.getSampleproductDAO().queryAllSampleproduct(qvo,id);
}
public Object getAllSampleproduct(String id) throws BwayHibernateException {
// TODO Auto-generated method stub
return sampleproductdaofactory.getSampleproductDAO().getAllSampleproduct(id);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -