public class ContractPluginConfigDao extends AbstractContractConfig
fields, TABLE_CONTRACT_MODULE_CONFIG, TABLE_CONTRACT_PLUGIN_CONFIG
Constructor and Description |
---|
ContractPluginConfigDao(java.sql.Connection con,
int pluginId) |
Modifier and Type | Method and Description |
---|---|
void |
delete(int contractId,
int pluginId,
java.lang.String key) |
void |
delete(int contractId,
java.lang.String key) |
java.lang.String |
get(int contractId,
int pluginId,
java.lang.String key) |
java.lang.String |
get(int contractId,
int pluginId,
java.lang.String key,
java.lang.String defaultValue) |
java.lang.String |
get(int contractId,
java.lang.String key) |
java.lang.String |
get(int contractId,
java.lang.String key,
java.lang.String defaultValue) |
void |
update(int contractId,
int pluginId,
java.lang.String key,
java.lang.String value) |
void |
update(int contractId,
java.lang.String key,
java.lang.String value) |
close, deleteForContract, getKeyList, searchContractModuleConfig
public ContractPluginConfigDao(java.sql.Connection con, int pluginId)
public java.lang.String get(int contractId, java.lang.String key) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.lang.String get(int contractId, java.lang.String key, java.lang.String defaultValue) throws ru.bitel.bgbilling.common.BGException
get
in class AbstractContractConfig
ru.bitel.bgbilling.common.BGException
public java.lang.String get(int contractId, int pluginId, java.lang.String key) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.lang.String get(int contractId, int pluginId, java.lang.String key, java.lang.String defaultValue) throws ru.bitel.bgbilling.common.BGException
get
in class AbstractContractConfig
ru.bitel.bgbilling.common.BGException
public void update(int contractId, java.lang.String key, java.lang.String value) throws ru.bitel.bgbilling.common.BGException
update
in class AbstractContractConfig
ru.bitel.bgbilling.common.BGException
public void update(int contractId, int pluginId, java.lang.String key, java.lang.String value) throws ru.bitel.bgbilling.common.BGException
update
in class AbstractContractConfig
ru.bitel.bgbilling.common.BGException
public void delete(int contractId, java.lang.String key) throws ru.bitel.bgbilling.common.BGException
delete
in class AbstractContractConfig
ru.bitel.bgbilling.common.BGException
public void delete(int contractId, int pluginId, java.lang.String key) throws ru.bitel.bgbilling.common.BGException
delete
in class AbstractContractConfig
ru.bitel.bgbilling.common.BGException