org.kuali.student.common.ui.client.widgets.suggestbox
Class SearchSuggestOracle
java.lang.Object
com.google.gwt.user.client.ui.SuggestOracle
org.kuali.student.common.ui.client.widgets.suggestbox.IdableSuggestOracle
org.kuali.student.common.ui.client.widgets.suggestbox.SearchSuggestOracle
public class SearchSuggestOracle
- extends IdableSuggestOracle
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.SuggestOracle |
com.google.gwt.user.client.ui.SuggestOracle.Callback, com.google.gwt.user.client.ui.SuggestOracle.Request, com.google.gwt.user.client.ui.SuggestOracle.Response, com.google.gwt.user.client.ui.SuggestOracle.Suggestion |
Methods inherited from class com.google.gwt.user.client.ui.SuggestOracle |
requestDefaultSuggestions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
searchTypeKey
private String searchTypeKey
searchIdKey
private String searchIdKey
searchTextKey
private String searchTextKey
resultIdKey
private String resultIdKey
currentCallback
private com.google.gwt.user.client.ui.SuggestOracle.Callback currentCallback
pendingRequest
private com.google.gwt.user.client.ui.SuggestOracle.Request pendingRequest
pendingCallback
private com.google.gwt.user.client.ui.SuggestOracle.Callback pendingCallback
textWidget
private com.google.gwt.user.client.ui.HasText textWidget
resultDisplayKey
private String resultDisplayKey
resultSortKey
private String resultSortKey
additionalParams
private List<SearchParam> additionalParams
lastSuggestions
private List<IdableSuggestOracle.IdableSuggestion> lastSuggestions
lookupMetaData
private LookupMetadata lookupMetaData
cachingSearchService
private CachingSearchService cachingSearchService
searchService
private SearchRpcServiceAsync searchService
searchCompletedCallbacks
private List<Callback<IdableSuggestOracle.IdableSuggestion>> searchCompletedCallbacks
loading
private LoadingDiv loading
wrappedCallback
private com.google.gwt.user.client.ui.SuggestOracle.Callback wrappedCallback
SearchSuggestOracle
public SearchSuggestOracle(String searchTypeKey,
String searchTextKey,
String searchIdKey,
String resultIdKey,
String resultDisplayKey)
- Deprecated.
- Parameters:
searchTypeKey
- the type to be search onsearchTextKey
- the column/key that to search onidKey
- the column/key that is the primary key for this type
SearchSuggestOracle
public SearchSuggestOracle(LookupMetadata lookupMetadata)
setAdditionalSearchParams
public void setAdditionalSearchParams(List<SearchParam> params)
requestSuggestions
public void requestSuggestions(com.google.gwt.user.client.ui.SuggestOracle.Request request,
com.google.gwt.user.client.ui.SuggestOracle.Callback callback)
- Specified by:
requestSuggestions
in class com.google.gwt.user.client.ui.SuggestOracle
buildSearchRequest
private SearchRequest buildSearchRequest(String query,
String searchId)
buildSearchRequestById
private SearchRequest buildSearchRequestById(String query,
String searchId)
createParam
private SearchParam createParam(String key,
String value)
sendRequest
public void sendRequest(com.google.gwt.user.client.ui.SuggestOracle.Request request,
com.google.gwt.user.client.ui.SuggestOracle.Callback callback)
isDisplayStringHTML
public boolean isDisplayStringHTML()
- Overrides:
isDisplayStringHTML
in class com.google.gwt.user.client.ui.SuggestOracle
getSuggestionByText
public IdableSuggestOracle.IdableSuggestion getSuggestionByText(String text)
- Specified by:
getSuggestionByText
in class IdableSuggestOracle
setTextWidget
public void setTextWidget(com.google.gwt.user.client.ui.HasText widget)
getSuggestionByIdSearch
public void getSuggestionByIdSearch(String id,
Callback<IdableSuggestOracle.IdableSuggestion> callback)
- Specified by:
getSuggestionByIdSearch
in class IdableSuggestOracle
addSearchCompletedCallback
public void addSearchCompletedCallback(Callback<IdableSuggestOracle.IdableSuggestion> callback)
- Specified by:
addSearchCompletedCallback
in class IdableSuggestOracle
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.