| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.endeca.infront.cartridge.model.Action
com.endeca.infront.cartridge.model.NavigationAction
com.endeca.infront.cartridge.model.SuggestedSearch
public class SuggestedSearch
SuggestedSearch is the model for a view of suggested search terms a.k.a, "did you mean?".
| Constructor Summary | |
|---|---|
| SuggestedSearch()Default constructor. | |
| SuggestedSearch(String navigationState,
                String label,
                boolean autoPhrased,
                boolean spellCorrected)Constructs a suggested search with the given navigation state, label, auto phrase and spell correction. | |
| SuggestedSearch(String navigationState,
                String label,
                boolean autoPhrased,
                boolean spellCorrected,
                long count)Constructs a suggested search with the given navigation state, label, auto phrase, spell correction and count. | |
| Method Summary | |
|---|---|
|  Long | getCount()Gets the number of records that will be returned if this suggested search is applied. | 
|  boolean | isAutoPhrased() | 
|  boolean | isSpellCorrected() | 
|  void | setAutoPhrased(boolean autoPhrased)Sets the auto-phrased flag. | 
|  void | setCount(Long count)Sets the number of records that will be returned if this suggested search is applied. | 
|  void | setSpellCorrected(boolean spellCorrected)Sets the spell correction flag. | 
| Methods inherited from class com.endeca.infront.cartridge.model.NavigationAction | 
|---|
| getNavigationState, setNavigationState | 
| Methods inherited from class com.endeca.infront.cartridge.model.Action | 
|---|
| getContentPath, getLabel, getSiteRootPath, setContentPath, setLabel, setSiteRootPath | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SuggestedSearch()
public SuggestedSearch(String navigationState,
                       String label,
                       boolean autoPhrased,
                       boolean spellCorrected,
                       long count)
navigationState - a navigation statelabel - the label for the navigation actionautoPhrased - true if the term was adjusted to a phrasespellCorrected - true if the term was spell correctedcount - the number of records that will be returned if this suggested search is applied
public SuggestedSearch(String navigationState,
                       String label,
                       boolean autoPhrased,
                       boolean spellCorrected)
navigationState - a navigation statelabel - the label for the navigation actionautoPhrased - true if the term was adjusted to a phrasespellCorrected - true if the term was spell corrected| Method Detail | 
|---|
public boolean isSpellCorrected()
public void setSpellCorrected(boolean spellCorrected)
spellCorrected - true if the terms were spell correctedpublic boolean isAutoPhrased()
public void setAutoPhrased(boolean autoPhrased)
autoPhrased - true if the terms were auto-phrasedpublic Long getCount()
MdexResource).
public void setCount(Long count)
count - the refinement count| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||