public enum AdminSearches extends java.lang.Enum<AdminSearches> implements ValueEnum
Enum Constant and Description |
---|
LOCALONLY
Only report the records from
adminSavedSearches . |
PREFERLOCAL
Combine both sets of records, but report the search record from
adminSavedSearches if two records have the same
search name. |
PREFERSAVED
Combine both sets of records, but report the search record from the DataSource if two records have the same search name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static AdminSearches |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdminSearches[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdminSearches PREFERSAVED
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "preferSaved".
public static final AdminSearches PREFERLOCAL
adminSavedSearches
if two records have the same
search name.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "preferLocal".
public static final AdminSearches LOCALONLY
adminSavedSearches
.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "localOnly".
public static AdminSearches[] values()
for (AdminSearches c : AdminSearches.values()) System.out.println(c);
public static AdminSearches 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