public class InputFileChoice extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DELETE
A file exists and should be deleted.
|
static String |
KEEP
A file exists and is kept.
|
static String |
KEEP_TEMP
A file has been uploaded but there was a validation error in another field.
|
static String |
NONE
No file exists currently and no new one is added.
|
static String |
UPLOAD
A file has been uploaded.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isKeepOrKeepTemp(String choice) |
static boolean |
isUpload(String choice) |
static boolean |
isUploadOrKeepTemp(String choice) |
public static final String NONE
public static final String KEEP
public static final String KEEP_TEMP
public static final String UPLOAD
Also used as a prefix for all custom upload modes.
public static final String DELETE
public static boolean isKeepOrKeepTemp(String choice)
public static boolean isUploadOrKeepTemp(String choice)
Copyright © 2016 Nuxeo SA. All rights reserved.