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
Получение только тех меток, которые разрешены для данного пользователя- Parameters:
userId- id пользователя- Returns:
- Throws:
BGExceptionBGMessageExceptionException
-
getContractLabelTreeItemList
List<ContractLabelItem> getContractLabelTreeItemList(int contractId, boolean calcCount) throws Exception - Throws:
Exception
-
getContractLabelIds
- Throws:
Exception
-
setContractLabelIds
- Throws:
Exception
-
setContractLabelTreeItemList
- Throws:
Exception
-
updateContractLabelTreeItem
- Throws:
Exception
-
updateContractLabelTreeItems
- Throws:
Exception
-
removeContractLabelTreeItem
- Throws:
Exception
-
getContractLabelTree
- Throws:
Exception
-
syncLabelAndGroupDirectory
- Throws:
Exception
-
syncLabelAndGroupContract
- Throws:
Exception
-
getContractCountByLabel
- Throws:
Exception
-