public class QueryOptions extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static QueryOptions |
ALL_RESULTS |
static int |
UNLIMITED_NUMBER_OF_RESULTS |
| Constructor and Description |
|---|
QueryOptions(Class<? extends PersistentObject> clazz,
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,
Class<? extends PersistentObject> clazz,
String fieldName,
OrderByType orderByType) |
QueryOptions(int fromIndex,
int numberOfResults,
List<OrderByOption> orderByOptions) |
QueryOptions(int fromIndex,
int numberOfResults,
List<OrderByOption> orderByOptions,
List<FilterOption> filters,
SearchFields multipleFilter) |
QueryOptions(List<FilterOption> filters,
SearchFields multipleFilter)
Just for get number of elements on a table
|
QueryOptions(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(Object o) |
List<FilterOption> |
getFilters() |
int |
getFromIndex() |
SearchFields |
getMultipleFilter() |
static QueryOptions |
getNextPage(QueryOptions queryOptions) |
int |
getNumberOfResults() |
List<OrderByOption> |
getOrderByOptions() |
boolean |
hasAFilter() |
int |
hashCode() |
boolean |
hasOrderByOptions() |
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,
List<OrderByOption> orderByOptions)
public QueryOptions(int fromIndex,
int numberOfResults,
List<OrderByOption> orderByOptions,
List<FilterOption> filters,
SearchFields multipleFilter)
public QueryOptions(List<FilterOption> filters, SearchFields multipleFilter)
public QueryOptions(int fromIndex,
int numberOfResults,
Class<? extends PersistentObject> clazz,
String fieldName,
OrderByType orderByType)
@Deprecated public QueryOptions(List<OrderByOption> orderByOptions)
@Deprecated public QueryOptions(Class<? extends PersistentObject> clazz, String fieldName, OrderByType orderByType)
public int getFromIndex()
public int getNumberOfResults()
public List<FilterOption> getFilters()
public SearchFields getMultipleFilter()
public List<OrderByOption> getOrderByOptions()
public boolean hasOrderByOptions()
public static QueryOptions countQueryOptions()
public static QueryOptions getNextPage(QueryOptions queryOptions)
public boolean hasAFilter()
Copyright © 2018 Bonitasoft S.A.. All rights reserved.