Package io.ebeaninternal.server.el
Class ElFilter<T>
- java.lang.Object
-
- io.ebeaninternal.server.el.ElFilter<T>
-
-
Constructor Summary
Constructors Constructor Description ElFilter(BeanDescriptor<T> beanDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Filter<T>
between(String propertyName, Object min, Object max)
Between - property between the two given values.Filter<T>
contains(String propertyName, String value)
Contains - property contains the string "value".Filter<T>
endsWith(String propertyName, String value)
Ends With.Filter<T>
eq(String propertyName, Object value)
Equal To - property equal to the given value.List<T>
filter(List<T> list)
Apply the filter to the list returning a new list of the matching elements in the sorted order.Filter<T>
ge(String propertyName, Object value)
Greater Than or Equal to - property greater than or equal to the given value.Filter<T>
gt(String propertyName, Object value)
Greater Than - property greater than the given value.Filter<T>
icontains(String propertyName, String value)
Case insensitive Contains.Filter<T>
iendsWith(String propertyName, String value)
Case insensitive Ends With.Filter<T>
ieq(String propertyName, String value)
Case Insensitive Equal To.Filter<T>
in(String propertyName, Set<?> matchingValues)
In - property has a value contained in the set of values.Filter<T>
isNotNull(String propertyName)
Is Not Null - property is not null.Filter<T>
isNull(String propertyName)
Is Null - property is null.Filter<T>
istartsWith(String propertyName, String value)
Case insensitive Starts With.Filter<T>
le(String propertyName, Object value)
Less Than or Equal to - property less than or equal to the given value.Filter<T>
lt(String propertyName, Object value)
Less Than - property less than the given value.Filter<T>
maxRows(int maxRows)
Specify the maximum number of rows/elements to return.Filter<T>
ne(String propertyName, Object value)
Not Equal To - property not equal to the given value.Filter<T>
regex(String propertyName, String regEx)
Filter<T>
regex(String propertyName, String regEx, int options)
Filter<T>
sort(String sortByClause)
Specify a sortByClause.Filter<T>
startsWith(String propertyName, String value)
Starts With.
-
-
-
Constructor Detail
-
ElFilter
public ElFilter(BeanDescriptor<T> beanDescriptor)
-
-
Method Detail
-
sort
public Filter<T> sort(String sortByClause)
Description copied from interface:Filter
Specify a sortByClause.The sort (if specified) will always execute first followed by the filter expressions.
Refer to
DB.sort(List, String)
for more detail.
-
in
public Filter<T> in(String propertyName, Set<?> matchingValues)
Description copied from interface:Filter
In - property has a value contained in the set of values.
-
eq
public Filter<T> eq(String propertyName, Object value)
Description copied from interface:Filter
Equal To - property equal to the given value.
-
ne
public Filter<T> ne(String propertyName, Object value)
Description copied from interface:Filter
Not Equal To - property not equal to the given value.
-
between
public Filter<T> between(String propertyName, Object min, Object max)
Description copied from interface:Filter
Between - property between the two given values.
-
gt
public Filter<T> gt(String propertyName, Object value)
Description copied from interface:Filter
Greater Than - property greater than the given value.
-
ge
public Filter<T> ge(String propertyName, Object value)
Description copied from interface:Filter
Greater Than or Equal to - property greater than or equal to the given value.
-
ieq
public Filter<T> ieq(String propertyName, String value)
Description copied from interface:Filter
Case Insensitive Equal To.
-
isNotNull
public Filter<T> isNotNull(String propertyName)
Description copied from interface:Filter
Is Not Null - property is not null.
-
isNull
public Filter<T> isNull(String propertyName)
Description copied from interface:Filter
Is Null - property is null.
-
le
public Filter<T> le(String propertyName, Object value)
Description copied from interface:Filter
Less Than or Equal to - property less than or equal to the given value.
-
lt
public Filter<T> lt(String propertyName, Object value)
Description copied from interface:Filter
Less Than - property less than the given value.
-
contains
public Filter<T> contains(String propertyName, String value)
Description copied from interface:Filter
Contains - property contains the string "value".
-
icontains
public Filter<T> icontains(String propertyName, String value)
Description copied from interface:Filter
Case insensitive Contains.
-
endsWith
public Filter<T> endsWith(String propertyName, String value)
Description copied from interface:Filter
Ends With.
-
startsWith
public Filter<T> startsWith(String propertyName, String value)
Description copied from interface:Filter
Starts With.- Specified by:
startsWith
in interfaceFilter<T>
-
iendsWith
public Filter<T> iendsWith(String propertyName, String value)
Description copied from interface:Filter
Case insensitive Ends With.
-
istartsWith
public Filter<T> istartsWith(String propertyName, String value)
Description copied from interface:Filter
Case insensitive Starts With.- Specified by:
istartsWith
in interfaceFilter<T>
-
maxRows
public Filter<T> maxRows(int maxRows)
Description copied from interface:Filter
Specify the maximum number of rows/elements to return.
-
-