@Deprecated
public class ContractParameterPrefManager
extends java.lang.Object
#ru.bitel.bgbilling.kernel.contract.param.server.bean.ContractParameterPrefDao()| Modifier and Type | Field and Description |
|---|---|
protected java.sql.Connection |
con
Deprecated.
|
protected DefaultServerSetup |
setup
Deprecated.
|
| Constructor and Description |
|---|
ContractParameterPrefManager(java.sql.Connection connection)
Deprecated.
|
ContractParameterPrefManager(java.sql.Connection connection,
DefaultServerSetup setup)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteContractParameterPref(int id)
Deprecated.
Удаляет настройки параметра договора (т.е. справочник "договоры-параметры").
|
ContractParameterPref |
getContractParameterPref(int id)
Deprecated.
Возвращает настройки параметра договора по его коду
|
java.util.List<ContractParameterPref> |
getContractParameterPrefList(int type)
Deprecated.
Возвращает список настроек параметров договоров определенного типа
|
java.util.List<ContractParameterPref> |
getParameterList(java.util.Set<java.lang.Integer> ids)
Deprecated.
|
java.util.List<IdTitle> |
getParamList(int paramTypeId)
Deprecated.
|
java.util.Map<java.lang.Integer,java.util.List<IdTitle>> |
getParamMapByType()
Deprecated.
|
java.util.Map<java.lang.Integer,java.lang.Integer> |
getParamTypeMap()
Deprecated.
Возвращает Map(код, тип)
|
void |
moveParam(int id,
int where)
Deprecated.
сдвиг параметра 1 - вниз, 2 - вверх
|
void |
updateContractParameterPref(ContractParameterPref pref)
Deprecated.
Обновляет настройки параметра договора
|
protected java.sql.Connection con
protected DefaultServerSetup setup
public ContractParameterPrefManager(java.sql.Connection connection)
public ContractParameterPrefManager(java.sql.Connection connection,
DefaultServerSetup setup)
public ContractParameterPref getContractParameterPref(int id)
id - код параметраpublic java.util.List<ContractParameterPref> getContractParameterPrefList(int type)
type - тип параметров договоровpublic java.util.List<ContractParameterPref> getParameterList(java.util.Set<java.lang.Integer> ids) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<IdTitle> getParamList(int paramTypeId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void updateContractParameterPref(ContractParameterPref pref)
pref - настройки параметраpublic void deleteContractParameterPref(int id)
throws ru.bitel.bgbilling.common.BGException
id - код параметра.ru.bitel.bgbilling.common.BGExceptionpublic void moveParam(int id,
int where)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.Map<java.lang.Integer,java.util.List<IdTitle>> getParamMapByType() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.Map<java.lang.Integer,java.lang.Integer> getParamTypeMap()
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException