source: gs3-extensions/atlas-src/trunk/src/org/greenstone/client/FindPlaceServiceAsync.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: 1.2 KB
Line 
1package org.greenstone.client;
2
3import java.util.ArrayList;
4
5import com.google.gwt.dom.client.Element;
6import com.google.gwt.maps.client.geom.LatLng;
7import com.google.gwt.user.client.rpc.AsyncCallback;
8
9public interface FindPlaceServiceAsync
10{
11 void getMarkedUpText(AsyncCallback<String> callback);
12 void isGazetteerLoaded(AsyncCallback<Boolean> callback);
13 void findPlacesInText(String text, String html, AsyncCallback<Boolean> callback);
14 void loadGazetteer(AsyncCallback<Boolean> callback);
15 void getPlaces(double maxScore, double minScore, long minPopulation, boolean locality, boolean region, boolean country, int numberOfPlacesToGet, AsyncCallback<ArrayList<Place>> callback);
16 void adjustScoringParams(double penalty, double parentBonus, double indirectReferencePercent, AsyncCallback<Boolean> callback);
17 void findPlacesInMultipleTexts(ArrayList<String> texts, AsyncCallback<ArrayList<ArrayList<Place>>> callback);
18 void updateGazetteer(int start, int end, AsyncCallback<ArrayList<Place>> callback);
19 void addToDatabase(Place p, float lat, float lng, AsyncCallback<Boolean> callback);
20 void spatialSearch(ArrayList<Float[]> points, AsyncCallback<ArrayList<String>> callback);
21 void getPlaceById(long id, AsyncCallback<Place> callback);
22}
Note: See TracBrowser for help on using the repository browser.