|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EditionQuery
An interface for a query to find editions using the
EditionService
.
EditionService
Field Summary | |
---|---|
static long |
NO_LIMIT
Sets no limit on results to be returned. |
Method Summary | |
---|---|
EditionQuery |
addSelector(EditionSelector selector)
Adds a EditionSelector to this EditionQuery . |
EditionQuery |
addSelectors(EditionSelector... selectors)
Adds multiple EditionSelector to this
EditionQuery . |
EditionQuery |
addSort(EditionSort sort)
Adds a EditionSort to this EditionQuery . |
void |
clearSorts()
Clean the sort setting for this query. |
long |
getMaximumResults()
Returns the configured maximum number of Editions to be returned. |
java.util.List<EditionSelector> |
getSelectors()
Returns a List that contains all the
EditionSelector in this EditionQuery . |
java.util.List<EditionSort> |
getSorts()
Returns a List of the EditionSort s defined in
this query. |
void |
setMaximumResults(long maxResults)
Set the maximum number of Editions to return in the query |
Field Detail |
---|
static final long NO_LIMIT
Method Detail |
---|
EditionQuery addSelector(EditionSelector selector)
EditionSelector
to this EditionQuery
.
selector
- edition selector to be added
EditionQuery addSelectors(EditionSelector... selectors)
EditionSelector
to this
EditionQuery
.
selectors
- edition selectors to be added
java.util.List<EditionSelector> getSelectors()
List
that contains all the
EditionSelector
in this EditionQuery
.
EditionSelector
EditionQuery addSort(EditionSort sort)
EditionSort
to this EditionQuery
. It is
possible to add multiple EditionSort
in one
EditionQuery
, the result will be sorted by the order in
which the Sorts are added.
sort
- EditionSort to be added
java.util.List<EditionSort> getSorts()
List
of the EditionSort
s defined in
this query.
List/code> of EditionSort
void clearSorts()
void setMaximumResults(long maxResults)
If not explicitly set then the default is NO_LIMIT
maxResults
- maximum number of editions to returnlong getMaximumResults()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |