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.BGExceptionpublic java.util.Set<java.lang.Integer> getContractLabelIds(int contractPlanId)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void setContractLabelIds(int contractId,
java.util.Set<java.lang.Integer> labelIds)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void updateContractLabelTreeItem(ContractLabelItem contractLabelItem) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void removeContractLabelItem(int contractLabelItemId)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic ContractLabelItem getTree() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionprotected void addChild(int up,
ContractLabelItem rootItem,
java.util.List<ContractLabelItem> list)