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, searchTransaction, searchTransaction, setConnectionTimeout
delete, get, getAndDelete, getAndUpdate
public 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.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 void doCheckRequest(int contractId, java.lang.String clientIpAddr) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public 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.BGException
public void doAutopayment(int contractId, java.lang.String contractTitle, java.math.BigDecimal sum, Autopayment autopayment) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public static java.lang.String doRequest(java.lang.String requestParam, ParameterMap moduleSetup) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException