cacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, logger, mid, moduleId, orderByPattern, SQL_CALC_FOUND_ROWS, SQL_DELETE, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_LIMIT, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_WHERE, tableName| 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, getSQLOrder, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, 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
ru.bitel.common.dao.AbstractDaoupdateImpl in class ru.bitel.common.dao.AbstractDao<CostMap>b - экземпляр моделиru.bitel.bgbilling.common.BGException - ошибкиjava.sql.SQLException - ошибкиpublic 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
ru.bitel.bgbilling.kernel.directory.api.common.Directorylist in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<CostMap>ru.bitel.bgbilling.common.BGExceptionpublic CostMap get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.directory.api.common.DirectoryUnsupportedOperationExceptionget in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<CostMap>ru.bitel.bgbilling.common.BGExceptionpublic 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