public class ContractParameterGroupManager
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| protected java.sql.Connection | con | 
| protected DefaultServerSetup | setup | 
| static java.lang.String | TABLE_CONTRACT_PARAMETER_GROUP | 
| Constructor and Description | 
|---|
| ContractParameterGroupManager(java.sql.Connection connection) | 
| ContractParameterGroupManager(java.sql.Connection connection,
                             DefaultServerSetup setup) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addParameterInGroup(int groupId,
                   java.util.List<java.lang.Integer> pids)Добавление в группу параметров из списка | 
| void | deleteAllParameterInGroup(int groupId)Удаление привязки всех параметров входящих в группу | 
| java.util.Set<java.lang.Integer> | getParameterSetInGroup(int groupId)Возвращает коды параметров входящих в группу | 
public static final java.lang.String TABLE_CONTRACT_PARAMETER_GROUP
protected java.sql.Connection con
protected DefaultServerSetup setup
public ContractParameterGroupManager(java.sql.Connection connection)
public ContractParameterGroupManager(java.sql.Connection connection,
                                     DefaultServerSetup setup)
public void deleteAllParameterInGroup(int groupId)
groupId - код группы параметровpublic void addParameterInGroup(int groupId,
                                java.util.List<java.lang.Integer> pids)
groupId - код группы параметровpids - список кодов параметровpublic java.util.Set<java.lang.Integer> getParameterSetInGroup(int groupId)
                                                        throws ru.bitel.bgbilling.common.BGException
groupId - код группы параметровru.bitel.bgbilling.common.BGException