public class TransactionManager extends ru.bitel.common.dao.AbstractIdDao<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 |
doCheckRequest(int transactionId) |
protected Transaction |
getById(int id) |
protected Transaction |
getFromRS(java.sql.ResultSet rs) |
static java.lang.String |
getSign(java.lang.String scriptName,
java.lang.String[] keys,
java.util.Map<java.lang.String,java.lang.Object> dataMap,
java.lang.String secretKey) |
void |
searchTransaction(SearchResult<Transaction> searchResult,
int contractId,
java.lang.String contractTitle,
java.lang.String status) |
protected void |
updateImpl(Transaction transaction) |
delete, get, getAndDelete, getAndUpdate
close, delete, deleteImpl, eq, get, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update
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
public void doCheckRequest(int transactionId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected Transaction getById(int id) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
getById
in class ru.bitel.common.dao.AbstractDao<Transaction>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
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
updateImpl
in class ru.bitel.common.dao.AbstractDao<Transaction>
ru.bitel.bgbilling.common.BGException
public static java.lang.String getSign(java.lang.String scriptName, java.lang.String[] keys, java.util.Map<java.lang.String,java.lang.Object> dataMap, java.lang.String secretKey)