railo.runtime.search
Class SearchDataImpl

java.lang.Object
  extended by railo.runtime.search.SearchDataImpl
All Implemented Interfaces:
SearchData

public class SearchDataImpl
extends Object
implements SearchData


Constructor Summary
SearchDataImpl(int suggestionMax)
           
SearchDataImpl(Map suggestion, int suggestionMax)
           
 
Method Summary
 int addRecordsSearched(int count)
          increments the searched records
 int getRecordsSearched()
          return the records searched
 Map getSuggestion()
           
 int getSuggestionMax()
           
 String getSuggestionQuery()
           
 void setSuggestionQuery(String suggestionQuery)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchDataImpl

public SearchDataImpl(int suggestionMax)

SearchDataImpl

public SearchDataImpl(Map suggestion,
                      int suggestionMax)
Method Detail

getSuggestion

public Map getSuggestion()
Specified by:
getSuggestion in interface SearchData

getSuggestionMax

public int getSuggestionMax()
Specified by:
getSuggestionMax in interface SearchData

setSuggestionQuery

public void setSuggestionQuery(String suggestionQuery)
Specified by:
setSuggestionQuery in interface SearchData

getSuggestionQuery

public String getSuggestionQuery()
Specified by:
getSuggestionQuery in interface SearchData
Returns:
the suggestionQuery

addRecordsSearched

public int addRecordsSearched(int count)
Description copied from interface: SearchData
increments the searched records

Specified by:
addRecordsSearched in interface SearchData
Parameters:
count - records searched
Returns:
all records searched
See Also:
SearchData.addRecordsSearched(int)

getRecordsSearched

public int getRecordsSearched()
Description copied from interface: SearchData
return the records searched

Specified by:
getRecordsSearched in interface SearchData
See Also:
SearchData.getRecordsSearched()


Copyright © 2012 Railo