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) |
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, getAndUpdate
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, processException, recycle, setStatementParam, update
protected CostMap getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException
getFromRS
in class ru.bitel.common.dao.AbstractDao<CostMap>
java.sql.SQLException
protected 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.BGException
java.sql.SQLException
public java.util.List<CostMap> list(java.lang.String orderBy) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<CostMap> list() throws ru.bitel.bgbilling.common.BGException
list
in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<CostMap>
ru.bitel.bgbilling.common.BGException
public CostMap get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
get
in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<CostMap>
ru.bitel.bgbilling.common.BGException
public CostMapItem getTree(int costMapId, boolean destination) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void updateItem(int costMapId, CostMapItem item) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void deleteItem(int costMapId, java.lang.String code) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void importMap(int costMapId, java.lang.String data, java.lang.String prfx, boolean update) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.lang.String exportMap(int costMapId, java.lang.String code) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException