Class EntityFilter<E>
java.lang.Object
org.javarosa.core.services.storage.EntityFilter<E>
public abstract class EntityFilter<E> extends Object
-
Field Summary
Fields Modifier and Type Field Description static intPREFILTER_EXCLUDEstatic intPREFILTER_FILTERstatic intPREFILTER_INCLUDE -
Constructor Summary
Constructors Constructor Description EntityFilter() -
Method Summary
-
Field Details
-
PREFILTER_EXCLUDE
public static final int PREFILTER_EXCLUDE- See Also:
- Constant Field Values
-
PREFILTER_INCLUDE
public static final int PREFILTER_INCLUDE- See Also:
- Constant Field Values
-
PREFILTER_FILTER
public static final int PREFILTER_FILTER- See Also:
- Constant Field Values
-
-
Constructor Details
-
EntityFilter
public EntityFilter()
-
-
Method Details
-
preFilter
filter based just on ID and metadata (metadata not supported yet!! will always be 'null', currently)- Parameters:
id-metaData-- Returns:
- if PREFILTER_INCLUDE, record will be included, matches() not called if PREFILTER_EXCLUDE, record will be excluded, matches() not called if PREFILTER_FILTER, matches() will be called and record will be included or excluded based on return value
-
matches
-