org.kuali.student.common.ui.client.widgets.suggestbox
Class SearchSuggestOracle

java.lang.Object
  extended by com.google.gwt.user.client.ui.SuggestOracle
      extended by org.kuali.student.common.ui.client.widgets.suggestbox.IdableSuggestOracle
          extended by org.kuali.student.common.ui.client.widgets.suggestbox.SearchSuggestOracle

public class SearchSuggestOracle
extends IdableSuggestOracle


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.student.common.ui.client.widgets.suggestbox.IdableSuggestOracle
IdableSuggestOracle.IdableSuggestion
 
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
 
Constructor Summary
SearchSuggestOracle(LookupMetadata lookupMetadata)
           
SearchSuggestOracle(String searchTypeKey, String searchTextKey, String searchIdKey, String resultIdKey, String resultDisplayKey)
          Deprecated.  
 
Method Summary
 void addSearchCompletedCallback(Callback<IdableSuggestOracle.IdableSuggestion> callback)
           
 void getSuggestionByIdSearch(String id, Callback<IdableSuggestOracle.IdableSuggestion> callback)
           
 IdableSuggestOracle.IdableSuggestion getSuggestionByText(String text)
           
 boolean isDisplayStringHTML()
           
 void requestSuggestions(com.google.gwt.user.client.ui.SuggestOracle.Request request, com.google.gwt.user.client.ui.SuggestOracle.Callback callback)
           
 void sendRequest(com.google.gwt.user.client.ui.SuggestOracle.Request request, com.google.gwt.user.client.ui.SuggestOracle.Callback callback)
           
 void setAdditionalSearchParams(List<SearchParamInfo> params)
           
 void setTextWidget(com.google.gwt.user.client.ui.HasText widget)
           
 
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
 

Constructor Detail

SearchSuggestOracle

public SearchSuggestOracle(String searchTypeKey,
                           String searchTextKey,
                           String searchIdKey,
                           String resultIdKey,
                           String resultDisplayKey)
Deprecated. 

Parameters:
searchTypeKey - the type to be search on
searchTextKey - the column/key that to search on
idKey - the column/key that is the primary key for this type

SearchSuggestOracle

public SearchSuggestOracle(LookupMetadata lookupMetadata)
Method Detail

setAdditionalSearchParams

public void setAdditionalSearchParams(List<SearchParamInfo> 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

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 © 2004-2012 The Kuali Foundation. All Rights Reserved.