Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle
11g Release 1 (11.1.1)

E10652-03


oracle.adf.controller.struts.actions
Class DataActionContext

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by oracle.adf.controller.lifecycle.LifecycleContext
              extended by oracle.adf.controller.struts.actions.DataActionContext

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

Deprecated. Use equivalent classes in oracle.adf.controller.v2

public final class DataActionContext
extends LifecycleContext

Lifecycle Context customized to work with DataAction.

Since:
9.0.5
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>

 

Field Summary
static java.lang.String SUCCESS_FORWARD
          Deprecated. Name of the special forward used to combine a DataAction with a web page.

 

Fields inherited from class oracle.adf.controller.lifecycle.LifecycleContext
EVENT_METHOD_PREFIX, EVENT_PREFIX

 

Constructor Summary
DataActionContext()
          Deprecated.  

 

Method Summary
 org.apache.struts.action.ActionErrors getActionErrors()
          Deprecated. Retrieve the ActionErrors from the context.
 org.apache.struts.action.ActionForm getActionForm()
          Deprecated. Retrieve the ActionForm from the context.
 org.apache.struts.action.ActionForward getActionForward()
          Deprecated. Retrieve the ActionForward from the context.
 DataActionMapping getActionMapping()
          Deprecated. Retrieve the DataActionMapping from the context.
 java.lang.String getModelReference()
          Deprecated. Retrieve the modelReference from the action mapping.
 void initialize(Lifecycle lifeCycle, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deprecated. Initialize the context with the DataAction parameters.
 void setActionErrors(org.apache.struts.action.ActionErrors errors)
          Deprecated. Store the ActionErrors in the context
 void setActionForm(org.apache.struts.action.ActionForm form)
          Deprecated. Store the ActionForm in the context.
 void setActionForward(org.apache.struts.action.ActionForward forward)
          Deprecated. Store the ActionForward in the context.
 void setActionForward(java.lang.String forwardName)
          Deprecated. Store the ActionForward in the context using the name of forward.
 void setActionMapping(DataActionMapping mapping)
          Deprecated. Store the DataActionMapping in the context.

 

Methods inherited from class oracle.adf.controller.lifecycle.LifecycleContext
addControlActionBinding, addEvent, getBindingContainer, getBindingContext, getControlActionBindings, getCustomMethod, getEventActionBinding, getEventPrefix, getEvents, getForwardPath, getHttpServletRequest, getHttpServletResponse, getLifecycle, getRedirect, initialize, initialize, setBindingContainer, setBindingContext, setCustomMethod, setEventActionBinding, setEventPrefix, setForwardPath, setHttpServletRequest, setHttpServletResponse, setLifecycle, setModelReference, setRedirect

 

Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values

 

Methods inherited from class java.util.AbstractMap
equals, hashCode, toString

 

Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface java.util.Map
equals, hashCode

 

Field Detail

SUCCESS_FORWARD

public static final java.lang.String SUCCESS_FORWARD
Deprecated. 
Name of the special forward used to combine a DataAction with a web page.
See Also:
Constant Field Values

Constructor Detail

DataActionContext

public DataActionContext()
Deprecated. 

Method Detail

initialize

public void initialize(Lifecycle lifeCycle,
                       org.apache.struts.action.ActionMapping mapping,
                       org.apache.struts.action.ActionForm form,
                       javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
Deprecated. 
Initialize the context with the DataAction parameters.
Parameters:
lifeCycle -
mapping - DataAction ActionMapping
form - DataAction ActionForm
request - DataAction HttpServletRequest
response - DataAction HttpServletResponse

setActionMapping

public void setActionMapping(DataActionMapping mapping)
Deprecated. 
Store the DataActionMapping in the context.
Parameters:
mapping -

getActionMapping

public DataActionMapping getActionMapping()
Deprecated. 
Retrieve the DataActionMapping from the context.
Returns:
the DataActionMapping

setActionForm

public void setActionForm(org.apache.struts.action.ActionForm form)
Deprecated. 
Store the ActionForm in the context.
Parameters:
form -

getActionForm

public org.apache.struts.action.ActionForm getActionForm()
Deprecated. 
Retrieve the ActionForm from the context.
Returns:
ActionForm

setActionForward

public void setActionForward(org.apache.struts.action.ActionForward forward)
Deprecated. 
Store the ActionForward in the context.

This is the ActionForward that will be returned by the DataAction execute method.

Parameters:
forward -

setActionForward

public void setActionForward(java.lang.String forwardName)
Deprecated. 
Store the ActionForward in the context using the name of forward. The ActionForward will be retrieve using findForward(forwardName)

This is the ActionForward that will be returned by the DataAction execute method. Utility method to set the action forward by name


getActionForward

public org.apache.struts.action.ActionForward getActionForward()
Deprecated. 
Retrieve the ActionForward from the context.
Returns:
ActionForward

setActionErrors

public void setActionErrors(org.apache.struts.action.ActionErrors errors)
Deprecated. 
Store the ActionErrors in the context
Parameters:
errors -

getActionErrors

public org.apache.struts.action.ActionErrors getActionErrors()
Deprecated. 
Retrieve the ActionErrors from the context.
Returns:
ActionErrors

getModelReference

public java.lang.String getModelReference()
Deprecated. 
Retrieve the modelReference from the action mapping.
Overrides:
getModelReference in class LifecycleContext
Returns:
the modelReference

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle
11g Release 1 (11.1.1)

E10652-03


Copyright © 1997, 2009, Oracle. All rights reserved.