1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.common.ui.client.service; |
17 | |
|
18 | |
import java.util.List; |
19 | |
|
20 | |
import org.kuali.student.core.dictionary.old.dto.ObjectStructure; |
21 | |
import org.kuali.student.core.search.dto.SearchCriteriaTypeInfo; |
22 | |
import org.kuali.student.core.search.dto.SearchRequest; |
23 | |
import org.kuali.student.core.search.dto.SearchResult; |
24 | |
import org.kuali.student.core.search.dto.SearchResultTypeInfo; |
25 | |
import org.kuali.student.core.search.dto.SearchTypeInfo; |
26 | |
|
27 | |
import com.google.gwt.user.client.rpc.AsyncCallback; |
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
public interface BaseRpcServiceAsync { |
36 | |
|
37 | |
public void getObjectTypes(AsyncCallback<List<String>> callback); |
38 | |
|
39 | |
public void getObjectStructure(String objectTypeKey, AsyncCallback<ObjectStructure> callback); |
40 | |
|
41 | |
void getSearchCriteriaType(String searchCriteriaTypeKey, AsyncCallback<SearchCriteriaTypeInfo> callback); |
42 | |
|
43 | |
void getSearchCriteriaTypes(AsyncCallback<List<SearchCriteriaTypeInfo>> callback); |
44 | |
|
45 | |
void getSearchResultType(String searchResultTypeKey, AsyncCallback<SearchResultTypeInfo> callback); |
46 | |
|
47 | |
void getSearchResultTypes(AsyncCallback<List<SearchResultTypeInfo>> callback); |
48 | |
|
49 | |
void getSearchType(String searchTypeKey, AsyncCallback<SearchTypeInfo> callback); |
50 | |
|
51 | |
void getSearchTypes(AsyncCallback<List<SearchTypeInfo>> callback); |
52 | |
|
53 | |
void getSearchTypesByCriteria(String searchCriteriaTypeKey, AsyncCallback<List<SearchTypeInfo>> callback); |
54 | |
|
55 | |
void getSearchTypesByResult(String searchResultTypeKey, AsyncCallback<List<SearchTypeInfo>> callback); |
56 | |
|
57 | |
public void search(SearchRequest searchRequest, AsyncCallback<SearchResult> callback); |
58 | |
} |