public interface ContractService
Modifier and Type | Method and Description |
---|---|
Contract |
contractGet(int contractId) |
void |
contractGroupAdd(int contractId,
int contractGroupId) |
void |
contractGroupRemove(int contractId,
int contractGroupId) |
java.util.List<Contract> |
contractList(java.lang.String title,
java.lang.String comment,
int fc,
long groupMask,
java.util.List<FilterEntityAttr> entityFilter,
boolean subContracts,
boolean closed,
boolean hidden,
javax.xml.ws.Holder<Page> page) |
ru.bitel.bgbilling.kernel.contract.api.common.bean.parameter.ContractParameterGroup |
contractParameterGroupGet(int id) |
java.util.List<ru.bitel.bgbilling.kernel.contract.api.common.bean.parameter.ContractParameterGroup> |
contractParameterGroupList() |
MapHolder<java.lang.Integer,EntityAttr> |
contractParameterMap(int contractId,
int paramGroupId) |
void |
contractPasswordReset(int contractId,
java.lang.String email)
Сброс пароля с отправкой нового на email.
|
void |
contractPasswordUpdate(int contractId,
java.lang.String password,
boolean generate) |
java.util.List<Contract> |
contractSubList(int contractId,
int subMode,
boolean withSuperCid)
Получение списка субдоговоров.
|
boolean |
hasModuleInstance(int contractId,
int moduleId)
Проверка на наличие привязки указанного модуля к договору.
|
Contract contractGet(int contractId) throws ru.bitel.bgbilling.common.BGException
contractId
- - код договора.ru.bitel.bgbilling.common.BGException
void contractGroupAdd(int contractId, int contractGroupId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
void contractGroupRemove(int contractId, int contractGroupId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
java.util.List<Contract> contractSubList(int contractId, int subMode, boolean withSuperCid) throws ru.bitel.bgbilling.common.BGException
contractId
- - код договора.subMode
- - зависимый, независимый режим из KernelConst. Если subMode == -1, вернет все субдоговора.withSuperCid
- - если == true, то в список добавится и супер договор.ru.bitel.bgbilling.common.BGException
java.util.List<Contract> contractList(java.lang.String title, java.lang.String comment, int fc, long groupMask, java.util.List<FilterEntityAttr> entityFilter, boolean subContracts, boolean closed, boolean hidden, javax.xml.ws.Holder<Page> page) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
void contractPasswordUpdate(int contractId, java.lang.String password, boolean generate) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
boolean hasModuleInstance(int contractId, int moduleId) throws ru.bitel.bgbilling.common.BGException
contractId
- код договораmoduleId
- код модуляru.bitel.bgbilling.common.BGException
void contractPasswordReset(int contractId, java.lang.String email) throws ru.bitel.bgbilling.common.BGException
contractId
- email
- если указан, то происходит проверка что он совпадает с тем, что указан в договоре - иначе просто отправляет на тот что в договоре.ru.bitel.bgbilling.common.BGException
MapHolder<java.lang.Integer,EntityAttr> contractParameterMap(int contractId, int paramGroupId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.contract.api.common.bean.parameter.ContractParameterGroup contractParameterGroupGet(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
java.util.List<ru.bitel.bgbilling.kernel.contract.api.common.bean.parameter.ContractParameterGroup> contractParameterGroupList() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException