Package ru.bitel.bgbilling.server.bean
Class AbstractTransactionManager<B extends Id>
java.lang.Object
ru.bitel.common.dao.AbstarctDaoConstant
ru.bitel.common.dao.AbstractDao<B>
ru.bitel.common.dao.AbstractIdDao<B>
ru.bitel.bgbilling.server.bean.AbstractTransactionManager<B>
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
,TransactionManager
public abstract class AbstractTransactionManager<B extends Id>
extends ru.bitel.common.dao.AbstractIdDao<B>
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bitel.common.dao.AbstractDao
ru.bitel.common.dao.AbstractDao.ResultSetIterator
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.logging.log4j.Logger
protected ParameterMap
Fields inherited from class ru.bitel.common.dao.AbstractDao
cacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, moduleId, orderByPattern, tableName
Fields inherited from class ru.bitel.common.dao.AbstarctDaoConstant
ERROR, fields, SQL_CALC_FOUND_ROWS, SQL_DELETE, SQL_DISTINCT, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_LIMIT, SQL_ON_DUPLICATE_KEY_UPDATE, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_VALUES, SQL_WHERE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected StringBuilder
doConnection
(String url, String requestMethod, boolean doInput, String outputText) protected StringBuilder
doConnection
(String url, String requestMethod, boolean doInput, String outputText, Map<String, String> requestProperties) protected String
getParameter
(String data, String key) protected int
psStatus
(PreparedStatement ps, String status, int index) protected void
queryStatus
(StringBuilder query, String status) void
searchTransaction
(SearchResult<B> searchResult, SearchParam searchParam) protected void
setConnectionTimeout
(HttpsURLConnection connection) protected String
setParameter
(String data, String key, String value) Methods inherited from class ru.bitel.common.dao.AbstractIdDao
delete, get, getAndDelete, getAndUpdate
Methods inherited from class ru.bitel.common.dao.AbstractDao
close, delete, deleteImpl, eq, get, getById, getFromRS, getImpl, getListFromRS, getPeriod, getQueryById, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update, updateImpl
Methods inherited from class ru.bitel.common.dao.AbstarctDaoConstant
getSQLOrder
-
Field Details
-
logger
protected org.apache.logging.log4j.Logger logger -
moduleSetup
-
-
Constructor Details
-
AbstractTransactionManager
-
-
Method Details
-
searchTransaction
public void searchTransaction(SearchResult<B> searchResult, SearchParam searchParam) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
queryStatus
-
psStatus
- Throws:
SQLException
-
doConnection
protected StringBuilder doConnection(String url, String requestMethod, boolean doInput, String outputText) throws IOException - Throws:
IOException
-
doConnection
protected StringBuilder doConnection(String url, String requestMethod, boolean doInput, String outputText, Map<String, String> requestProperties) throws IOException- Throws:
IOException
-
setConnectionTimeout
-
setParameter
-
getParameter
-