| Constructor and Description |
|---|
ElFilter(BeanDescriptor<T> beanDescriptor) |
| Modifier and Type | Method and 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.
|
protected boolean |
isMatch(T bean) |
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.
|
public ElFilter(BeanDescriptor<T> beanDescriptor)
public Filter<T> sort(String sortByClause)
FilterThe sort (if specified) will always execute first followed by the filter expressions.
Refer to Ebean.sort(List, String) for more detail.
protected boolean isMatch(T bean)
public Filter<T> in(String propertyName, Set<?> matchingValues)
Filterpublic Filter<T> eq(String propertyName, Object value)
Filterpublic Filter<T> ne(String propertyName, Object value)
Filterpublic Filter<T> between(String propertyName, Object min, Object max)
Filterpublic Filter<T> gt(String propertyName, Object value)
Filterpublic Filter<T> ge(String propertyName, Object value)
Filterpublic Filter<T> ieq(String propertyName, String value)
Filterpublic Filter<T> isNotNull(String propertyName)
Filterpublic Filter<T> isNull(String propertyName)
Filterpublic Filter<T> le(String propertyName, Object value)
Filterpublic Filter<T> lt(String propertyName, Object value)
Filterpublic Filter<T> contains(String propertyName, String value)
Filterpublic Filter<T> icontains(String propertyName, String value)
Filterpublic Filter<T> endsWith(String propertyName, String value)
Filterpublic Filter<T> startsWith(String propertyName, String value)
FilterstartsWith in interface Filter<T>public Filter<T> iendsWith(String propertyName, String value)
Filterpublic Filter<T> istartsWith(String propertyName, String value)
FilteristartsWith in interface Filter<T>public Filter<T> maxRows(int maxRows)
FilterCopyright © 2014. All Rights Reserved.