public class FlexibleSearchContainer extends AbstractSearchContainer
AbstractSearchContainer which is used in the search
result pager view.searchResult| Constructor and Description |
|---|
FlexibleSearchContainer(DisplayState displayState,
ComposedType composedType,
SavedQuery savedQuery) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the defined search (if valid) and stores the result.
|
ComposedType |
getComposedType() |
Map |
getParameterValues() |
String |
getQuery() |
SavedQuery |
getSavedQuery()
see PLA-5138
|
String |
getSortQualifier() |
boolean |
isValid()
Returns true, if getComposedType()!=null and getQuery()!=null.
|
protected String |
replaceTypePlaceholder(String query) |
void |
setComposedType(ComposedType composedType) |
void |
setParameterValues(List parameters) |
void |
setSortQualifier(String sortQualifier)
Right now, the SortQualifier is not used during the search.
|
String |
toString()
Returns a string representation of this search.
|
getDisplayState, getItemCount, getItemsPerPage, getRangeStart, getSearchResult, getSortDirection, setItemsPerPage, setRange, setRangeStart, setSortDirectionpublic FlexibleSearchContainer(DisplayState displayState, ComposedType composedType, SavedQuery savedQuery)
public void execute()
throws HMCSystemException
AbstractSearchContainerexecute in class AbstractSearchContainerHMCSystemException - throws a hmc exception if the search could not be executed correctly.public ComposedType getComposedType()
getComposedType in class AbstractSearchContainerpublic void setComposedType(ComposedType composedType)
composedType - the ComposedType the search will be executed on.public String toString()
toString 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.AbstractSearchContainer.setSortQualifier(java.lang.String)public String getSortQualifier()
getSortQualifier in class AbstractSearchContainerAbstractSearchContainer.getSortQualifier()public boolean isValid()
isValid in class AbstractSearchContainerAbstractSearchContainer.isValid()public String getQuery()
public void setParameterValues(List parameters)
public Map getParameterValues()
public SavedQuery getSavedQuery()
Copyright © 2017 SAP SE. All Rights Reserved.