public abstract class AbstractSearchContainer extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected SearchResult |
searchResult |
| Constructor and Description |
|---|
AbstractSearchContainer(DisplayState displayState) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute()
Executes the defined search (if valid) and stores the result.
|
abstract ComposedType |
getComposedType() |
protected DisplayState |
getDisplayState() |
int |
getItemCount() |
int |
getItemsPerPage() |
int |
getRangeStart() |
SearchResult |
getSearchResult() |
String |
getSortDirection() |
abstract String |
getSortQualifier() |
abstract boolean |
isValid() |
void |
setItemsPerPage(int itemsPerPage) |
void |
setRange(int rangeStart,
int itemsPerPage)
Sets the range of the searchresult, which should be returned.
|
void |
setRangeStart(int rangeStart) |
void |
setSortDirection(String sortDirection) |
abstract void |
setSortQualifier(String sortQualifier) |
abstract String |
toString()
A String representation of the defined search.
|
protected SearchResult searchResult
public AbstractSearchContainer(DisplayState displayState)
public abstract void execute()
throws HMCSystemException
HMCSystemException - throws a hmc exception if the search could not be executed correctly.public abstract String toString()
public abstract boolean isValid()
public abstract String getSortQualifier()
public abstract void setSortQualifier(String sortQualifier)
sortQualifier - the qualifer of a attribute, which should be used for sorting the search result.public abstract ComposedType getComposedType()
public void setRangeStart(int rangeStart)
rangeStart - the start index of the result range, which should be returned.public void setItemsPerPage(int itemsPerPage)
itemsPerPage - the number of elements of the search range.public void setSortDirection(String sortDirection)
sortDirection - define the sort direction of the search result.public int getItemCount()
public int getItemsPerPage()
public int getRangeStart()
public String getSortDirection()
public SearchResult getSearchResult()
public void setRange(int rangeStart,
int itemsPerPage)
rangeStart - index of the first element of the range.itemsPerPage - number of elements of the range.protected DisplayState getDisplayState()
Copyright © 2017 SAP SE. All Rights Reserved.