| Constructor and Description |
|---|
CostMapManager(java.sql.Connection con,
int mid) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteItem(int costMapId,
java.lang.String code) |
java.lang.String |
exportMap(int costMapId,
java.lang.String code) |
CostMap |
get(java.lang.String title)
Получение элемента по title(name)
Может быть не имплементировано - в этом случае бросается
UnsupportedOperationException |
protected CostMap |
getFromRS(java.sql.ResultSet rs) |
CostMapItem |
getTree(int costMapId,
boolean destination) |
void |
importMap(int costMapId,
java.lang.String data,
java.lang.String prfx,
boolean update) |
java.util.List<CostMap> |
list()
Получение всего списка элементов из справочника
|
java.util.List<CostMap> |
list(java.lang.String orderBy) |
protected void |
updateImpl(CostMap b) |
void |
updateItem(int costMapId,
CostMapItem item) |
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 CostMap getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException
getFromRS in class ru.bitel.common.dao.AbstractDao<CostMap>java.sql.SQLExceptionprotected void updateImpl(CostMap b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<CostMap>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionpublic java.util.List<CostMap> list(java.lang.String orderBy) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<CostMap> list() throws ru.bitel.bgbilling.common.BGException
Directorypublic CostMap get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
DirectoryUnsupportedOperationExceptionpublic CostMapItem getTree(int costMapId, boolean destination) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void updateItem(int costMapId,
CostMapItem item)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void deleteItem(int costMapId,
java.lang.String code)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void importMap(int costMapId,
java.lang.String data,
java.lang.String prfx,
boolean update)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.lang.String exportMap(int costMapId,
java.lang.String code)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException