Revision 153, 1.1 KB
(checked in by anton, 3 years ago)
|
security class added
|
Line | |
---|
1 | package jp.co.orkney.restlet.geo; |
---|
2 | |
---|
3 | import java.sql.ResultSet; |
---|
4 | import java.sql.SQLException; |
---|
5 | |
---|
6 | import jp.co.orkney.restlet.util.Configuration; |
---|
7 | import jp.co.orkney.restlet.util.DatabaseConnection; |
---|
8 | import jp.co.orkney.restlet.util.IOHelper; |
---|
9 | import jp.co.orkney.restlet.util.Log; |
---|
10 | import jp.co.orkney.restlet.util.Point; |
---|
11 | |
---|
12 | import org.antlr.stringtemplate.StringTemplate; |
---|
13 | import org.json.JSONException; |
---|
14 | |
---|
15 | public class GeoAction |
---|
16 | { |
---|
17 | |
---|
18 | protected String result = ""; |
---|
19 | protected DatabaseConnection databaseConnection; |
---|
20 | protected IOHelper ioHelper; |
---|
21 | protected Point point; |
---|
22 | protected Configuration configuration; |
---|
23 | protected Log log; |
---|
24 | |
---|
25 | protected String name; |
---|
26 | |
---|
27 | public GeoAction() |
---|
28 | { |
---|
29 | super(); |
---|
30 | } |
---|
31 | |
---|
32 | public GeoAction(Configuration configuration, DatabaseConnection databaseConnection, IOHelper ioHelper, Log log) |
---|
33 | { |
---|
34 | this.configuration = configuration; |
---|
35 | this.ioHelper = ioHelper; |
---|
36 | this.databaseConnection = databaseConnection; |
---|
37 | this.log = log; |
---|
38 | } |
---|
39 | |
---|
40 | public String getResult() |
---|
41 | { |
---|
42 | return result; |
---|
43 | } |
---|
44 | |
---|
45 | public void start() throws SQLException, JSONException |
---|
46 | { |
---|
47 | |
---|
48 | } |
---|
49 | |
---|
50 | public String getName() |
---|
51 | { |
---|
52 | return name; |
---|
53 | } |
---|
54 | } |
---|