public class TransactionManager extends ru.bitel.common.dao.AbstractDao<Transaction>
| Constructor and Description |
|---|
TransactionManager(java.sql.Connection con,
int mid) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTransaction(Transaction transaction)
Добавление новой транзакции в БД текущим моментом
|
protected Transaction |
getFromRS(java.sql.ResultSet rs) |
Transaction |
getTransaction(int transactionId)
Получение транзакции по ее коду
|
void |
searchQiwiTransactions(SearchResult<Transaction> searchResult,
java.lang.String status,
int contractId,
java.lang.String contractTitle) |
protected void |
updateImpl(Transaction transaction) |
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 searchQiwiTransactions(SearchResult<Transaction> searchResult, java.lang.String status, int contractId, java.lang.String contractTitle) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic Transaction getTransaction(int transactionId) throws ru.bitel.bgbilling.common.BGException
transactionId - код транзакцииru.bitel.bgbilling.common.BGExceptionpublic void addTransaction(Transaction transaction) throws ru.bitel.bgbilling.common.BGException
transaction - добавляемая транзакция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.BGExceptionprotected void updateImpl(Transaction transaction) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<Transaction>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLException