public final class DocumentSearchResults extends AbstractDataTransferObject implements DocumentSearchResultsContract
DocumentSearchResultsContract. Instances of this
class should be constructed using the nested DocumentSearchResults.Builder class.| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentSearchResults.Builder
A builder which can be used to construct
DocumentSearchResults instances. |
| Modifier and Type | Method and Description |
|---|---|
DocumentSearchCriteria |
getCriteria()
Returns the criteria that was used to execute the search.
|
int |
getNumberOfSecurityFilteredResults()
Return the number of results that matched the criteria but are not included on this results instance because they
principal executing the document search did not have permissions to view them.
|
List<DocumentSearchResult> |
getSearchResults()
Returns the unmodifiable list of search results.
|
boolean |
isCriteriaModified()
Returns true if the criteria on this search result was modified from the original criteria submitted by the
executor of the document search.
|
boolean |
isOverThreshold()
Returns true if the results of the search returned more rows then the document search framework is allowed to
return back to the caller of the api.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic List<DocumentSearchResult> getSearchResults()
DocumentSearchResultsContractgetSearchResults in interface DocumentSearchResultsContractpublic DocumentSearchCriteria getCriteria()
DocumentSearchResultsContractDocumentSearchResultsContract.isCriteriaModified() for more information.getCriteria in interface DocumentSearchResultsContractpublic boolean isCriteriaModified()
DocumentSearchResultsContractisCriteriaModified in interface DocumentSearchResultsContractpublic boolean isOverThreshold()
DocumentSearchResultsContractisOverThreshold in interface DocumentSearchResultsContractpublic int getNumberOfSecurityFilteredResults()
DocumentSearchResultsContractgetNumberOfSecurityFilteredResults in interface DocumentSearchResultsContractCopyright © 2005-2015 The Kuali Foundation. All Rights Reserved.