public abstract class Exporter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<Integer,List<String>> |
locationTypes |
protected org.apache.commons.dbutils.ResultSetHandler<Project> |
projectHandler |
| Constructor and Description |
|---|
Exporter() |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
createLocationJSON(org.json.JSONObject obj,
Location loc,
Connection con,
HashMap<Integer,org.json.JSONArray> imgsPerLoc) |
protected Project |
getProject(Integer projectID,
Connection con) |
protected void |
retrieveAccessibilities(Integer id,
org.json.JSONObject obj,
Connection con) |
protected void |
retrieveAgeCategories(Integer id,
org.json.JSONObject obj,
Connection con) |
protected void |
retrieveAssets(Integer id,
org.json.JSONObject location,
Connection con) |
protected void |
retrieveCategories(Integer id,
org.json.JSONObject location,
Connection con) |
protected void |
retrieveFacilities(Integer id,
org.json.JSONObject obj,
Connection con) |
protected org.json.JSONArray |
retrieveImages(Integer id,
Connection con,
String imagepath,
ImageDownloader downloader) |
protected void |
retrieveParking(Integer id,
org.json.JSONObject obj,
Connection con) |
protected void |
retrieveYoungestAssetDate(Integer id,
org.json.JSONObject obj,
Connection con) |
protected final org.apache.commons.dbutils.ResultSetHandler<Project> projectHandler
public org.json.JSONObject createLocationJSON(org.json.JSONObject obj,
Location loc,
Connection con,
HashMap<Integer,org.json.JSONArray> imgsPerLoc)
throws SQLException,
NamingException,
IOException
SQLExceptionNamingExceptionIOExceptionprotected Project getProject(Integer projectID, Connection con) throws NamingException, SQLException
NamingExceptionSQLExceptionprotected void retrieveParking(Integer id, org.json.JSONObject obj, Connection con) throws NamingException, SQLException
NamingExceptionSQLExceptionprotected void retrieveFacilities(Integer id, org.json.JSONObject obj, Connection con) throws NamingException, SQLException
NamingExceptionSQLExceptionprotected void retrieveAccessibilities(Integer id, org.json.JSONObject obj, Connection con) throws NamingException, SQLException
NamingExceptionSQLExceptionprotected void retrieveAgeCategories(Integer id, org.json.JSONObject obj, Connection con) throws NamingException, SQLException
NamingExceptionSQLExceptionprotected void retrieveYoungestAssetDate(Integer id, org.json.JSONObject obj, Connection con) throws NamingException, SQLException
NamingExceptionSQLExceptionprotected org.json.JSONArray retrieveImages(Integer id, Connection con, String imagepath, ImageDownloader downloader) throws NamingException, SQLException
NamingExceptionSQLExceptionprotected void retrieveAssets(Integer id, org.json.JSONObject location, Connection con) throws NamingException, SQLException
NamingExceptionSQLExceptionprotected void retrieveCategories(Integer id, org.json.JSONObject location, Connection con) throws NamingException, SQLException
NamingExceptionSQLExceptionCopyright © 2018. All rights reserved.