public class TransactionManager extends AbstractTransactionManager<Transaction>
fields| Constructor and Description |
|---|
TransactionManager(java.sql.Connection con,
int moduleId) |
| Modifier and Type | Method and Description |
|---|---|
void |
doAutopayment(int contractId,
java.lang.String contractTitle,
java.math.BigDecimal sum,
Autopayment autopayment) |
void |
doCheckRequest(int contractId,
java.lang.String clientIpAddr) |
static java.lang.String |
doRequest(java.lang.String requestParam,
ParameterMap moduleSetup) |
protected Transaction |
getFromRS(java.sql.ResultSet rs) |
protected int |
psStatus(java.sql.PreparedStatement ps,
java.lang.String status,
int index) |
protected void |
queryStatus(java.lang.StringBuilder query,
java.lang.String status) |
Transaction |
registerOrder(int contractId,
java.lang.String contractTitle,
java.math.BigDecimal sum,
java.util.Map<java.lang.String,java.lang.Object> dataMap,
boolean autopaymentTransaction,
boolean requestBindingId) |
protected void |
updateImpl(Transaction transaction) |
doConnection, doConnection, getParameter, searchTransaction, searchTransaction, setConnectionTimeout, setParameterdelete, get, getAndDelete, getAndUpdateclose, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, updatepublic TransactionManager(java.sql.Connection con,
int moduleId)
protected void queryStatus(java.lang.StringBuilder query,
java.lang.String status)
queryStatus in class AbstractTransactionManager<Transaction>protected int psStatus(java.sql.PreparedStatement ps,
java.lang.String status,
int index)
throws java.sql.SQLException
psStatus in class AbstractTransactionManager<Transaction>java.sql.SQLExceptionprotected 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
updateImpl in class ru.bitel.common.dao.AbstractDao<Transaction>ru.bitel.bgbilling.common.BGExceptionpublic void doCheckRequest(int contractId,
java.lang.String clientIpAddr)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic Transaction registerOrder(int contractId, java.lang.String contractTitle, java.math.BigDecimal sum, java.util.Map<java.lang.String,java.lang.Object> dataMap, boolean autopaymentTransaction, boolean requestBindingId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void doAutopayment(int contractId,
java.lang.String contractTitle,
java.math.BigDecimal sum,
Autopayment autopayment)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic static java.lang.String doRequest(java.lang.String requestParam,
ParameterMap moduleSetup)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException