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, getAndUpdateclose, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, updateprotected 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.SQLExceptionru.bitel.bgbilling.common.BGExceptionprotected 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.BGExceptionjava.sql.SQLExceptionpublic java.util.List<Product> getProducts(SearchResult<Product> searchResult) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<Product> getProductsOfCategory(int productCategoryId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException