public class TransactionManager extends ru.bitel.common.dao.AbstractIdDao<Transaction>
Constructor and Description |
---|
TransactionManager(java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
void |
addTransactionPayment(Transaction transaction,
java.lang.String transactionParameters) |
protected Transaction |
getFromRS(java.sql.ResultSet rs) |
protected Transaction |
getImpl(int transactionId) |
void |
searchTransaction(SearchResult<Transaction> searchResult,
int contractId,
java.lang.String contractTitle,
java.lang.String status) |
boolean |
update(Transaction transaction,
TransactionStatus newTransactionStatus) |
protected void |
updateImpl(Transaction transaction) |
delete, get, getAndDelete, getAndUpdate
public TransactionManager(java.sql.Connection con, int moduleId)
public void searchTransaction(SearchResult<Transaction> searchResult, int contractId, java.lang.String contractTitle, java.lang.String status) throws ru.bitel.bgbilling.common.BGException
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 Transaction getImpl(int transactionId) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
getImpl
in class ru.bitel.common.dao.AbstractDao<Transaction>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public boolean update(Transaction transaction, TransactionStatus newTransactionStatus) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(Transaction transaction) throws ru.bitel.bgbilling.common.BGException
updateImpl
in class ru.bitel.common.dao.AbstractDao<Transaction>
ru.bitel.bgbilling.common.BGException
public void addTransactionPayment(Transaction transaction, java.lang.String transactionParameters) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException