Oracle Application Development Framework Lifecycle Java API Reference 10g Release 3 (10.1.3) B25779-01


Uses of Class
oracle.adf.controller.v2.context.PageLifecycleContext

Packages that use PageLifecycleContext
oracle.adf.controller.faces.context Contains classes to define and manage the context information specific to the Faces PageLifecycle. 
oracle.adf.controller.faces.lifecycle Contains classes to define and execute the ADF Lifecycle in a Faces application. 
oracle.adf.controller.v2.lifecycle Contains classes definining the phases of the ADF Lifecycle and the order in which they are executed. 
oracle.adf.controller.v2.struts.context Contains classes to define and manage the context information specific to the Struts PageLifecycle. 
oracle.adf.controller.v2.struts.lifecycle Contains classes to define Struts implementation of the ADF Lifecycle. 

 

Uses of PageLifecycleContext in oracle.adf.controller.faces.context

 

Subclasses of PageLifecycleContext in oracle.adf.controller.faces.context
 class FacesPageLifecycleContext
          Custom implementation of the PageLifecycleContext to suit the FacesPageLifecycle.

 

Uses of PageLifecycleContext in oracle.adf.controller.faces.lifecycle

 

Methods in oracle.adf.controller.faces.lifecycle with parameters of type PageLifecycleContext
protected  java.lang.String FacesPageLifecycle.getToken(PageLifecycleContext plContext, RegionBinding bindings)
          Retrieve the token from the UIViewRoot.
protected  void FacesPageLifecycle.registerCustomInputHandler(PageLifecycleContext context)
           
 void FacesPageLifecycle.reportErrors(PageLifecycleContext context)
          Build an error list in a format appropriate for Faces.

 

Uses of PageLifecycleContext in oracle.adf.controller.v2.lifecycle

 

Methods in oracle.adf.controller.v2.lifecycle with parameters of type PageLifecycleContext
 boolean PageLifecycleImpl.shouldAllowModelUpdate(PageLifecycleContext context)
           
 boolean PageLifecycleImpl.hasErrors(PageLifecycleContext context)
          Return true if an error occured during validation. The default implementation looks at the content of the ExceptionList of the BindingContainer to determine if an error occured.
protected  void PageLifecycleImpl.initializeParameterValuesUsingRequestObject(PageLifecycleContext context, OperationBinding actionBinding)
          In model 1 we do not have a way to initialize method parameters.
 void PageLifecycleImpl.initializeMethodParameters(PageLifecycleContext context, OperationBinding actionBinding)
           
 void PageLifecycleImpl.handleError(PageLifecycleContext context, java.lang.Exception ex)
           
 void PageLifecycleImpl.reportErrors(PageLifecycleContext context)
           
protected  java.lang.String PageLifecycleImpl.getToken(PageLifecycleContext context, RegionBinding bindings)
          Retrieve the token from the request
protected  boolean PageLifecycleImpl.shouldValidateToken(PageLifecycleContext context, RegionBinding bindings)
          Checks the request object to see if token validation should occur.
protected  void PageLifecycleImpl.disableTokenValidationForRequest(PageLifecycleContext context)
          Token validation will only occur once-per-request.
protected  void PageLifecycleImpl.processEvent(PageLifecycleContext context, java.lang.String event)
          Process a possible raw event coming as a request parameter.
protected  void PageLifecycleImpl.buildInputValues(PageLifecycleContext context)
          Build a list of all the new submited ADF values from the request parameters.
protected  void PageLifecycleImpl.buildEventList(PageLifecycleContext context)
          Possible events are request parameters named "event" or which name are prefixed with "event_".
protected  void PageLifecycleImpl.registerCustomInputHandler(PageLifecycleContext context)
          Register OrdDomainInputHandler custom input handler to the binding context.
protected  boolean PageLifecycleImpl.handleEvent(PageLifecycleContext context, java.lang.String event)
          Handle an event.
 java.lang.reflect.Method PageLifecycleImpl.getEventMethod(PageLifecycleContext lcContext, java.lang.String eventName)
           
 boolean PageLifecycleImpl.invokeEventMethod(PageLifecycleContext lcContext, java.lang.String eventName)
           
 boolean PageLifecycleImpl.invokeActionBinding(PageLifecycleContext context, java.lang.String event)
           
 void PageLifecycleImpl.findForward(PageLifecycleContext context)
           
protected abstract  void PageLifecycle.findForward(PageLifecycleContext context)
          The path of the next web page is identified using the forwardPath property on the PageLifecycleContext.
 boolean PageController.shouldAllowModelUpdate(PageLifecycleContext context)
           
 boolean PageController.hasErrors(PageLifecycleContext context)
           
 void PageController.handleError(PageLifecycleContext context, java.lang.Exception ex)
           
 void PageController.reportErrors(PageLifecycleContext context)
           
 java.lang.reflect.Method PageController.getEventMethod(PageLifecycleContext lcContext, java.lang.String eventName)
           
 boolean PageController.invokeEventMethod(PageLifecycleContext context, java.lang.String eventName)
           
 boolean PageController.invokeActionBinding(PageLifecycleContext context, java.lang.String event)
           
 void PageController.findForward(PageLifecycleContext context)
           
 void PageController.initializeMethodParameters(PageLifecycleContext context, OperationBinding actionBinding)
           

 

Uses of PageLifecycleContext in oracle.adf.controller.v2.struts.context

 

Subclasses of PageLifecycleContext in oracle.adf.controller.v2.struts.context
 class StrutsPageLifecycleContext
          Lifecycle Context customized to work with Struts PageLifecycle.

 

Uses of PageLifecycleContext in oracle.adf.controller.v2.struts.lifecycle

 

Methods in oracle.adf.controller.v2.struts.lifecycle with parameters of type PageLifecycleContext
protected  void StrutsPageLifecycle.registerCustomInputHandler(PageLifecycleContext context)
          Register formFileInputHandlerName custom input handler to the binding context.
 boolean StrutsPageLifecycle.shouldAllowModelUpdate(PageLifecycleContext plcContext)
           
 void StrutsPageLifecycle.reportErrors(PageLifecycleContext plcContext)
           Retrieves the errors and convert them to Struts errors.
protected  boolean StrutsPageLifecycle.handleEvent(PageLifecycleContext plcContext, java.lang.String event)
          Handle an event. An event handler can be a method defined in a subclass of this PageLifecycle. To be recognized as an event handle the method need to have the following syntax:
 public void onEvent(LifecycleContext ctx)
 {
    // Use the following method to execute the possible
    // action binding associated with this event
    ctx.getEventActionBinding().invoke();
 }
 
Where Event is the name of the event.

An event can also be an action binding with the same name of the event present in the current binding container. In addition to the super class behavior, the event name is used as a automatic forward mechanism.

 void StrutsPageLifecycle.findForward(PageLifecycleContext plcContext)
          Determine the ActionForward that will be returned by the Struts action executing the Lifecycle.
protected  void StrutsPageLifecycle.buildInputValues(PageLifecycleContext plcContext)
          A Struts specific implementation that only deals with values coming from the ADFStrutsForm.

 


Oracle Application Development Framework Lifecycle Java API Reference 10g Release 3 (10.1.3) B25779-01


Copyright © 1997, 2005, Oracle. All rights reserved.