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

E10652-05

oracle.adf.controller.struts.actions
Class DataActionMapping

java.lang.Object
  extended by org.apache.struts.config.ActionConfig
      extended by org.apache.struts.action.ActionMapping
          extended by oracle.adf.controller.struts.actions.DataActionMapping
All Implemented Interfaces:
java.io.Serializable

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

public class DataActionMapping
extends org.apache.struts.action.ActionMapping

An extend action mapping to define and handle additional properties for the DataAction.

Since:
9.0.5
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.config.ActionConfig
attribute, cancellable, configured, exceptions, forward, forwards, include, input, moduleConfig, multipartClass, name, parameter, path, prefix, roleNames, roles, scope, suffix, type, unknown, validate
 
Constructor Summary
DataActionMapping()
          Deprecated.  
 
Method Summary
 void freeze()
          Deprecated. Figure out which lifecycle to use and fix up the some of the action property before the config get frozen.
protected  java.lang.String getForwardPath(org.apache.struts.config.ForwardConfig forward)
          Deprecated.  
 java.lang.String getMethodName()
          Deprecated. methodName property
 java.lang.String getModelReference()
          Deprecated. modelReference property
static java.lang.String getModelReference(org.apache.struts.action.ActionMapping mapping)
          Deprecated. Helper method to return the model reference of a DataAction mapping.
 java.lang.Integer getNumParams()
          Deprecated. numParams property
 StrutsPageLifecycle getPageLifecycle()
          Deprecated.  
 java.lang.String getPagePath()
          Deprecated.  
static java.lang.String getPagePath(org.apache.struts.action.ActionMapping mapping)
          Deprecated. Helper method to return the page path of a DataAction mapping.
 java.lang.String getParamNames(int index)
          Deprecated. paramNames properties
 java.lang.String getResultLocation()
          Deprecated. resultLocation property
 void setMethodName(java.lang.String value)
          Deprecated. methodName property
 void setModelReference(java.lang.String value)
          Deprecated. modelReference property
 void setNumParams(java.lang.Integer value)
          Deprecated. numParams property
 void setParamNames(int index, java.lang.String value)
          Deprecated. paramNames properties
 void setResultLocation(java.lang.String value)
          Deprecated. resultLocation property
 
Methods inherited from class org.apache.struts.action.ActionMapping
findForward, findForwards, getInputForward
 
Methods inherited from class org.apache.struts.config.ActionConfig
addExceptionConfig, addForwardConfig, findException, findExceptionConfig, findExceptionConfigs, findForwardConfig, findForwardConfigs, getAttribute, getCancellable, getForward, getInclude, getInput, getModuleConfig, getMultipartClass, getName, getParameter, getPath, getPrefix, getRoleNames, getRoles, getScope, getSuffix, getType, getUnknown, getValidate, removeExceptionConfig, removeForwardConfig, setAttribute, setCancellable, setForward, setInclude, setInput, setModuleConfig, setMultipartClass, setName, setParameter, setPath, setPrefix, setRoles, setScope, setSuffix, setType, setUnknown, setValidate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataActionMapping

public DataActionMapping()
Deprecated. 
Method Detail

getPagePath

public static java.lang.String getPagePath(org.apache.struts.action.ActionMapping mapping)
Deprecated. 
Helper method to return the page path of a DataAction mapping.

Parameters:
mapping - the DataAction mapping
Returns:
the page path for the mapping

getModelReference

public static java.lang.String getModelReference(org.apache.struts.action.ActionMapping mapping)
Deprecated. 
Helper method to return the model reference of a DataAction mapping.

Parameters:
mapping - the DataAction mapping
Returns:
the model reference for the mapping

setParamNames

public void setParamNames(int index,
                          java.lang.String value)
Deprecated. 
paramNames properties


getParamNames

public java.lang.String getParamNames(int index)
Deprecated. 
paramNames properties

Returns:
paramnames for the given index

setNumParams

public void setNumParams(java.lang.Integer value)
Deprecated. 
numParams property


getNumParams

public java.lang.Integer getNumParams()
Deprecated. 
numParams property

Returns:
the number of method parameters

setMethodName

public void setMethodName(java.lang.String value)
Deprecated. 
methodName property


getMethodName

public java.lang.String getMethodName()
Deprecated. 
methodName property

Returns:
the method name

setModelReference

public void setModelReference(java.lang.String value)
Deprecated. 
modelReference property


getModelReference

public java.lang.String getModelReference()
Deprecated. 
modelReference property

Returns:
the model reference

setResultLocation

public void setResultLocation(java.lang.String value)
Deprecated. 
resultLocation property


getResultLocation

public java.lang.String getResultLocation()
Deprecated. 
resultLocation property

Returns:
the EL expression for the method result

getPagePath

public java.lang.String getPagePath()
Deprecated. 
Returns:
the page path

getPageLifecycle

public StrutsPageLifecycle getPageLifecycle()
Deprecated. 
Returns:
StrutsPageLifecycle

freeze

public void freeze()
Deprecated. 
Figure out which lifecycle to use and fix up the some of the action property before the config get frozen. The decide which lifecycle to use we need to discover the page that we will render. This could be a UIX or something else. To discover the page we walk the chain of "success" forward or look at the parameter property when we are dealing with a DataPage. Once we have the lifecycle, call its processActionConfig to give the lifecycle a chance to update the configuration.

Overrides:
freeze in class org.apache.struts.config.ActionConfig

getForwardPath

protected java.lang.String getForwardPath(org.apache.struts.config.ForwardConfig forward)
Deprecated. 

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

E10652-05

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