Package ru.bitel.bgbilling.server.bean
Class AbstractTransactionManager
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.server.bean.AbstractTransactionManager
- Direct Known Subclasses:
TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager,TransactionManager
public abstract class AbstractTransactionManager
extends ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBuilderdoConnection(String url, String requestMethod, boolean doInput, String outputText) protected StringBuilderdoConnection(String url, String requestMethod, boolean doInput, String outputText, Map<String, String> requestProperties) protected Connectionprotected intprotected ModuleSetupprotected StringgetParameter(String data, String key) protected static StringgetParamString(org.json.JSONObject resultJsonObject) protected static StringgetParamString(org.json.JSONObject resultJsonObject, String params) protected static voidgetParamString(org.json.JSONObject jsonObject, StringBuilder builder, String prefix) protected <T extends BGAbstractTransaction>
StringgetPaymentData(T transaction) protected SetupgetSetup()protected voidsetConnectionTimeout(HttpsURLConnection connection) protected StringsetParameter(String data, String key, String value) Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warn
-
Constructor Details
-
AbstractTransactionManager
-
-
Method Details
-
getConnection
-
getSetup
-
getModuleSetup
-
getModuleId
protected int getModuleId() -
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
-
getParamString
-
getParamString
-
getParamString
protected static void getParamString(org.json.JSONObject jsonObject, StringBuilder builder, String prefix) -
getPaymentData
-