|
Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle 11g Release 1 (11.1.1.4.0) E10652-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Lifecycle
The ADF Lifecycle provides support allowing a web page to interact with ADF Model data bindings. The lifecycle calls the correct binding container needed for a JSP or UIX page, updates values in the binding container's bindings if necessary, and prepares the data to be rendered. The binding container stores this data locally before rendering the page.
NOTE: Implementations of Lifecycle
should be
thread-safe and use the
LifecycleContext
object as the place
to store any per-request state they may need.
Method Summary | |
---|---|
void |
buildEventList(LifecycleContext lcContext)
Deprecated. Builds the list of events with their possible associated action binding from the request parameters. |
void |
findForward(LifecycleContext lcContext)
Deprecated. Forwards the request or redirects the response to the next web page in the flow. |
java.lang.reflect.Method |
getEventMethod(LifecycleContext lcContext,
java.lang.String name)
Deprecated. Retrieve the Method class for an event name. |
void |
handleError(LifecycleContext lcContext,
java.lang.Exception ex)
Deprecated. Handles any exceptions that occurred during the Lifecycle processing. |
void |
handleLifecycle(LifecycleContext lcContext)
Deprecated. Define all the phases of the lifecycle and the order they are executed. |
boolean |
hasErrors(LifecycleContext lcContext)
Deprecated. Ask the context if any errors have been recorded during this lifecycle. |
void |
initializeMethodParameters(LifecycleContext lcContext,
oracle.jbo.uicli.binding.JUCtrlActionBinding actionBinding)
Deprecated. This method is invoked before any ControlBinding or custom method is being executed. |
void |
invokeCustomMethod(LifecycleContext lcContext)
Deprecated. Invokes the custom method associated with the binding container. |
void |
prepareModel(LifecycleContext lcContext)
Deprecated. Give the opportunity for the data model to prepare and initialize. |
void |
processComponentEvents(LifecycleContext lcContext)
Deprecated. Handle any events in the action binding list previously built in processUpdateModel using the buildEventList method. |
void |
processUpdateModel(LifecycleContext lcContext)
Deprecated. Update the data model with values submitted in the request. |
void |
refreshModel(LifecycleContext lcContext)
Deprecated. Used to notify the model when updates are over with. |
void |
reportErrors(LifecycleContext lcContext)
Deprecated. Report the error list to the view layer. |
boolean |
shouldAllowModelUpdate(LifecycleContext lcContext)
Deprecated. Allows clients to determine whether the model should be updated. |
void |
validateModelUpdates(LifecycleContext lcContext)
Deprecated. Forces model-level validation to occur. |
Method Detail |
---|
void handleLifecycle(LifecycleContext lcContext) throws java.lang.Exception
lcContext
- the lifecycle context
java.lang.Exception
void buildEventList(LifecycleContext lcContext)
lcContext
- the lifecycle contextvoid prepareModel(LifecycleContext lcContext) throws java.lang.Exception
lcContext
- the lifecycle context
java.lang.Exception
boolean shouldAllowModelUpdate(LifecycleContext lcContext)
lcContext
- the lifecycle context.
true
, if the model should be updated
during this lifecyclevoid processUpdateModel(LifecycleContext lcContext)
lcContext
- the lifecycle contextvoid validateModelUpdates(LifecycleContext lcContext)
lcContext
- the lifecycle contextboolean hasErrors(LifecycleContext lcContext)
lcContext
- the lifecycle context
true
, if any validation errors have been
stored in the LifecycleContext.void processComponentEvents(LifecycleContext lcContext) throws java.lang.Exception
lcContext
- the lifecycle context
java.lang.Exception
void initializeMethodParameters(LifecycleContext lcContext, oracle.jbo.uicli.binding.JUCtrlActionBinding actionBinding)
lcContext
- the lifecycle contextactionBinding
- the action binding object to initializevoid invokeCustomMethod(LifecycleContext lcContext)
lcContext
- the lifecycle contextvoid refreshModel(LifecycleContext lcContext)
lcContext
- the lifecycle contextvoid handleError(LifecycleContext lcContext, java.lang.Exception ex)
lcContext
- the lifecycle contextex
- the exception to recordvoid reportErrors(LifecycleContext lcContext)
lcContext
- the lifecycle contextvoid findForward(LifecycleContext lcContext) throws java.lang.Exception
lcContext
- the lifecycle context
java.lang.Exception
java.lang.reflect.Method getEventMethod(LifecycleContext lcContext, java.lang.String name)
lcContext
- the lifecycle contextname
- name of the event
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle 11g Release 1 (11.1.1.4.0) E10652-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |