public class PageController extends PageLifecycle
LifecycleContext.clazz, eventParam, events| Constructor and Description | 
|---|
PageController()  | 
| Modifier and Type | Method and Description | 
|---|---|
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 lcContext,
              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. 
 | 
getEventMethodFromCache, getLifecycleContextClasspublic 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)
PageLifecycleshouldAllowModelUpdate in class PageLifecycleJUCtrlActionBinding.ignoreUpdates()public boolean hasErrors(PageLifecycleContext context)
PageLifecyclehasErrors in class PageLifecyclepublic void handleError(PageLifecycleContext context, java.lang.Exception ex)
PageLifecycleBindingContainer.handleError in class PageLifecyclepublic void reportErrors(PageLifecycleContext context)
PageLifecyclereportErrors in class PageLifecyclepublic java.lang.reflect.Method getEventMethod(PageLifecycleContext lcContext, java.lang.String eventName)
PageLifecyclegetEventMethod in class PageLifecyclelcContext - the PageLifecycle contexteventName - name of the eventpublic boolean invokeEventMethod(PageLifecycleContext context, java.lang.String eventName) throws java.lang.Exception
PageLifecycleinvokeEventMethod in class PageLifecyclecontext - the PageLifecycle contexteventName - name of the eventjava.lang.Exceptionpublic boolean invokeActionBinding(PageLifecycleContext context, java.lang.String event)
PageLifecycleAn 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.
trueinvokeActionBinding in class PageLifecyclecontext - the lifecycle contextevent - the name of the eventtrue if an action binding is associated
                   with the eventpublic void findForward(PageLifecycleContext context) throws java.lang.Exception
PageLifecyclefindForward in class PageLifecyclejava.lang.Exceptionpublic void executeEvent(PageLifecycleContext context, java.lang.String event, oracle.adf.model.OperationBinding actionBinding)
PageLifecycleexecuteEvent in class PageLifecyclehandleEvent.public void initializeMethodParameters(PageLifecycleContext context, oracle.adf.model.OperationBinding actionBinding)
PageLifecycleinitializeMethodParameters in class PageLifecyclecontext - the PageLifecycle contextactionBinding - the action binding object to initialize