Class AbstractContractConfig

java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.common.dao.AbstarctDaoConstant
ru.bitel.bgbilling.kernel.contract.config.server.bean.AbstractContractConfig
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
ContractModuleConfigDao, ContractPluginConfigDao

public abstract class AbstractContractConfig extends ru.bitel.common.dao.AbstarctDaoConstant implements AutoCloseable
  • Field Details

  • Constructor Details

    • AbstractContractConfig

      protected AbstractContractConfig(String table, Connection con, int configId)
  • Method Details

    • get

      public String get(int contractId, String key) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • get

      public String get(int contractId, String key, String defaultValue) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • update

      public void update(int contractId, String key, String value) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • delete

      public void delete(int contractId, String key) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • deleteForContract

      public void deleteForContract(int contractId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • searchContractModuleConfig

      public void searchContractModuleConfig(SearchResult<ContractModuleConfig> searchResult, String contractTitle, List<String> keys) throws Exception
      Throws:
      Exception
    • getKeyList

      public List<String> getKeyList() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable