public class TransactionManager extends ru.bitel.common.dao.AbstractDao<Transaction>
| Modifier and Type | Field and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
fields |
| Constructor and Description |
|---|
TransactionManager(java.sql.Connection con,
int mid) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteTransactionById(int transactionId)
Удаление платежа из БД по его коду.
|
protected Transaction |
getFromRS(java.sql.ResultSet rs) |
Transaction |
getTransactionById(int transactionId)
Получение платежа по его коду.
|
void |
searchTransactions(SearchResult<Transaction> searchResult,
int contractId,
java.lang.String contractTitle,
java.lang.String status) |
protected void |
updateImpl(Transaction pscbTransaction) |
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, updatepublic void searchTransactions(SearchResult<Transaction> searchResult, int contractId, java.lang.String contractTitle, java.lang.String status) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic Transaction getTransactionById(int transactionId) throws ru.bitel.bgbilling.common.BGException
AbstractIdDao#get(int) }, т.к. в последнем
не учитывается join таблицы с контрактами для получения названия договораpaymentId - код платежаru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(Transaction pscbTransaction) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<Transaction>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionpublic void deleteTransactionById(int transactionId)
throws ru.bitel.bgbilling.common.BGException
paymentId - код платежаru.bitel.bgbilling.common.BGExceptionprotected Transaction getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS in class ru.bitel.common.dao.AbstractDao<Transaction>java.sql.SQLExceptionru.bitel.bgbilling.common.BGException