public enum FieldFilterMode extends java.lang.Enum<FieldFilterMode> implements ValueEnum
DataSourceField.canFilter
isn't false
allows
filtering either at the server or at the client
,
according to related settings. This is the recommended behavior, but it can be useful or necessary to limit filtering in some cases.
Enum Constant and Description |
---|
BOTH
- filter on the client where possible and contact the server when necessary
|
SERVERONLY
- any change to criteria for a field causes cache invalidation and a trip to the server.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static FieldFilterMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FieldFilterMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldFilterMode BOTH
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "both".
public static final FieldFilterMode SERVERONLY
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "serverOnly".
public static FieldFilterMode[] values()
for (FieldFilterMode c : FieldFilterMode.values()) System.out.println(c);
public static FieldFilterMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null