public static enum FormData.NameNotFoundMode extends java.lang.Enum<FormData.NameNotFoundMode>
|Enum Constant and Description|
When the FormData doesn't have an entry of a certain name, if the FormData is fresh then the value configured at the field is used instead, otherwise (it's not fresh) the value is taken from the FormData as usual, which will return
When the FormData doesn't have an entry of a certain name, then the value configured at the field is used instead.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final FormData.NameNotFoundMode CHECK_FRESHNESS
The form is fresh when
jcr:created property has equal value to the
last modified property's value (taken from either
If either created or last modified date is not available, it is not
considered as fresh.
This mode is usually used for Authoring dialogs.
public static final FormData.NameNotFoundMode IGNORE_FRESHNESS
public static FormData.NameNotFoundMode values()
for (FormData.NameNotFoundMode c : FormData.NameNotFoundMode.values()) System.out.println(c);
public static FormData.NameNotFoundMode 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 name
java.lang.NullPointerException- if the argument is null
Copyright © 2010 - 2020 Adobe. All Rights Reserved