Class GeographicCodeManager
java.lang.Object
ru.bitel.bgbilling.kernel.base.phone.server.bean.GeographicCodeManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getTree()
getTree
(boolean destinationTitle) org.json.JSONArray
void
importFromFile
(String data, String prfx, boolean addNew, boolean updateExist) void
importFromFile
(String data, String prfx, boolean addNew, boolean updateExist, boolean compact) list()
parsePrefixes
(String string, boolean withRanges) void
update
(GeographicCode code)
-
Constructor Details
-
GeographicCodeManager
-
-
Method Details
-
list
- Throws:
ru.bitel.bgbilling.common.BGException
-
getTree
public GeographicCode getTree(boolean destinationTitle) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getTreeJson
public org.json.JSONArray getTreeJson() throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
getTree
- Throws:
ru.bitel.bgbilling.common.BGException
-
update
- Throws:
ru.bitel.bgbilling.common.BGException
-
delete
- Throws:
ru.bitel.bgbilling.common.BGException
-
importFromFile
public void importFromFile(String data, String prfx, boolean addNew, boolean updateExist) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
importFromFile
public void importFromFile(String data, String prfx, boolean addNew, boolean updateExist, boolean compact) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
parsePrefixes
public static List<String> parsePrefixes(String string, boolean withRanges) throws ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGMessageException
-