Class ParamManager
java.lang.Object
ru.bitel.bgbilling.plugins.helpdesk.server.bean.ParamManager
Класс для хранения пользовательских параметров для системы HelpDesk
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Connectionprotected ru.bitel.bgbilling.kernel.plugin.server.BGPluginServer - 
Constructor Summary
ConstructorsConstructorDescriptionParamManager(Connection con, ru.bitel.bgbilling.kernel.plugin.server.BGPluginServer plugin) Конструктор по умолчанию - 
Method Summary
Modifier and TypeMethodDescriptiongetContractCurrentMode(int contractId) protected StringgetDBTableName(String name) List<ru.bitel.bgbilling.common.model.KeyValue>getProperties(int contractId) Возращает все сохраненные параметры для заданного договораvoidsetProperties(int contractId, Properties properties) Сохраняем в БД параметры для заданного договора. 
- 
Field Details
- 
con
 - 
plugin
protected ru.bitel.bgbilling.kernel.plugin.server.BGPluginServer plugin 
 - 
 - 
Constructor Details
- 
ParamManager
Конструктор по умолчанию- Parameters:
 con- - коннект к БДplugin- - ссылка на объект с данными плагина
 
 - 
 - 
Method Details
- 
getDBTableName
 - 
getModeList
 - 
getContractCurrentMode
- Throws:
 ru.bitel.bgbilling.common.BGException
 - 
getProperties
Возращает все сохраненные параметры для заданного договора- Parameters:
 contractId- - код договора- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGException
 - 
setProperties
public void setProperties(int contractId, Properties properties) throws ru.bitel.bgbilling.common.BGException Сохраняем в БД параметры для заданного договора. Все ранее сохраненные значения удаляются.- Parameters:
 contractId- - код договораproperties- - сохраняемые значения- Throws:
 ru.bitel.bgbilling.common.BGException
 
 -