public class TariffLabelManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
TABLE_TARIFF_LABEL |
protected static java.lang.String |
TABLE_TARIFF_LABEL_LINK |
Constructor and Description |
---|
TariffLabelManager(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.Integer> |
getTariffIdsByLabelId(int labelId)
Получить коды тарифов имеющих заданную метку
|
java.util.Set<java.lang.Integer> |
getTariffLabelIds(int tariffPlanId) |
java.util.List<TariffLabelItem> |
getTariffLabelItemList() |
void |
removeTariffLabelItem(int tariffLabelItemId) |
void |
setTariffLabelIds(int tariffPlanId,
java.util.Set<java.lang.Integer> labelIds) |
void |
updateTariffLabelTreeItem(TariffLabelItem tariffLabelItem) |
protected static final java.lang.String TABLE_TARIFF_LABEL
protected static final java.lang.String TABLE_TARIFF_LABEL_LINK
public java.util.List<TariffLabelItem> getTariffLabelItemList() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.Set<java.lang.Integer> getTariffLabelIds(int tariffPlanId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.Set<java.lang.Integer> getTariffIdsByLabelId(int labelId) throws ru.bitel.bgbilling.common.BGException
labelId
- - код меткиru.bitel.bgbilling.common.BGException
public void setTariffLabelIds(int tariffPlanId, java.util.Set<java.lang.Integer> labelIds) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void updateTariffLabelTreeItem(TariffLabelItem tariffLabelItem) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void removeTariffLabelItem(int tariffLabelItemId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException