public class ProductDao extends ru.bitel.common.dao.AbstractIdDao<Product>
Constructor and Description |
---|
ProductDao(java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
protected Product |
getFromRS(java.sql.ResultSet rs) |
java.util.List<Product> |
getProducts(SearchResult<Product> searchResult) |
java.util.List<Product> |
getProductsOfCategory(int productCategoryId) |
protected void |
updateImpl(Product product) |
delete, get, getAndDelete, getAndUpdate
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update
protected Product getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<Product>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(Product product) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<Product>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.List<Product> getProducts(SearchResult<Product> searchResult) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<Product> getProductsOfCategory(int productCategoryId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException