public abstract class AbstractTransactionManager<B extends Id>
extends ru.bitel.common.dao.AbstractIdDao<B>
Modifier and Type | Field and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
fields |
protected org.apache.log4j.Logger |
logger |
protected ParameterMap |
moduleSetup |
Constructor and Description |
---|
AbstractTransactionManager(java.sql.Connection con,
int moduleId,
java.lang.String tableName) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.StringBuilder |
doConnection(java.lang.String url,
java.lang.String requestMethod,
boolean doInput,
java.lang.String outputText) |
protected java.lang.StringBuilder |
doConnection(java.lang.String url,
java.lang.String requestMethod,
boolean doInput,
java.lang.String outputText,
java.util.Map<java.lang.String,java.lang.String> requestProperties) |
protected int |
psStatus(java.sql.PreparedStatement ps,
java.lang.String status,
int index) |
protected void |
queryStatus(java.lang.StringBuilder query,
java.lang.String status) |
void |
searchTransaction(SearchResult<B> searchResult,
int contractId,
java.lang.String contractTitle,
java.lang.String status) |
void |
searchTransaction(SearchResult<B> searchResult,
int contractId,
java.lang.String contractTitle,
java.lang.String status,
java.lang.Boolean autopaymentTransaction) |
protected void |
setConnectionTimeout(javax.net.ssl.HttpsURLConnection connection) |
delete, get, getAndDelete, getAndUpdate
protected org.apache.log4j.Logger logger
protected ParameterMap moduleSetup
public java.util.Map<java.lang.String,java.lang.String> fields
public AbstractTransactionManager(java.sql.Connection con, int moduleId, java.lang.String tableName)
public void searchTransaction(SearchResult<B> searchResult, int contractId, java.lang.String contractTitle, java.lang.String status) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void searchTransaction(SearchResult<B> searchResult, int contractId, java.lang.String contractTitle, java.lang.String status, java.lang.Boolean autopaymentTransaction) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected void queryStatus(java.lang.StringBuilder query, java.lang.String status)
protected int psStatus(java.sql.PreparedStatement ps, java.lang.String status, int index) throws java.sql.SQLException
java.sql.SQLException
protected java.lang.StringBuilder doConnection(java.lang.String url, java.lang.String requestMethod, boolean doInput, java.lang.String outputText) throws java.io.IOException
java.io.IOException
protected java.lang.StringBuilder doConnection(java.lang.String url, java.lang.String requestMethod, boolean doInput, java.lang.String outputText, java.util.Map<java.lang.String,java.lang.String> requestProperties) throws java.io.IOException
java.io.IOException
protected void setConnectionTimeout(javax.net.ssl.HttpsURLConnection connection)