|
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 | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adf.controller.v2.lifecycle.Phases oracle.adf.controller.v2.lifecycle.PageLifecycle oracle.adf.controller.v2.lifecycle.StubPageLifecycleImpl
public class StubPageLifecycleImpl
Field Summary |
---|
Fields inherited from class oracle.adf.controller.v2.lifecycle.PageLifecycle |
---|
clazz, eventParam, events |
Constructor Summary | |
---|---|
StubPageLifecycleImpl()
|
Method Summary | |
---|---|
void |
applyInputValues(LifecycleContext context)
Builds the list of events with their possible associated action binding from the request parameters. |
void |
executeEvent(PageLifecycleContext context,
java.lang.String event,
oracle.adf.model.OperationBinding actionBinding)
Execute a single event. |
void |
findForward(PageLifecycleContext context)
The path of the next web page is identified using the forwardPath property on the PageLifecycleContext. |
java.lang.reflect.Method |
getEventMethod(PageLifecycleContext context,
java.lang.String eventName)
Retrieve the Method class for a given an event name. |
void |
handleError(PageLifecycleContext context,
java.lang.Exception ex)
Handles any exceptions that occurred during the PageLifecycle processing. |
boolean |
hasErrors(PageLifecycleContext context)
Return true if an error occured during validation. |
void |
initContext(LifecycleContext context)
During this phase the listener is able to initialize the LifecycleContext
with additional information that will be persisted during the Lifecycle. |
void |
initializeMethodParameters(PageLifecycleContext context,
oracle.adf.model.OperationBinding actionBinding)
This method is invoked before any ControlBinding or custom method is being executed. |
boolean |
invokeActionBinding(PageLifecycleContext context,
java.lang.String event)
Invoke the action binding associated with the event name. |
boolean |
invokeEventMethod(PageLifecycleContext context,
java.lang.String eventName)
Execute the Method class for a given an event name. |
void |
metadataCommit(LifecycleContext context)
Used to commit Runtime changes to the metadata. |
void |
prepareModel(LifecycleContext context)
Give the opportunity for the data model to prepare and initialize. |
void |
prepareRender(LifecycleContext context)
Last phase before rendering a page. |
void |
processComponentEvents(LifecycleContext context)
Process each event accumulated during the previous phases. |
void |
processUpdateModel(LifecycleContext context)
Update the data model with new and validated input values. |
void |
reportErrors(PageLifecycleContext context)
Provide the opportunity to build an error list in a format appropriate to the view layer. |
boolean |
shouldAllowModelUpdate(PageLifecycleContext context)
This method is called during the processUpdateModel phase. |
void |
validateInputValues(LifecycleContext context)
Validate input values. |
void |
validateModelUpdates(LifecycleContext context)
Forces model-level validation to occur. |
Methods inherited from class oracle.adf.controller.v2.lifecycle.PageLifecycle |
---|
getEventMethodFromCache, getLifecycleContextClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StubPageLifecycleImpl()
Method Detail |
---|
public void executeEvent(PageLifecycleContext context, java.lang.String event, oracle.adf.model.OperationBinding actionBinding)
PageLifecycle
executeEvent
in class PageLifecycle
handleEvent.
public java.lang.reflect.Method getEventMethod(PageLifecycleContext context, java.lang.String eventName)
PageLifecycle
context
- the PageLifecycle contexteventName
- name of the event
public boolean invokeEventMethod(PageLifecycleContext context, java.lang.String eventName) throws java.lang.Exception
PageLifecycle
context
- the PageLifecycle contexteventName
- name of the event
java.lang.Exception
public boolean invokeActionBinding(PageLifecycleContext context, java.lang.String event)
PageLifecycle
An action binding is associated with an event if an action binding with
the same name as the event exist in the current binding container. If the
action binding exist, the method parameters are initialized using the
initializeMethodParameters
method on
the PageLifecycle before executing the action binding.
true
context
- the lifecycle contextevent
- the name of the event
true
if an action binding is associated
with the eventpublic void handleError(PageLifecycleContext context, java.lang.Exception ex)
PageLifecycle
BindingContainer
.
handleError
in class PageLifecycle
public boolean hasErrors(PageLifecycleContext context)
PageLifecycle
hasErrors
in class PageLifecycle
public void initializeMethodParameters(PageLifecycleContext context, oracle.adf.model.OperationBinding actionBinding)
PageLifecycle
initializeMethodParameters
in class PageLifecycle
context
- the PageLifecycle contextactionBinding
- the action binding object to initializepublic void reportErrors(PageLifecycleContext context)
PageLifecycle
reportErrors
in class PageLifecycle
public void findForward(PageLifecycleContext context) throws java.lang.Exception
PageLifecycle
findForward
in class PageLifecycle
java.lang.Exception
public void initContext(LifecycleContext context)
Phases
LifecycleContext
with additional information that will be persisted during the Lifecycle.
initContext
in class Phases
public void prepareModel(LifecycleContext context)
Phases
prepareModel
in class Phases
public boolean shouldAllowModelUpdate(PageLifecycleContext context)
PageLifecycle
shouldAllowModelUpdate
in class PageLifecycle
JUCtrlActionBinding.ignoreUpdates()
public void applyInputValues(LifecycleContext context)
Phases
applyInputValues
in class Phases
public void validateInputValues(LifecycleContext context)
Phases
validateInputValues
in class Phases
public void processUpdateModel(LifecycleContext context)
Phases
processUpdateModel
in class Phases
public void validateModelUpdates(LifecycleContext context)
Phases
validateModelUpdates
in class Phases
public void processComponentEvents(LifecycleContext context)
Phases
processComponentEvents
in class Phases
public void metadataCommit(LifecycleContext context)
Phases
metadataCommit
in class Phases
public void prepareRender(LifecycleContext context)
Phases
During this phase the model is refreshed.
prepareRender
in class Phases
|
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 | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |