public class WebMenuDao extends ru.bitel.common.dao.AbstractIdDao<WebMenuItem>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TABLE_CONTRACT_WEB_MENU |
| Constructor and Description |
|---|
WebMenuDao(java.sql.Connection con) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteData(int webMenuItemId) |
java.util.Map<java.lang.Integer,java.lang.Integer> |
getContractCount() |
java.lang.String |
getData(int webMenuItemId) |
protected WebMenuItem |
getFromRS(java.sql.ResultSet rs) |
int |
getWebMenuIdForContract(int contractId) |
java.util.List<WebMenuItem> |
list() |
void |
setWebMenuIdForContract(int webMenuItemId,
int contractId) |
void |
updateData(int webMenuItemId,
java.lang.String data) |
protected void |
updateImpl(WebMenuItem webMenuItem) |
WebMenuItem |
updateInfo(WebMenuItem webMenuItem) |
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, updatepublic static final java.lang.String TABLE_CONTRACT_WEB_MENU
public int getWebMenuIdForContract(int contractId)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void setWebMenuIdForContract(int webMenuItemId,
int contractId)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.lang.String getData(int webMenuItemId)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void deleteData(int webMenuItemId)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<WebMenuItem> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.Map<java.lang.Integer,java.lang.Integer> getContractCount()
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic WebMenuItem updateInfo(WebMenuItem webMenuItem) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void updateData(int webMenuItemId,
java.lang.String data)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionprotected WebMenuItem getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS in class ru.bitel.common.dao.AbstractDao<WebMenuItem>java.sql.SQLExceptionru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(WebMenuItem webMenuItem) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<WebMenuItem>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLException