|
Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle 11g Release 2 (11.1.2.2.0) E17481-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.controller.v2.context.LifecycleContext
oracle.adf.controller.v2.context.PageLifecycleContext
oracle.adf.controller.v2.struts.context.StrutsPageLifecycleContext
public class StrutsPageLifecycleContext
Lifecycle Context customized to work with Struts PageLifecycle.
Field Summary | |
---|---|
static java.lang.String |
ACTION_ERRORS_KEY |
static java.lang.String |
ACTION_FORM_KEY |
static java.lang.String |
ACTION_FORWARD_KEY |
static java.lang.String |
ACTION_KEY |
static java.lang.String |
ACTION_MAPPING_KEY |
static java.lang.String |
ACTION_REQUEST_KEY |
static java.lang.String |
ACTION_RESPONSE_KEY |
static java.lang.String |
SUCCESS_FORWARD Name of the special forward used to combine a DataAction with a web page. |
Fields inherited from class oracle.adf.controller.v2.context.PageLifecycleContext |
---|
ACTION_BINDING_KEY, ALLOW_MODEL_UPDATE_KEY, CONTROL_ACTION_BINDINGS_KEY, EVENT_METHOD_PREFIX, EVENT_PREFIX, EVENT_PREFIX_KEY, EVENTS_KEY, FORWARD_PATH_BINDINGS_KEY, REDIRECT_BINDINGS_KEY, UPDATED_VALUES_KEY, VALIDATE_ERROR_KEY |
Fields inherited from class oracle.adf.controller.v2.context.LifecycleContext |
---|
envMap, PAGE_LIFECYCLE_KEY, PATH_KEY |
Constructor Summary | |
---|---|
StrutsPageLifecycleContext(java.util.Map envMap) |
Method Summary | |
---|---|
org.apache.struts.action.Action |
getAction() Retrieve the Action class. |
org.apache.struts.action.ActionErrors |
getActionErrors() Retrieve the ActionErrors from the context. |
org.apache.struts.action.ActionForm |
getActionForm() Retrieve the ActionForm from the context. |
org.apache.struts.action.ActionForward |
getActionForward() Retrieve the ActionForward from the context. |
DataActionMapping |
getActionMapping() Retrieve the DataActionMapping from the context. |
oracle.adf.share.Environment |
getEnvironment() Retrieve the anonymous environment. |
java.util.Map |
getParameterMap() Retrieve a map of the parameters for the current request. |
void |
setActionErrors(org.apache.struts.action.ActionErrors errors) Store the ActionErrors in the context |
void |
setActionForward(org.apache.struts.action.ActionForward forward) Store the ActionForward in the context. |
void |
setActionForward(java.lang.String forwardName) Store the ActionForward in the context using the name of forward. |
Methods inherited from class oracle.adf.controller.v2.context.PageLifecycleContext |
---|
addControlActionBinding, addEvent, getControlActionBindings, getEventActionBinding, getEventPrefix, getEvents, getForwardPath, getInputValidationErrors, getRedirect, getUpdatedValues, setEventActionBinding, setEventPrefix, setForwardPath, setInputValidationErrors, setRedirect, setUpdatedValues |
Methods inherited from class oracle.adf.controller.v2.context.LifecycleContext |
---|
getBindingContainer, getBindingContext, getCurrentInstance, getInstance, getInstance, getPageController, getPageLifecycle, getPagePhaseListener, getPath, getPrepareRender, initControllerClass, prepareRender, resetControllerClass, setPageController, setPageLifecycle, setPagePhaseListener, setPath |
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 SUCCESS_FORWARD
public static final java.lang.String ACTION_REQUEST_KEY
public static final java.lang.String ACTION_RESPONSE_KEY
public static final java.lang.String ACTION_MAPPING_KEY
public static final java.lang.String ACTION_FORM_KEY
public static final java.lang.String ACTION_ERRORS_KEY
public static final java.lang.String ACTION_FORWARD_KEY
public static final java.lang.String ACTION_KEY
Constructor Detail |
---|
public StrutsPageLifecycleContext(java.util.Map envMap)
Method Detail |
---|
public oracle.adf.share.Environment getEnvironment()
LifecycleContext
getEnvironment
in class LifecycleContext
ADFContext.getEnvironment()
public java.util.Map getParameterMap()
getParameterMap
in class PageLifecycleContext
public DataActionMapping getActionMapping()
public org.apache.struts.action.ActionForm getActionForm()
public void setActionForward(org.apache.struts.action.ActionForward forward)
public void setActionForward(java.lang.String forwardName)
findForward(forwardName)
This is the ActionForward that will be returned by the DataAction execute method. Utility method to set the action forward by name.
public org.apache.struts.action.ActionForward getActionForward()
public void setActionErrors(org.apache.struts.action.ActionErrors errors)
public org.apache.struts.action.ActionErrors getActionErrors()
public org.apache.struts.action.Action getAction()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle 11g Release 2 (11.1.2.2.0) E17481-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |