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

Last change on this file since 22272 was 22272, checked in by sjm84, 14 years ago

Initial version of ATLAS as an extension

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