public class TransactionManager extends AbstractTransactionManager<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 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, setParameter
delete, get, getAndDelete, getAndUpdate
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update
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