Interface ContractLabelService
public interface ContractLabelService
-
Method Summary
Modifier and TypeMethodDescriptionint
getContractCountByLabel
(int labelId) getContractLabelIds
(int contractId) getContractLabelTreeItemList
(int contractId, boolean calcCount) void
removeContractLabelTreeItem
(int contractLabelItemId) void
setContractLabelIds
(int contractId, List<Integer> contractLabelsIds) void
setContractLabelTreeItemList
(int contractId, List<ContractLabelItem> items) void
syncLabelAndGroupContract
(int contractId) void
int
updateContractLabelTreeItem
(ContractLabelItem contractLabelItem) void
-
Method Details
-
getContractLabelTreeItemList
List<ContractLabelItem> getContractLabelTreeItemList(int contractId, boolean calcCount) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.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.BGException
ru.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.BGException
ru.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.BGException
ru.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.BGException
ru.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.BGException
ru.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.BGException
ru.bitel.bgbilling.common.BGMessageException
-
getContractLabelTree
ContractLabelItem getContractLabelTree() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
syncLabelAndGroupDirectory
void syncLabelAndGroupDirectory() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
ru.bitel.bgbilling.common.BGException
ru.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.BGException
ru.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.BGException
ru.bitel.bgbilling.common.BGMessageException
-