|
Oracle Application Development Framework Lifecycle Java API Reference 10g Release 3 (10.1.3) B25779-01 | ||||||||||
| 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.PageController
Implement the PageLifecycle functionality by delegating to the current PageLifecycle implementation stored in the PageLifecycle property of the LifecycleContext.
| Field Summary |
| Fields inherited from class oracle.adf.controller.v2.lifecycle.PageLifecycle |
clazz, eventParam, events |
| Constructor Summary | |
PageController() |
|
| Method Summary | |
void |
applyInputValues(LifecycleContext context)Builds the list of events with their possible associated action binding from the request parameters. |
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 lcContext, java.lang.String eventName) |
void |
handleError(PageLifecycleContext context, java.lang.Exception ex) |
boolean |
hasErrors(PageLifecycleContext context) |
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, OperationBinding actionBinding) |
boolean |
invokeActionBinding(PageLifecycleContext context, java.lang.String event) |
boolean |
invokeEventMethod(PageLifecycleContext context, java.lang.String eventName) |
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) |
boolean |
shouldAllowModelUpdate(PageLifecycleContext context) |
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 PageController()
| Method Detail |
public void initContext(LifecycleContext context)
PhasesLifecycleContext with additional information that will be persisted during the Lifecycle.initContext in class Phasespublic void prepareModel(LifecycleContext context)
PhasesprepareModel in class Phasespublic void applyInputValues(LifecycleContext context)
PhasesapplyInputValues in class Phasespublic void validateInputValues(LifecycleContext context)
PhasesvalidateInputValues in class Phasespublic void processUpdateModel(LifecycleContext context)
PhasesprocessUpdateModel in class Phasespublic void validateModelUpdates(LifecycleContext context)
PhasesvalidateModelUpdates in class Phasespublic void processComponentEvents(LifecycleContext context)
PhasesprocessComponentEvents in class Phasespublic void metadataCommit(LifecycleContext context)
PhasesmetadataCommit in class Phasespublic void prepareRender(LifecycleContext context)
PhasesDuring this phase the model is refreshed.
prepareRender in class Phasespublic boolean shouldAllowModelUpdate(PageLifecycleContext context)
JUCtrlActionBinding.ignoreUpdates()public boolean hasErrors(PageLifecycleContext context)
public void handleError(PageLifecycleContext context,
java.lang.Exception ex)
public void reportErrors(PageLifecycleContext context)
public java.lang.reflect.Method getEventMethod(PageLifecycleContext lcContext,
java.lang.String eventName)
lcContext - the PageLifecycle contexteventName - name of the event
public boolean invokeEventMethod(PageLifecycleContext context,
java.lang.String eventName)
throws java.lang.Exception
context - the PageLifecycle contexteventName - name of the eventjava.lang.Exception
public boolean invokeActionBinding(PageLifecycleContext context,
java.lang.String event)
context - the lifecycle contextevent - the name of the eventtrue if an action binding is associated with the event
public void findForward(PageLifecycleContext context)
throws java.lang.Exception
PageLifecyclefindForward in class PageLifecyclejava.lang.Exception
public void initializeMethodParameters(PageLifecycleContext context,
OperationBinding actionBinding)
context - the PageLifecycle contextactionBinding - the action binding object to initialize
|
Oracle Application Development Framework Lifecycle Java API Reference 10g Release 3 (10.1.3) B25779-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||