|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.addon.jpacontainer.filter.Filters
public final class Filters
Utility class for creating filter instances.
| Method Summary | |
|---|---|
static com.vaadin.data.util.filter.And |
and(com.vaadin.data.Container.Filter... filters)
Creates a filter that groups filters together in a single
conjunction. |
static com.vaadin.data.util.filter.And |
and(List<com.vaadin.data.Container.Filter> filters)
Creates a filter that groups filters together in a single
conjunction. |
static com.vaadin.data.Container.Filter |
between(Object propertyId,
Comparable<?> startingPoint,
Comparable<?> endingPoint)
Creates a new filter that accepts all items whose value of propertyId is between startingPoint and
endingPoint. |
static com.vaadin.data.Container.Filter |
between(Object propertyId,
Object startingPoint,
Object endingPoint,
boolean includeStartingPoint,
boolean includeEndingPoint)
|
static com.vaadin.data.Container.Filter |
betweenExlusive(Object propertyId,
Object startingPoint,
Object endingPoint)
Creates a new filter that accepts all items whose value of propertyId is between startingPoint (exclusive)
and endingPoint (exclusive). |
static com.vaadin.data.Container.Filter |
betweenInclusive(Object propertyId,
Object startingPoint,
Object endingPoint)
Creates a new filter that accepts all items whose value of propertyId is between startingPoint (inclusive)
and endingPoint (inclusive). |
static com.vaadin.data.Container.Filter |
eq(Object propertyId,
Object value)
Creates a new filter that accepts all items whose value of propertyId is equal to value. |
static com.vaadin.data.Container.Filter |
eq(Object propertyId,
String value,
boolean caseSensitive)
Creates a new filter that accepts all items whose value of propertyId is equal to value. |
static com.vaadin.data.Container.Filter |
gt(Object propertyId,
Object value)
Creates a new filter that accepts all items whose value of propertyId is greater than value. |
static com.vaadin.data.Container.Filter |
gteq(Object propertyId,
Object value)
Creates a new filter that accepts all items whose value of propertyId is greater than or equal to value. |
static com.vaadin.data.Container.Filter |
isEmpty(Object propertyId)
Creates a new filter that accepts all items whose value of propertyId is empty. |
static com.vaadin.data.Container.Filter |
isNotEmpty(Object propertyId)
Creates a new filter that accepts all items whose value of propertyId is not empty. |
static com.vaadin.data.Container.Filter |
isNotNull(Object propertyId)
Creates a new filter that accepts all items whose value of propertyId is not null. |
static com.vaadin.data.Container.Filter |
isNull(Object propertyId)
Creates a new filter that accepts all items whose value of propertyId is null. |
static JoinFilter |
joinFilter(String joinProperty,
com.vaadin.data.Container.Filter... filters)
Creates a filter that applies filters (as a conjunction) to
the joined property joinProperty. |
static com.vaadin.data.Container.Filter |
like(Object propertyId,
String value,
boolean caseSensitive)
Creates a new filter that accepts all items whose value of propertyId matches value. |
static com.vaadin.data.Container.Filter |
lt(Object propertyId,
Object value)
Creates a new filter that accepts all items whose value of propertyId is less than value. |
static com.vaadin.data.Container.Filter |
lteq(Object propertyId,
Object value)
Creates a new filter that accepts all items whose value of propertyId is less than or equal to value. |
static com.vaadin.data.Container.Filter |
not(com.vaadin.data.Container.Filter filter)
Creates a filter that negates filter. |
static com.vaadin.data.util.filter.Or |
or(com.vaadin.data.Container.Filter... filters)
Creates a filter that groups filters together in a single
disjunction. |
static com.vaadin.data.util.filter.Or |
or(List<com.vaadin.data.Container.Filter> filters)
Creates a filter that groups filters together in a single
disjunction. |
static com.vaadin.data.Container.Filter |
outside(Object propertyId,
Object startingPoint,
Object endingPoint,
boolean includeStartingPoint,
boolean includeEndingPoint)
Creates a new filter that accepts all items whose value of propertyId is outside startingPoint and
endingPoint. |
static com.vaadin.data.Container.Filter |
outsideExclusive(Object propertyId,
Object startingPoint,
Object endingPoint)
Creates a new filter that accepts all items whose value of propertyId is outside startingPoint (exclusive)
and endingPoint (exclusive). |
static com.vaadin.data.Container.Filter |
outsideInclusive(Object propertyId,
Object startingPoint,
Object endingPoint)
Creates a new filter that accepts all items whose value of propertyId is outside startingPoint (inclusive)
and endingPoint (inclusive). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static com.vaadin.data.Container.Filter isNull(Object propertyId)
propertyId is null.
public static com.vaadin.data.Container.Filter isNotNull(Object propertyId)
propertyId is not null.
public static com.vaadin.data.Container.Filter isEmpty(Object propertyId)
propertyId is empty.
public static com.vaadin.data.Container.Filter isNotEmpty(Object propertyId)
propertyId is not empty.
public static com.vaadin.data.Container.Filter eq(Object propertyId,
String value,
boolean caseSensitive)
propertyId is equal to value.
public static com.vaadin.data.Container.Filter like(Object propertyId,
String value,
boolean caseSensitive)
propertyId matches value. The precent-sign (%)
may be used as wildcard.
public static com.vaadin.data.Container.Filter eq(Object propertyId,
Object value)
propertyId is equal to value.
public static com.vaadin.data.Container.Filter gteq(Object propertyId,
Object value)
propertyId is greater than or equal to value.
public static com.vaadin.data.Container.Filter gt(Object propertyId,
Object value)
propertyId is greater than value.
public static com.vaadin.data.Container.Filter lteq(Object propertyId,
Object value)
propertyId is less than or equal to value.
public static com.vaadin.data.Container.Filter lt(Object propertyId,
Object value)
propertyId is less than value.
public static com.vaadin.data.Container.Filter between(Object propertyId,
Comparable<?> startingPoint,
Comparable<?> endingPoint)
propertyId is between startingPoint and
endingPoint.
public static com.vaadin.data.Container.Filter between(Object propertyId,
Object startingPoint,
Object endingPoint,
boolean includeStartingPoint,
boolean includeEndingPoint)
public static com.vaadin.data.Container.Filter betweenInclusive(Object propertyId,
Object startingPoint,
Object endingPoint)
propertyId is between startingPoint (inclusive)
and endingPoint (inclusive).
public static com.vaadin.data.Container.Filter betweenExlusive(Object propertyId,
Object startingPoint,
Object endingPoint)
propertyId is between startingPoint (exclusive)
and endingPoint (exclusive).
public static com.vaadin.data.Container.Filter outside(Object propertyId,
Object startingPoint,
Object endingPoint,
boolean includeStartingPoint,
boolean includeEndingPoint)
propertyId is outside startingPoint and
endingPoint.
public static com.vaadin.data.Container.Filter outsideInclusive(Object propertyId,
Object startingPoint,
Object endingPoint)
propertyId is outside startingPoint (inclusive)
and endingPoint (inclusive).
public static com.vaadin.data.Container.Filter outsideExclusive(Object propertyId,
Object startingPoint,
Object endingPoint)
propertyId is outside startingPoint (exclusive)
and endingPoint (exclusive).
public static com.vaadin.data.Container.Filter not(com.vaadin.data.Container.Filter filter)
filter.
public static com.vaadin.data.util.filter.And and(com.vaadin.data.Container.Filter... filters)
filters together in a single
conjunction.
public static com.vaadin.data.util.filter.And and(List<com.vaadin.data.Container.Filter> filters)
filters together in a single
conjunction.
public static com.vaadin.data.util.filter.Or or(com.vaadin.data.Container.Filter... filters)
filters together in a single
disjunction.
public static com.vaadin.data.util.filter.Or or(List<com.vaadin.data.Container.Filter> filters)
filters together in a single
disjunction.
public static JoinFilter joinFilter(String joinProperty,
com.vaadin.data.Container.Filter... filters)
filters (as a conjunction) to
the joined property joinProperty. This is only needed for
Hibernate, as EclipseLink implicitly joins on nested properties.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||