Interface ContractObjectService
public interface ContractObjectService
- 
Method Summary
Modifier and TypeMethodDescriptionvoidcontractObjectClone(int contractId, int objectId, boolean clonePeriod) voidcontractObjectDelete(int contractId, int objectId) contractObjectGet(int contractId, int objectId) contractObjectList(int contractId) List<ru.bitel.bgbilling.kernel.contract.object.common.dto.ContractObjectModuleDTO>contractObjectModuleList(int contractId, int objectId) voidcontractObjectOrder(int contractId, int objectId, boolean up) List<ru.bitel.bgbilling.kernel.contract.object.common.dto.ContractObjectParameterDTO>contractObjectParameters(int contractId, int objectId) contractObjectTable(int contractId, String filterTitle, int filterType, Page page) intcontractObjectUpdate(int contractId, ContractObject contractObject) voiddeleteListParameterValue(int valueId) getAvailableTypeForObjectType(int objectTypeId) getValuesForListParameter(int parameterId) voidobjectParamDelete(int id) voidobjectParameterAddressDelete(int contractId, int objectId, int parameterId) Удаление параметра адреса для объекта на договореobjectParameterAddressStructGet(int contractId, int objectId, int parameterId) Получение значения адреса для параметра объектаvoidobjectParameterAddressUpdate(int contractId, EntityAttrAddress entityAttrAddress) Обновление параметра адреса для объекта на договореvoidobjectParameterDateUpdate(int contractId, EntityAttrDate entityAttrDate) Обновление параметра объекта типа датаvoidobjectParameterFlagUpdate(int contractId, EntityAttrBoolean entityAttrBoolean) Обновление параметра объекта типа флагobjectParameterGet(int contractId, int entityId, int entitySpecId) voidobjectParameterHistoryClear(int contractId, int objectId, int parameterId, int parameterType) Очистка истории изменения параметра объектаobjectParameterHistoryList(int contractId, int objectId, int parameterId, int parameterType) Получение истории изменения параметра объектаvoidobjectParameterListUpdate(int contractId, EntityAttrList entityAttrList) Обновление спискового параметра объектаvoidobjectParameterTextUpdate(int contractId, EntityAttrText entityAttrText) Обновление текстового параметра объектаobjectParamGet(int parameterId) voidobjectParamUpdate(ObjectParameterGroupAttr contractObjectParam) voidobjectTypeDelete(int typeId) objectTypeGet(int typeId) objectTypeList(boolean onlyVisible) objectTypeParameterList(int objectTypeId) objectTypeTitles(boolean onlyVisible) intobjectTypeUpdate(ObjectType objectType) voidparameterMoving(int objectTypeParameterId, int parameterId, boolean moveToUp) voidupdateLinkParameterWithObjectType(int objectTypeId, int parameterId, boolean add) Привязка или удаление параметра типа объектаvoidupdateListParameterValue(ListValue listValue)  
- 
Method Details
- 
contractObjectList
List<ContractObject> contractObjectList(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
contractObjectTable
SearchResult<ContractObject> contractObjectTable(int contractId, String filterTitle, int filterType, Page page) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
contractObjectGet
ContractObject contractObjectGet(int contractId, int objectId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
contractObjectUpdate
int contractObjectUpdate(int contractId, ContractObject contractObject) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
contractObjectDelete
void contractObjectDelete(int contractId, int objectId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
contractObjectClone
void contractObjectClone(int contractId, int objectId, boolean clonePeriod) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
contractObjectOrder
void contractObjectOrder(int contractId, int objectId, boolean up) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
contractObjectParameters
List<ru.bitel.bgbilling.kernel.contract.object.common.dto.ContractObjectParameterDTO> contractObjectParameters(int contractId, int objectId) throws Exception - Throws:
 Exception
 - 
contractObjectModuleList
List<ru.bitel.bgbilling.kernel.contract.object.common.dto.ContractObjectModuleDTO> contractObjectModuleList(int contractId, int objectId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParameterGet
EntityAttr objectParameterGet(int contractId, int entityId, int entitySpecId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParameterAddressUpdate
void objectParameterAddressUpdate(int contractId, EntityAttrAddress entityAttrAddress) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Обновление параметра адреса для объекта на договоре- Parameters:
 contractId- id договораentityAttrAddress- структурированное представление адреса- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParameterAddressDelete
void objectParameterAddressDelete(int contractId, int objectId, int parameterId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Удаление параметра адреса для объекта на договоре- Parameters:
 objectId- id объектаparameterId- id параметра- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParameterAddressStructGet
AddressStruct objectParameterAddressStructGet(int contractId, int objectId, int parameterId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Получение значения адреса для параметра объекта- Parameters:
 objectId- id объектаparameterId- id параметра объекта- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParameterTextUpdate
void objectParameterTextUpdate(int contractId, EntityAttrText entityAttrText) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Обновление текстового параметра объекта- Parameters:
 objectId- id объектаparameterId- id параметра объектаvalue- новое значение- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParameterFlagUpdate
void objectParameterFlagUpdate(int contractId, EntityAttrBoolean entityAttrBoolean) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Обновление параметра объекта типа флаг- Parameters:
 contractId- id объектаentityAttrBoolean- новое значение (true/false)- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParameterDateUpdate
void objectParameterDateUpdate(int contractId, EntityAttrDate entityAttrDate) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Обновление параметра объекта типа дата- Parameters:
 objectId- id объектаparameterId- id параметра объекта типа датаvalue- новое значение- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParameterListUpdate
void objectParameterListUpdate(int contractId, EntityAttrList entityAttrList) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Обновление спискового параметра объекта- Parameters:
 objectId- id объектаparameterId- id параметра объекта типа списокvalue- новое значение- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParameterHistoryList
List<ParameterHistoryEntry> objectParameterHistoryList(int contractId, int objectId, int parameterId, int parameterType) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Получение истории изменения параметра объекта- Parameters:
 objectId- id объектаparameterId- id параметра объектаparameterType- id типа параметра объекта- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParameterHistoryClear
void objectParameterHistoryClear(int contractId, int objectId, int parameterId, int parameterType) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Очистка истории изменения параметра объекта- Parameters:
 objectId- id объектаparameterId- id параметра объектаparameterType- id типа параметра объекта- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParamSearch
SearchResult<ObjectParameterGroupAttr> objectParamSearch() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParamGet
ObjectParameterGroupAttr objectParamGet(int parameterId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParamUpdate
void objectParamUpdate(ObjectParameterGroupAttr contractObjectParam) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectParamDelete
void objectParamDelete(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectTypeList
List<ObjectType> objectTypeList(boolean onlyVisible) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectTypeTitles
List<IdTitle> objectTypeTitles(boolean onlyVisible) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectTypeUpdate
int objectTypeUpdate(ObjectType objectType) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectTypeGet
ObjectType objectTypeGet(int typeId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectTypeDelete
void objectTypeDelete(int typeId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
objectTypeParameterList
List<ObjectTypeParameter> objectTypeParameterList(int objectTypeId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getAvailableTypeForObjectType
List<IdTitle> getAvailableTypeForObjectType(int objectTypeId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Parameters:
 objectTypeId- ID типа объекта- Returns:
 - список доступных параметров для привязки к типу объекта
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
updateLinkParameterWithObjectType
void updateLinkParameterWithObjectType(int objectTypeId, int parameterId, boolean add) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Привязка или удаление параметра типа объекта- Parameters:
 objectTypeId- ID типа объектаparameterId- ID параметраadd- true - привязать, false - удалить- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
parameterMoving
void parameterMoving(int objectTypeParameterId, int parameterId, boolean moveToUp) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getValuesForListParameter
- Throws:
 Exception
 - 
getListParameters
List<ObjectParameterGroupAttr> getListParameters() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Returns:
 - лист спиского типа параметров
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
updateListParameterValue
- Throws:
 Exception
 - 
deleteListParameterValue
- Throws:
 Exception
 
 -