public class ContractLabelManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
TABLE_CONTRACT_LABEL |
protected static java.lang.String |
TABLE_CONTRACT_LABEL_LINK |
Constructor and Description |
---|
ContractLabelManager(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
protected void |
addChild(int up,
ContractLabelItem rootItem,
java.util.List<ContractLabelItem> list) |
java.util.Set<java.lang.Integer> |
getContractLabelIds(int contractPlanId) |
java.util.List<ContractLabelItem> |
getContractLabelItemList(boolean calcCount) |
ContractLabelItem |
getTree() |
void |
removeContractLabelItem(int contractLabelItemId) |
void |
setContractLabelIds(int contractId,
java.util.Set<java.lang.Integer> labelIds) |
void |
updateContractLabelTreeItem(ContractLabelItem contractLabelItem) |
protected static final java.lang.String TABLE_CONTRACT_LABEL
protected static final java.lang.String TABLE_CONTRACT_LABEL_LINK
public java.util.List<ContractLabelItem> getContractLabelItemList(boolean calcCount) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.Set<java.lang.Integer> getContractLabelIds(int contractPlanId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void setContractLabelIds(int contractId, java.util.Set<java.lang.Integer> labelIds) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void updateContractLabelTreeItem(ContractLabelItem contractLabelItem) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void removeContractLabelItem(int contractLabelItemId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public ContractLabelItem getTree() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected void addChild(int up, ContractLabelItem rootItem, java.util.List<ContractLabelItem> list)