com.elasticpath.domain.catalogview.search
Interface SearchResult

All Superinterfaces:
CatalogViewResult, EpDomain, java.io.Serializable, Transient
All Known Implementing Classes:
SearchResultImpl

public interface SearchResult
extends CatalogViewResult

Represents a search result.


Method Summary
 java.util.List getCategoryFilterOptions()
          Returns a list of filter options on category.
 int getResultCount()
          Returns the amount of unfiltered results returned.
 java.util.List getSuggestions()
          Returns a list of alternate query suggestions.
 void setResultCount(int resultCount)
          Sets the amount of unfiltered results returned.
 void setSuggestions(java.util.List suggestions)
          Sets the list of alternate query suggestions.
 
Methods inherited from interface com.elasticpath.domain.catalogview.CatalogViewResult
getBrandFilterOptions, getCatalogViewRequest, getCategory, getFeaturedProducts, getPriceFilterOptions, getProducts, getSortedProducts, replicateData, setCatalogViewRequest, setCategory, setFeaturedProducts, setProducts
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

getCategoryFilterOptions

java.util.List getCategoryFilterOptions()
Returns a list of filter options on category.

Returns:
a list of filter options on category.

getResultCount

int getResultCount()
Returns the amount of unfiltered results returned.

Returns:
the number of unfiltered results

getSuggestions

java.util.List getSuggestions()
Returns a list of alternate query suggestions.

Returns:
the list of suggestions

setResultCount

void setResultCount(int resultCount)
Sets the amount of unfiltered results returned.

Parameters:
resultCount - the number of unfiltered results

setSuggestions

void setSuggestions(java.util.List suggestions)
Sets the list of alternate query suggestions.

Parameters:
suggestions - the list of suggestions