|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResultSet
Result set.
Field Summary | |
---|---|
static String |
ALWAYS_DETACH_SEARCH_RESULTS_KEY
|
Method Summary | |
---|---|
int |
getOffset()
Returns the current offset for this result set. |
int |
getPageHits()
Returns the amount of actual matching results. |
int |
getPageNumber()
Computes the page number among the total set of results. |
int |
getRange()
Returns the amount of results from offset requested. |
int |
getTotalHits()
Returns the total number of hits this resultset comes from. |
ResultSet |
goToPage(int page)
Goes to requested page. |
boolean |
hasNextPage()
Is there another page available? |
boolean |
isFirstPage()
Is this result set the first page of results? |
ResultSet |
nextPage()
Computes the next page by replaying the exact same request. |
ResultSet |
replay()
Replays the exact same query. |
ResultSet |
replay(int offset,
int range)
Replays the same query with new offset and range. |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Field Detail |
---|
static final String ALWAYS_DETACH_SEARCH_RESULTS_KEY
Method Detail |
---|
int getOffset()
int getRange()
int getTotalHits()
int getPageHits()
This is in contrast to getRange() that returns the maximum number of results per page.
ResultSet replay() throws SearchException
SearchException
ResultSet replay(int offset, int range) throws SearchException
offset
- the new offsetrange
- the new range
SearchException
ResultSet nextPage() throws SearchException
SearchException
ResultSet goToPage(int page) throws SearchException
page
- the page to go to
SearchException
boolean hasNextPage()
boolean isFirstPage()
int getPageNumber()
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |