Interface ContractLabelService
public interface ContractLabelService
- 
Method Summary
Modifier and TypeMethodDescriptionintgetContractCountByLabel(int labelId) getContractLabelIds(int contractId) getContractLabelTreeItemList(int contractId, boolean calcCount) getContractLabelTreeItemListForUser(int userId) Получение только тех меток, которые разрешены для данного пользователяvoidremoveContractLabelTreeItem(int contractLabelItemId) voidsetContractLabelIds(int contractId, List<Integer> contractLabelsIds) voidsetContractLabelTreeItemList(int contractId, List<ContractLabelItem> items) voidsyncLabelAndGroupContract(int contractId) voidintupdateContractLabelTreeItem(ContractLabelItem contractLabelItem) void 
- 
Method Details
- 
getContractLabelTreeItemListForUser
List<ContractLabelItem> getContractLabelTreeItemListForUser(int userId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Получение только тех меток, которые разрешены для данного пользователя- Parameters:
 userId- id пользователя- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getContractLabelTreeItemList
List<ContractLabelItem> getContractLabelTreeItemList(int contractId, boolean calcCount) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getContractLabelIds
List<Integer> getContractLabelIds(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
setContractLabelIds
void setContractLabelIds(int contractId, List<Integer> contractLabelsIds) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
setContractLabelTreeItemList
void setContractLabelTreeItemList(int contractId, List<ContractLabelItem> items) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
updateContractLabelTreeItem
int updateContractLabelTreeItem(ContractLabelItem contractLabelItem) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
updateContractLabelTreeItems
void updateContractLabelTreeItems(List<ContractLabelItem> items) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
removeContractLabelTreeItem
void removeContractLabelTreeItem(int contractLabelItemId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getContractLabelTree
ContractLabelItem getContractLabelTree() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
syncLabelAndGroupDirectory
void syncLabelAndGroupDirectory() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
syncLabelAndGroupContract
void syncLabelAndGroupContract(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getContractCountByLabel
int getContractCountByLabel(int labelId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 
 -