|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.page.editor.mode.ModeContext
public class ModeContext
Encapsulates the mode context and provide APIs to get and set the mode. There are only two modes, View and Edit. View is the default mode.
Field Summary | |
---|---|
static java.lang.String |
EDIT_MODE use isInViewMode() and isInEditMode() instead. |
static java.lang.String |
MODE |
static java.lang.String |
VIEW_MODE |
static java.lang.String |
VIEW_VERIFIED |
Method Summary | |
---|---|
static ModeContext |
getCurrent() Gets the current instance of this class. |
java.lang.String |
getCurrentModeName() Deprecated. use isInViewMode() and isInEditMode() instead . |
boolean |
isInEditMode() Returns whether the current mode is edit mode. |
boolean |
isInViewMode() Returns whether the current mode is view mode. |
boolean |
isModeChangedInCurrentRequest() Deprecated. If mode is changed in the current request. |
void |
setEditMode() Switches to edit mode. |
void |
unsetEditMode() Unsets edit mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EDIT_MODE
public static final java.lang.String VIEW_MODE
public static final java.lang.String MODE
public static final java.lang.String VIEW_VERIFIED
Method Detail |
---|
public static ModeContext getCurrent()
public java.lang.String getCurrentModeName()
use isInViewMode() and isInEditMode() instead
.public boolean isInViewMode()
public boolean isInEditMode()
public void setEditMode()
public void unsetEditMode()
public boolean isModeChangedInCurrentRequest()
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |