|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of the elements returned.public interface PagedSearch<T>
Interface that defines a search that can be carried on in a paged fashion.
| Method Summary | |
|---|---|
int |
count()
Return the number of available objects to be returned by the search. |
List<T> |
search(int firstIndex,
int maximumResults,
br.com.arsmachina.dao.SortCriterion... sortingConstraints)
Performs the search. |
| Method Detail |
|---|
List<T> search(int firstIndex,
int maximumResults,
br.com.arsmachina.dao.SortCriterion... sortingConstraints)
firstIndex - an int with the index of the first object to be returned.
The first object has index 0.maximumResults - an int with the maximum number of objects to be returned.sortingConstraints - an SortCriterion array used to define how the returned
list will be sorted.
List of T.int count()
int.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||