public class GeographicCodeManager
extends java.lang.Object
Constructor and Description |
---|
GeographicCodeManager(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
void |
deleteAllCodes() |
void |
deleteCode(java.lang.String code) |
java.lang.String |
exportToFile(java.lang.String prefix) |
java.util.List<GeographicCode> |
getGeographicCodeList() |
GeographicCode |
getRootCode() |
GeographicCode |
getRootCode(boolean destinationTitle) |
GeographicCode |
getRootCode(int mapId) |
java.lang.String |
getTableName() |
void |
loadFromFile(java.lang.String data,
boolean addNew,
boolean updateExist) |
void |
updateCode(GeographicCode code) |
void |
updateCode(java.lang.String code,
java.lang.String destTitle) |
public GeographicCodeManager(java.sql.Connection con, int mid)
public java.lang.String getTableName()
public void updateCode(GeographicCode code)
public void updateCode(java.lang.String code, java.lang.String destTitle)
public void deleteCode(java.lang.String code)
public void deleteAllCodes()
public GeographicCode getRootCode(int mapId)
public GeographicCode getRootCode(boolean destinationTitle)
public GeographicCode getRootCode()
public void loadFromFile(java.lang.String data, boolean addNew, boolean updateExist)
public java.lang.String exportToFile(java.lang.String prefix)
public java.util.List<GeographicCode> getGeographicCodeList()