public class LuceneSearchContainer extends AbstractSearchContainer
AbstractSearchContainer is used in the search result pager view.searchResult| Constructor and Description |
|---|
LuceneSearchContainer(DisplayState displayState,
LuceneIndex index,
String searchPattern,
List searchGroups) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the defined search (if valid) and stores the result.
|
ComposedType |
getComposedType() |
protected IndexAccessException |
getIndexAccessException() |
LuceneSearchResult |
getLuceneSearchResult() |
String |
getSortQualifier() |
boolean |
isValid() |
void |
setFacets(Set<Facet> facets) |
void |
setSortQualifier(String sortQualifier) |
String |
toString()
A String representation of the defined search.
|
getDisplayState, getItemCount, getItemsPerPage, getRangeStart, getSearchResult, getSortDirection, setItemsPerPage, setRange, setRangeStart, setSortDirectionpublic LuceneSearchContainer(DisplayState displayState, LuceneIndex index, String searchPattern, List searchGroups)
public void execute()
throws HMCSystemException
AbstractSearchContainerexecute in class AbstractSearchContainerHMCSystemException - throws a hmc exception if the search could not be executed correctly.protected IndexAccessException getIndexAccessException()
public ComposedType getComposedType()
getComposedType in class AbstractSearchContainerpublic String getSortQualifier()
getSortQualifier in class AbstractSearchContainerpublic void setSortQualifier(String sortQualifier)
setSortQualifier in class AbstractSearchContainersortQualifier - the qualifer of a attribute, which should be used for sorting the search result.public boolean isValid()
isValid in class AbstractSearchContainerpublic LuceneSearchResult getLuceneSearchResult()
public String toString()
AbstractSearchContainertoString in class AbstractSearchContainerCopyright © 2017 SAP SE. All Rights Reserved.