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 java.lang.String |
getParameter(java.lang.String data,
java.lang.String key) |
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) |
protected java.lang.String |
setParameter(java.lang.String data,
java.lang.String key,
java.lang.String value) |
delete, get, getAndDelete, getAndUpdate
close, delete, deleteImpl, eq, get, getById, getFromRS, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update, updateImpl
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)
protected java.lang.String setParameter(java.lang.String data, java.lang.String key, java.lang.String value)
protected java.lang.String getParameter(java.lang.String data, java.lang.String key)