|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AdvancedResult
The result of a jcr query. You can access to the actual result items using getItems(). This bean will also give you information about the total number of available items, the current page number, the total number of pages.
| Nested Class Summary | |
|---|---|
static class |
AdvancedResult.EmptyResult
|
static class |
AdvancedResult.EmptyResultIterator
|
| Field Summary | |
|---|---|
static AdvancedResult |
EMPTY_RESULT
An empty result. |
| Method Summary | ||
|---|---|---|
AdvancedResultItem |
getFirstResult()
Returns the fist result if available, null otherwise. |
|
ResultIterator<AdvancedResultItem> |
getItems()
Gets an iterator over the results |
|
|
getItems(Class<K> theclass)
Gets an iterator over the results, transforming objects using content2bean while iterating |
|
int |
getItemsPerPage()
Gets the maximum number of results per page |
|
int |
getNumberOfPages()
Gets the total number of pages |
|
int |
getPage()
Gets the page number (1, 2, 3...) |
|
String |
getSpellCheckerSuggestion()
Gets the suggestion from the spell checker. |
|
int |
getTotalSize()
Gets the total number of results that would be retrieved without pagination. |
|
| Field Detail |
|---|
static final AdvancedResult EMPTY_RESULT
| Method Detail |
|---|
int getItemsPerPage()
int getPage()
int getTotalSize()
int getNumberOfPages()
String getSpellCheckerSuggestion()
ResultIterator<AdvancedResultItem> getItems()
<K> ResultIterator<K> getItems(Class<K> theclass)
K - destination class.theclass - destination class.
AdvancedResultItem getFirstResult()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||