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) |
public 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.BGException
public Transaction getTransaction(int transactionId) throws ru.bitel.bgbilling.common.BGException
transactionId
- код транзакцииru.bitel.bgbilling.common.BGException
public void addTransaction(Transaction transaction) throws ru.bitel.bgbilling.common.BGException
transaction
- добавляемая транзакцияru.bitel.bgbilling.common.BGException
protected 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.SQLException
ru.bitel.bgbilling.common.BGException
protected 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.BGException
java.sql.SQLException