public class QueryOptions
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static QueryOptions |
ALL_RESULTS |
static int |
UNLIMITED_NUMBER_OF_RESULTS |
| Constructor and Description |
|---|
QueryOptions(java.lang.Class<? extends PersistentObject> clazz,
java.lang.String fieldName,
OrderByType orderByType)
Deprecated.
|
QueryOptions(int fromIndex,
int numberOfResults)
Just for get number of elements on a table, or if the request is already ordered
|
QueryOptions(int fromIndex,
int numberOfResults,
java.lang.Class<? extends PersistentObject> clazz,
java.lang.String fieldName,
OrderByType orderByType) |
QueryOptions(int fromIndex,
int numberOfResults,
java.util.List<OrderByOption> orderByOptions) |
QueryOptions(int fromIndex,
int numberOfResults,
java.util.List<OrderByOption> orderByOptions,
java.util.List<FilterOption> filters,
SearchFields multipleFilter) |
QueryOptions(java.util.List<FilterOption> filters,
SearchFields multipleFilter)
Just for get number of elements on a table
|
QueryOptions(java.util.List<OrderByOption> orderByOptions)
Deprecated.
|
QueryOptions(QueryOptions queryOptions) |
| Modifier and Type | Method and Description |
|---|---|
static QueryOptions |
countQueryOptions()
Just for get number of elements on a table
|
boolean |
equals(java.lang.Object o) |
java.util.List<FilterOption> |
getFilters() |
int |
getFromIndex() |
SearchFields |
getMultipleFilter() |
static QueryOptions |
getNextPage(QueryOptions queryOptions) |
int |
getNumberOfResults() |
java.util.List<OrderByOption> |
getOrderByOptions() |
boolean |
hasAFilter() |
int |
hashCode() |
boolean |
hasOrderByOptions() |
java.lang.String |
toString() |
public static final int UNLIMITED_NUMBER_OF_RESULTS
public static final QueryOptions ALL_RESULTS
public QueryOptions(QueryOptions queryOptions)
public QueryOptions(int fromIndex,
int numberOfResults)
public QueryOptions(int fromIndex,
int numberOfResults,
java.util.List<OrderByOption> orderByOptions)
public QueryOptions(int fromIndex,
int numberOfResults,
java.util.List<OrderByOption> orderByOptions,
java.util.List<FilterOption> filters,
SearchFields multipleFilter)
public QueryOptions(java.util.List<FilterOption> filters, SearchFields multipleFilter)
public QueryOptions(int fromIndex,
int numberOfResults,
java.lang.Class<? extends PersistentObject> clazz,
java.lang.String fieldName,
OrderByType orderByType)
@Deprecated public QueryOptions(java.util.List<OrderByOption> orderByOptions)
@Deprecated public QueryOptions(java.lang.Class<? extends PersistentObject> clazz, java.lang.String fieldName, OrderByType orderByType)
public int getFromIndex()
public int getNumberOfResults()
public java.util.List<FilterOption> getFilters()
public SearchFields getMultipleFilter()
public java.util.List<OrderByOption> getOrderByOptions()
public boolean hasOrderByOptions()
public static QueryOptions countQueryOptions()
public static QueryOptions getNextPage(QueryOptions queryOptions)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean hasAFilter()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object