public enum PartialCommitOption extends java.lang.Enum<PartialCommitOption> implements ValueEnum
BatchUploader
whilst it still contains errors.Enum Constant and Description |
---|
ALLOW
Silently allow the partial commit to proceed (note that this will result in the user losing those records that contain
errors)
|
PREVENT
Pop up a message window showing the
BatchUploader.partialCommitError and prevent the partial commit |
PROMPT
Pop up a confirmation window with the
BatchUploader.partialCommitPrompt and allow the user to choose whether or not to proceed |
RETAIN
Commit any records that are error-free and remove them from the grid.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static PartialCommitOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PartialCommitOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartialCommitOption ALLOW
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "allow".
public static final PartialCommitOption PREVENT
BatchUploader.partialCommitError
and prevent the partial commit
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "prevent".
public static final PartialCommitOption PROMPT
BatchUploader.partialCommitPrompt
and allow the user to choose whether or not to proceed
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "prompt".
public static final PartialCommitOption RETAIN
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "retain".
public static PartialCommitOption[] values()
for (PartialCommitOption c : PartialCommitOption.values()) System.out.println(c);
public static PartialCommitOption 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