|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentSearchResultsContract
Defines the contract for results returned from a document search. A document search returns multiple results, each one representing a document and it's document attributes. The results additional include information about the criteria that was used to execute the search, as well as whether or not it was modified after it was submitted for execution of the document search.
Additionally, results from the document search might be filtered for a particular principal for security purposes. In these cases, the document search results include information on the number of results that were filtered out because the principal executing the search did not have permission to view them.
Method Summary | |
---|---|
DocumentSearchCriteriaContract |
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<? extends DocumentSearchResultContract> |
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. |
Method Detail |
---|
List<? extends DocumentSearchResultContract> getSearchResults()
DocumentSearchCriteriaContract getCriteria()
isCriteriaModified()
for more information.
boolean isCriteriaModified()
boolean isOverThreshold()
int getNumberOfSecurityFilteredResults()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |