public interface FacetSearchContext
| Modifier and Type | Interface and Description |
|---|---|
static class |
FacetSearchContext.Status |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Returns a
Map instance that can be used to store attributes. |
java.util.List<IndexedTypeSort> |
getAvailableNamedSorts()
Return list of available named sorts.
|
FacetSearchConfig |
getFacetSearchConfig()
Returns the facet search configuration.
|
java.util.List<java.lang.Exception> |
getFailureExceptions()
Returns all failure causing exceptions for this
FacetSearchContext. |
IndexedType |
getIndexedType()
Returns the indexed type.
|
IndexedTypeSort |
getNamedSort()
Return current named sort.
|
java.util.Collection<CatalogVersionModel> |
getParentSessionCatalogVersions()
Returns the parent session catalog versions (the catalog versions that are in the session when this context is
created).
|
java.util.Map<java.lang.String,java.lang.String> |
getSearchHints()
Returns a mutable
Map that can be used to store search hints. |
SearchQuery |
getSearchQuery()
Returns the search query.
|
SearchResult |
getSearchResult()
Returns the search result.
|
FacetSearchContext.Status |
getStatus()
Returns the current status for this
FacetSearchContext |
void |
setNamedSort(IndexedTypeSort namedSort)
Sets current named sort
IndexedTypeSort. |
void |
setSearchResult(SearchResult searchResult)
Sets the search result.
|
FacetSearchConfig getFacetSearchConfig()
IndexedType getIndexedType()
SearchQuery getSearchQuery()
SearchResult getSearchResult()
void setSearchResult(SearchResult searchResult)
java.util.Collection<CatalogVersionModel> getParentSessionCatalogVersions()
java.util.Map<java.lang.String,java.lang.String> getSearchHints()
Map that can be used to store search hints.FacetSearchContext.Status getStatus()
FacetSearchContextjava.util.List<java.lang.Exception> getFailureExceptions()
FacetSearchContext.java.util.Map<java.lang.String,java.lang.Object> getAttributes()
Map instance that can be used to store attributes. The attributes are only valid for the duration
of the search process.java.util.List<IndexedTypeSort> getAvailableNamedSorts()
IndexedTypeSortIndexedTypeSort getNamedSort()
IndexedTypeSortvoid setNamedSort(IndexedTypeSort namedSort)
IndexedTypeSort.Copyright © 2018 SAP SE. All Rights Reserved.