Last change
on this file since 23906 was 23906, checked in by sjm84, 13 years ago |
Committing most recent version of ATLAS
|
File size:
947 bytes
|
Line | |
---|
1 | package org.greenstone.client;
|
---|
2 |
|
---|
3 | import java.util.ArrayList;
|
---|
4 | import com.google.gwt.user.client.rpc.RemoteService;
|
---|
5 | import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
---|
6 |
|
---|
7 | @RemoteServiceRelativePath("findPlace")
|
---|
8 | public interface FindPlaceService extends RemoteService
|
---|
9 | {
|
---|
10 | Boolean isGazetteerLoaded();
|
---|
11 | Boolean findPlacesInText(String text, String html);
|
---|
12 | ArrayList<ArrayList<Place>> findPlacesInMultipleTexts(String[] texts);
|
---|
13 | Boolean loadGazetteer();
|
---|
14 | ArrayList<Place> getPlaces(double maxScore, double minScore, long minPopulation, boolean locality, boolean region, boolean country, int numberOfPlacesToGet);
|
---|
15 | Boolean adjustScoringParams(double penalty, double parentBonus, double indirectReferencePercent);
|
---|
16 | String getMarkedUpText();
|
---|
17 | ArrayList<Place> updateGazetteer(int start, int end);
|
---|
18 | Boolean addToDatabase(Place p, float lat, float lng);
|
---|
19 | ArrayList<String> spatialSearch(ArrayList<Float[]> points);
|
---|
20 | Place getPlaceById(long id);
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.