📄 countryportmanagerfactoryimpl.java
字号:
/**
*
*/
package cn.bway.foreigntrade.operation.countryport.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.countryport.model.Countryport;
import cn.bway.foreigntrade.operation.units.model.Units;
/**
* @author Kson
*
*/
public class CountryportManagerFactoryImpl extends BaseManager implements
CountryportManager {
public Object queryAllCountryport(QueryVO qvo) throws BwayHibernateException {
// TODO Auto-generated method stub
return countryportDAOFactory.getCountryportDAO().queryAllCountryport(qvo);
}
public Object findAllCountryport1(QueryVO qvo) throws BwayHibernateException {
// TODO Auto-generated method stub
//return unitsdaofactory.getUnitsDAO().findAllUnits1(qvo);
return countryportDAOFactory.getCountryportDAO().findAllCountryport1(qvo);
}
public void deleteCountryport(String id) throws BwayHibernateException {
// TODO Auto-generated method stub
//unitsdaofactory.getUnitsDAO().removeObject(Units.class, id);
countryportDAOFactory.getCountryportDAO().removeObject(Countryport.class,id);
}
public Object getCountryport(String id) throws BwayHibernateException {
// TODO Auto-generated method stub
//return unitsdaofactory.getUnitsDAO().getObject(Units.class, id);
return countryportDAOFactory.getCountryportDAO().getObject(Countryport.class,id);
}
public void addCountryport(Countryport countryport) throws BwayHibernateException {
// TODO Auto-generated method stub
countryportDAOFactory.getCountryportDAO().saveObject(countryport);
}
public void modfilyCountryport(Countryport countryport) throws BwayHibernateException {
//unitsdaofactory.getUnitsDAO().updateObject(countryport);
countryportDAOFactory.getCountryportDAO().updateObject(countryport);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -