source: gs3-extensions/atlas-src/trunk/src/org/greenstone/atlas/client/FindPlaceService.java@ 23906

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 
1package org.greenstone.client;
2
3import java.util.ArrayList;
4import com.google.gwt.user.client.rpc.RemoteService;
5import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
6
7@RemoteServiceRelativePath("findPlace")
8public 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.