public enum FOSearchCriterionMode extends Enum<FOSearchCriterionMode>
FOSearchCriterion| Enum Constant and Description |
|---|
RESTRICTED_USER_INPUT
The criterion is proposed to the final user, with a restricted enumeration of choices.
|
STATIC
The criterion is static, i.e.
|
USER_INPUT
The criterion is proposed to the final user.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) static Logger |
__LOGGER |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
getValue(FOSearchCriterion searchCriterion,
Map<String,Object> finalUserCriteria,
Map<String,Object> contextualParameters)
Gets the value from the
criterion and the final user criteria. |
static FOSearchCriterionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FOSearchCriterionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FOSearchCriterionMode STATIC
public static final FOSearchCriterionMode USER_INPUT
public static final FOSearchCriterionMode RESTRICTED_USER_INPUT
public static FOSearchCriterionMode[] values()
for (FOSearchCriterionMode c : FOSearchCriterionMode.values()) System.out.println(c);
public static FOSearchCriterionMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract Object getValue(FOSearchCriterion searchCriterion, Map<String,Object> finalUserCriteria, Map<String,Object> contextualParameters)
criterion and the final user criteria.searchCriterion - The FOSearchCriterion which is in this modefinalUserCriteria - The criteria from the final usercontextualParameters - The contextual parameters