T
- type of objects storedpublic class SocialResourceSearchResult<T>
extends java.util.ArrayList<T>
Constructor and Description |
---|
SocialResourceSearchResult()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
FacetSearchResult |
getFacetSearchResult() |
long |
getNumFound()
The number of search results, if 'requiresTotal' is true or if no limit is provided.
|
void |
setCountResult(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> countResult) |
void |
setFacetSearchResult(FacetSearchResult facetSearchResult) |
void |
setNumFound(long numFound)
set the total number of search hits.
|
void |
setRangeResult(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> rangeResult) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public long getNumFound()
SocialResourceProvider.find(org.apache.sling.api.resource.ResourceResolver, String, String,
java.util.List, int, int, boolean)
public void setNumFound(long numFound)
numFound
- total number of search hitspublic void setFacetSearchResult(FacetSearchResult facetSearchResult)
public FacetSearchResult getFacetSearchResult()
public void setRangeResult(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> rangeResult)
public void setCountResult(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> countResult)
Copyright © 2010 - 2020 Adobe. All Rights Reserved