Enum Constant and Description |
---|
ANALYTICS
The WCM is in analytics mode.
|
DESIGN
The WCM is in design mode.
|
DISABLED
The WCM is disabled.
|
EDIT
The WCM is in edit mode.
|
PREVIEW
The WCM is in preview mode.
|
READ_ONLY
The WCM is in read only mode.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REQUEST_ATTRIBUTE_NAME
name of the WCMMode request attribute
|
Modifier and Type | Method and Description |
---|---|
static WCMMode |
fromRequest(ServletRequest req)
Returns the current WCM Mode of this request.
|
WCMMode |
toRequest(ServletRequest req)
Sets the current WCM Mode of this request.
|
static WCMMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WCMMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WCMMode DISABLED
public static final WCMMode EDIT
public static final WCMMode PREVIEW
public static final WCMMode ANALYTICS
public static final WCMMode READ_ONLY
public static final WCMMode DESIGN
public static final java.lang.String REQUEST_ATTRIBUTE_NAME
public static WCMMode[] values()
for (WCMMode c : WCMMode.values()) System.out.println(c);
public static WCMMode 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 nullpublic static WCMMode fromRequest(ServletRequest req)
req
- servlet requestpublic WCMMode toRequest(ServletRequest req)
req
- servlet request"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"