Interface ContractLabelService


public interface ContractLabelService
  • Method Details

    • getContractLabelTreeItemList

      java.util.List<ContractLabelItem> getContractLabelTreeItemList​(int contractId, boolean calcCount) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getContractLabelIds

      java.util.List<java.lang.Integer> getContractLabelIds​(int contractId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • setContractLabelIds

      void setContractLabelIds​(int contractId, java.util.List<java.lang.Integer> contractLabelsIds) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • setContractLabelTreeItemList

      void setContractLabelTreeItemList​(int contractId, java.util.List<ContractLabelItem> items) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • updateContractLabelTreeItem

      int updateContractLabelTreeItem​(ContractLabelItem contractLabelItem) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • updateContractLabelTreeItems

      void updateContractLabelTreeItems​(java.util.List<ContractLabelItem> items) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • removeContractLabelTreeItem

      void removeContractLabelTreeItem​(int contractLabelItemId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getContractLabelTree

      ContractLabelItem getContractLabelTree() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • syncLabelAndGroupDirectory

      void syncLabelAndGroupDirectory() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • syncLabelAndGroupContract

      void syncLabelAndGroupContract​(int contractId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getContractCountByLabel

      int getContractCountByLabel​(int labelId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException