Class QueryOptions
java.lang.Object
org.bonitasoft.engine.persistence.QueryOptions
- All Implemented Interfaces:
Serializable
- Author:
- Charles Souillard, Matthieu Chaffotte, Elias Ricken de Medeiros
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QueryOptionsstatic final QueryOptionsstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionQueryOptions(int fromIndex, int numberOfResults) Just for get number of elements on a table, or if the request is already orderedQueryOptions(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(Class<? extends PersistentObject> clazz, String fieldName, OrderByType orderByType) Deprecated.QueryOptions(List<FilterOption> filters, SearchFields multipleFilter) Just for get number of elements on a tableQueryOptions(List<OrderByOption> orderByOptions) Deprecated.QueryOptions(QueryOptions queryOptions) -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryOptionsJust for get number of elements on a tablebooleanintstatic QueryOptionsgetNextPage(QueryOptions queryOptions) intbooleaninthashCode()booleantoString()
-
Field Details
-
UNLIMITED_NUMBER_OF_RESULTS
public static final int UNLIMITED_NUMBER_OF_RESULTS- See Also:
-
ALL_RESULTS
-
ONE_RESULT
-
-
Constructor Details
-
QueryOptions
-
QueryOptions
public QueryOptions(int fromIndex, int numberOfResults) Just for get number of elements on a table, or if the request is already ordered -
QueryOptions
-
QueryOptions
public QueryOptions(int fromIndex, int numberOfResults, List<OrderByOption> orderByOptions, List<FilterOption> filters, SearchFields multipleFilter) -
QueryOptions
Just for get number of elements on a table -
QueryOptions
public QueryOptions(int fromIndex, int numberOfResults, Class<? extends PersistentObject> clazz, String fieldName, OrderByType orderByType) -
QueryOptions
Deprecated. -
QueryOptions
@Deprecated public QueryOptions(Class<? extends PersistentObject> clazz, String fieldName, OrderByType orderByType) Deprecated.
-
-
Method Details
-
getFromIndex
public int getFromIndex() -
getNumberOfResults
public int getNumberOfResults() -
getFilters
-
getMultipleFilter
-
getOrderByOptions
-
hasOrderByOptions
public boolean hasOrderByOptions() -
countQueryOptions
Just for get number of elements on a table -
getNextPage
-
toString
-
hasAFilter
public boolean hasAFilter() -
equals
-
hashCode
public int hashCode()
-