Class TariffLabelManager

java.lang.Object
ru.bitel.bgbilling.kernel.tariff.server.bean.TariffLabelManager

public class TariffLabelManager
extends java.lang.Object
  • Field Details

    • TABLE_TARIFF_LABEL

      protected static final java.lang.String TABLE_TARIFF_LABEL
      See Also:
      Constant Field Values
  • Constructor Details

    • TariffLabelManager

      public TariffLabelManager​(java.sql.Connection con)
  • Method Details

    • getTariffLabelItemList

      public java.util.List<TariffLabelItem> getTariffLabelItemList() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getTariffLabelIds

      public java.util.Set<java.lang.Integer> getTariffLabelIds​(int tariffPlanId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getTariffIdsByLabelId

      public java.util.Set<java.lang.Integer> getTariffIdsByLabelId​(int labelId) throws ru.bitel.bgbilling.common.BGException
      Получить коды тарифов имеющих заданную метку
      Parameters:
      labelId - - код метки
      Throws:
      ru.bitel.bgbilling.common.BGException
    • setTariffLabelIds

      public void setTariffLabelIds​(int tariffPlanId, java.util.Set<java.lang.Integer> labelIds) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • updateTariffLabelTreeItem

      public void updateTariffLabelTreeItem​(TariffLabelItem tariffLabelItem) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • removeTariffLabelItem

      public void removeTariffLabelItem​(int tariffLabelItemId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException