1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 package org.utgenome.gwt.utgb.client;
26
27 import java.util.List;
28
29 import org.utgenome.gwt.utgb.client.bean.DatabaseEntry;
30 import org.utgenome.gwt.utgb.client.bio.ChrLoc;
31 import org.utgenome.gwt.utgb.client.bio.ChrRange;
32 import org.utgenome.gwt.utgb.client.bio.CompactWIGData;
33 import org.utgenome.gwt.utgb.client.bio.GenomeDB;
34 import org.utgenome.gwt.utgb.client.bio.KeywordSearchResult;
35 import org.utgenome.gwt.utgb.client.bio.OnGenome;
36 import org.utgenome.gwt.utgb.client.bio.ReadQueryConfig;
37 import org.utgenome.gwt.utgb.client.bio.SAMRead;
38 import org.utgenome.gwt.utgb.client.bio.WigGraphData;
39 import org.utgenome.gwt.utgb.client.track.bean.TrackBean;
40 import org.utgenome.gwt.utgb.client.view.TrackView;
41
42 import com.google.gwt.user.client.rpc.AsyncCallback;
43 import com.google.gwt.user.client.rpc.RemoteService;
44
45 public interface BrowserServiceAsync extends RemoteService {
46
47 public void createTrackView(String silk, AsyncCallback<TrackView> callback);
48
49 public void getTrackView(String viewName, AsyncCallback<TrackView> callback);
50
51 public void getHTTPContent(String url, AsyncCallback<String> callback);
52
53 public void getDatabaseCatalog(String jdbcAddress, AsyncCallback<String> callback);
54
55 public void getTableData(String jdbcAddress, String tableName, AsyncCallback<String> callback);
56
57 public void getTrackList(int entriesPerPage, int page, AsyncCallback<List<TrackBean>> callback);
58
59 public void numHitsOfTracks(String prefix, AsyncCallback<Integer> callback);
60
61 public void getTrackList(String prefix, int entriesPerPage, int page, AsyncCallback<List<TrackBean>> callback);
62
63 public void keywordSearch(String species, String revision, String keyword, int entriesPerPage, int page, AsyncCallback<KeywordSearchResult> callback);
64
65 public void getChrRegion(String species, String revision, AsyncCallback<ChrRange> callback);
66
67 public void getChildDBGroups(String parentDBGroup, AsyncCallback<List<String>> callback);
68
69 public void getDBNames(String dbGroup, AsyncCallback<List<String>> callback);
70
71 public void getDBEntry(String dbGroup, AsyncCallback<List<DatabaseEntry>> callback);
72
73 public void getWigDataList(String fileName, int windowWidth, ChrLoc location, AsyncCallback<List<WigGraphData>> callback);
74
75 public void getCompactWigDataList(String fileName, int windowWidth, ChrLoc location, AsyncCallback<List<CompactWIGData>> callback);
76
77 public void getSAMReadList(String readFileName, String refSeqFileName, AsyncCallback<List<SAMRead>> callback);
78
79 public void querySAMReadList(String bamFileName, String indexFileName, String refSeqFileName, String rname, int start, int end,
80 AsyncCallback<List<SAMRead>> callback);
81
82 public void getRefSeq(String refSeqFileName, String rname, int start, int end, AsyncCallback<String> callback);
83
84 public void getOnGenomeData(GenomeDB db, ChrLoc range, ReadQueryConfig config, AsyncCallback<List<OnGenome>> callback);
85
86 }