|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.3.0) E15995-02 |
||||||||
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 TODO: make these all private. |
static java.lang.String |
MODE |
static java.lang.String |
VIEW_MODE |
Method Summary | |
---|---|
static ModeContext |
getCurrent() Get the current instance of this class |
java.lang.String |
getCurrentModeName() Deprecated. use isInViewMode() and isInEditMode() instead. |
boolean |
isInEditMode() Return whether the current mode is EditMode. |
boolean |
isInViewMode() Return whether the current mode is ViewMode. |
boolean |
isModeChangedInCurrentRequest() Deprecated. |
void |
setEditMode() Switch into Edit Mode. |
void |
unsetEditMode() Unset 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
Method Detail |
---|
public static ModeContext getCurrent()
public java.lang.String getCurrentModeName()
public boolean isInViewMode()
public boolean isInEditMode()
public void setEditMode()
public void unsetEditMode()
public boolean isModeChangedInCurrentRequest()
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.3.0) E15995-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |