Class SearchResultListImpl
java.lang.Object
de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.search.impl.SearchResultListImpl
- All Implemented Interfaces:
SearchResultList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(SearchResult result) Adds a search result itemvoidclear()Clears search result listprotected intdetermineEndIndex(int startIndex) protected intReturns the result list, taking the paging data into account.voidsetPageableData(PageableData pageableData) Sets paging data that we need for accessing the result listintsize()Returns total number of search resultsvoidsortResultList(String sort)
-
Constructor Details
-
SearchResultListImpl
public SearchResultListImpl()
-
-
Method Details
-
add
Description copied from interface:SearchResultListAdds a search result item- Specified by:
addin interfaceSearchResultList- Parameters:
result- Search result
-
size
public int size()Description copied from interface:SearchResultListReturns total number of search results- Specified by:
sizein interfaceSearchResultList- Returns:
- Total number of search results
-
clear
public void clear()Description copied from interface:SearchResultListClears search result list- Specified by:
clearin interfaceSearchResultList
-
setPageableData
Description copied from interface:SearchResultListSets paging data that we need for accessing the result list- Specified by:
setPageableDatain interfaceSearchResultList
-
sortResultList
-
getSearchResult
Description copied from interface:SearchResultListReturns the result list, taking the paging data into account. In case no paging data is provided, a runtime exception is thrown.- Specified by:
getSearchResultin interfaceSearchResultList- Returns:
- Search result list
-
determineStartIndex
protected int determineStartIndex() -
determineEndIndex
protected int determineEndIndex(int startIndex)
-