public class PhoneItemListManager
extends java.lang.Object
Constructor and Description |
---|
PhoneItemListManager(int mid,
java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
void |
clearNumbers(int phoneItemId) |
void |
deleteNumber(PhoneItemListNumber number) |
java.util.List<PhoneItemListNumber> |
getActualNumbersForItem(int phoneItemId) |
java.util.List<PhoneItemListNumber> |
getDeletedNumbersForItem(int phoneItemId) |
PhoneItemListMode |
getMode(int phoneItemId) |
java.util.List<PhoneItemListNumber> |
getNumbersForItem(int phoneItemId,
boolean isDeleted) |
java.util.List<PhoneItemListNumber> |
getToDeleteNumbers() |
java.util.List<PhoneItemListMode> |
getToUpdateModes() |
java.util.List<PhoneItemListNumber> |
getToUpdateNumbers() |
void |
updateMode(PhoneItemListMode mode) |
void |
updateNumber(PhoneItemListNumber number) |
public PhoneItemListManager(int mid, java.sql.Connection con)
public void updateMode(PhoneItemListMode mode) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void clearNumbers(int phoneItemId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void updateNumber(PhoneItemListNumber number) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void deleteNumber(PhoneItemListNumber number) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<PhoneItemListNumber> getActualNumbersForItem(int phoneItemId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<PhoneItemListNumber> getDeletedNumbersForItem(int phoneItemId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<PhoneItemListNumber> getNumbersForItem(int phoneItemId, boolean isDeleted) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<PhoneItemListNumber> getToDeleteNumbers() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<PhoneItemListNumber> getToUpdateNumbers() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<PhoneItemListMode> getToUpdateModes() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public PhoneItemListMode getMode(int phoneItemId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException