public class TransactionManager extends AbstractTransactionManager<Transaction>
fields| Constructor and Description |
|---|
TransactionManager(java.sql.Connection con,
int moduleId) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addTransactionParameters(Transaction transaction,
java.lang.String params) |
void |
addTransactionPayment(Transaction transaction,
java.lang.String transactionParameters) |
void |
doCheckRequest(int contractId,
boolean autopaymentTransaction) |
protected Transaction |
getFromRS(java.sql.ResultSet rs) |
protected Transaction |
getImpl(int transactionId) |
static void |
main(java.lang.String[] args) |
java.lang.String |
paymentOrderBinding(Transaction transaction,
Autopayment autopayment)
14.3.2.1.
|
Transaction |
registerOrder(int contractId,
java.lang.String contractTitle,
java.lang.String customerAddress,
java.math.BigDecimal sum,
java.util.Map<java.lang.String,java.lang.Object> dataMap,
boolean autopaymentTransaction,
boolean requestBindingId) |
Transaction |
registerOrder(int contractId,
java.lang.String contractTitle,
java.lang.String customerAddress,
java.math.BigDecimal sum,
java.util.Map<java.lang.String,java.lang.Object> dataMap,
boolean autopaymentTransaction,
boolean requestBindingId,
java.lang.String returnUrl) |
void |
searchTransaction(SearchResult<Transaction> searchResult,
int contractId,
java.lang.String contractTitle,
java.lang.String status,
java.lang.Boolean autopaymentTransaction) |
protected void |
setConnectionTimeout(javax.net.ssl.HttpsURLConnection connection) |
boolean |
update(Transaction transaction,
TransactionStatus newTransactionStatus) |
protected void |
updateImpl(Transaction transaction) |
doConnection, doConnection, getParameter, psStatus, queryStatus, searchTransaction, setParameterdelete, get, getAndDelete, getAndUpdateclose, delete, deleteImpl, eq, get, getById, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, updatepublic TransactionManager(java.sql.Connection con,
int moduleId)
public void searchTransaction(SearchResult<Transaction> searchResult, int contractId, java.lang.String contractTitle, java.lang.String status, java.lang.Boolean autopaymentTransaction) throws ru.bitel.bgbilling.common.BGException
searchTransaction in class AbstractTransactionManager<Transaction>ru.bitel.bgbilling.common.BGExceptionprotected 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 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.BGExceptionjava.sql.SQLExceptionpublic boolean update(Transaction transaction, TransactionStatus newTransactionStatus) throws ru.bitel.bgbilling.common.BGException
ru.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,
boolean autopaymentTransaction)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic Transaction registerOrder(int contractId, java.lang.String contractTitle, java.lang.String customerAddress, 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 Transaction registerOrder(int contractId, java.lang.String contractTitle, java.lang.String customerAddress, java.math.BigDecimal sum, java.util.Map<java.lang.String,java.lang.Object> dataMap, boolean autopaymentTransaction, boolean requestBindingId, java.lang.String returnUrl) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.lang.String paymentOrderBinding(Transaction transaction, Autopayment autopayment)
public void addTransactionPayment(Transaction transaction, java.lang.String transactionParameters) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic static void addTransactionParameters(Transaction transaction, java.lang.String params)
protected void setConnectionTimeout(javax.net.ssl.HttpsURLConnection connection)
setConnectionTimeout in class AbstractTransactionManager<Transaction>public static void main(java.lang.String[] args)