public enum Mode extends Enum<Mode>
| Enum Constant and Description | 
|---|
BULK_EDIT
bulk update forms: regular inputs 
 | 
CREATE
create forms: regular inputs 
 | 
CREATE_HIDDEN
create - no visual display, only hidden inputs. 
 | 
CREATE_PREVIEW
create preview/confirmation pages: plain text values + hidden inputs 
 | 
EDIT
update forms: regular inputs 
 | 
HIDDEN
update - no visual display, only hidden inputs. 
 | 
PREVIEW
update preview/confirmation pages: plain text values + hidden inputs 
 | 
VIEW
read/view pages: plain text values, no inputs 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isBulk()  | 
boolean | 
isCreate()  | 
boolean | 
isEdit()  | 
boolean | 
isHidden()  | 
boolean | 
isPreview()  | 
boolean | 
isView()  | 
boolean | 
isView(boolean insertable,
      boolean updatable)  | 
String | 
toString()  | 
static Mode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Mode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Mode CREATE
public static final Mode EDIT
public static final Mode BULK_EDIT
public static final Mode CREATE_PREVIEW
public static final Mode PREVIEW
public static final Mode VIEW
public static final Mode CREATE_HIDDEN
public static final Mode HIDDEN
public static Mode[] values()
for (Mode c : Mode.values()) System.out.println(c);
public static Mode 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 boolean isCreate()
public boolean isBulk()
public boolean isEdit()
public boolean isPreview()
public boolean isView()
public boolean isHidden()
public boolean isView(boolean insertable,
             boolean updatable)