source: gs3-extensions/atlas-src/trunk/src/org/greenstone/atlas/client/FindPlaceServiceAsync.java@ 23934

Last change on this file since 23934 was 23934, checked in by sjm84, 13 years ago

Extensive improvements to the ATLAS code

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