|
Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle 11g Release 2 (11.1.2.1.0) E17481-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.Action oracle.adf.controller.v2.struts.actions.DataAction
public class DataAction
Bootstrap the execution of the ADF PageLifecycle.
Nested Class Summary | |
---|---|
class |
DataAction.Execute
|
Field Summary |
---|
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
DataAction()
|
Method Summary | |
---|---|
protected org.apache.struts.action.Action |
actionCreate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
DataActionMapping mapping)
Creates a v1 DataAction . |
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This is the entry point for the execution of an action from the Struts framework. |
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
This is another entry point for the execution of an action from the Struts framework using ServletRequest and ServletResponse. |
protected org.apache.struts.action.ActionMapping |
mappingCreate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
DataActionMapping mapping)
Create a v1 DataActionMapping and transfer the content of the current mapping to it. |
void |
saveErrors(StrutsPageLifecycleContext context)
Save all the error message from the lifecycle context to the request attribute. |
void |
saveMessages(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMessages messages)
Call the action saveMessages protected method. |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataAction()
Method Detail |
---|
public final org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
This method initializes the environment map and bootstraps the
lifecycle by calling execute on the
LifecycleProcessor
.
Since the customization of the DataAction behavior should be achieved
by extending the
PageController
functionality, this method is declared final.
If this action is a migrated v1 action, execute it using the v1 Lifecycle.
execute
in class org.apache.struts.action.Action
mapping
- the ActionMapping used to select this instance.form
- the optional ActionForm bean for this request.request
- the HTTP Request we are processing.response
- the HTTP Response we are processing.
java.lang.Exception
public final org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws java.lang.Exception
This method simply delegate to the other execute
method.
Since the customization of the DataAction behavior should be achieved by extending the lifecycle functionality, this method is declared final.
execute
in class org.apache.struts.action.Action
mapping
- the ActionMapping used to select this instance.form
- the optional ActionForm bean for this request.request
- the Servlet Request we are processing.response
- the Servlet Response we are processing.
java.lang.Exception
execute
public void saveErrors(StrutsPageLifecycleContext context)
public void saveMessages(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMessages messages)
saveMessages
in class org.apache.struts.action.Action
protected org.apache.struts.action.Action actionCreate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DataActionMapping mapping) throws java.io.IOException
Creates a v1 DataAction
.
V1ActionClass
property.
java.io.IOException
protected org.apache.struts.action.ActionMapping mappingCreate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DataActionMapping mapping)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle 11g Release 2 (11.1.2.1.0) E17481-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |