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, toString
public List<DocumentSearchResult> getSearchResults()
DocumentSearchResultsContract
getSearchResults
in interface DocumentSearchResultsContract
public DocumentSearchCriteria getCriteria()
DocumentSearchResultsContract
DocumentSearchResultsContract.isCriteriaModified()
for more information.getCriteria
in interface DocumentSearchResultsContract
public boolean isCriteriaModified()
DocumentSearchResultsContract
isCriteriaModified
in interface DocumentSearchResultsContract
public boolean isOverThreshold()
DocumentSearchResultsContract
isOverThreshold
in interface DocumentSearchResultsContract
public int getNumberOfSecurityFilteredResults()
DocumentSearchResultsContract
getNumberOfSecurityFilteredResults
in interface DocumentSearchResultsContract
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.