Class ViewLifecycleBuild

java.lang.Object
org.kuali.rice.krad.uif.lifecycle.ViewLifecycleBuild
All Implemented Interfaces:
Runnable

public class ViewLifecycleBuild extends Object implements Runnable
Perform the lifecycle process for the view or a component.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • ViewLifecycleBuild

      public ViewLifecycleBuild(Map<String,String> parameters, Map<String,List<String>> refreshPathMappings)
      Constructor.
      Parameters:
      parameters - Map of key values pairs that provide configuration for the view, this is generally comes from the request and can be the request parameter Map itself. Any parameters not valid for the View will be filtered out
      refreshPathMappings -
  • Method Details

    • run

      public void run()
      Runs the three lifecycle phases and performs post finalize processing.
      Specified by:
      run in interface Runnable
    • populateViewRequestParameters

      protected void populateViewRequestParameters()
      Invokes the view helper to populate view attributes from request parameters, then makes a back up of the view request parameters on the form.
    • runInitializePhase

      protected void runInitializePhase()
      Runs the initialize lifecycle phase.

      First the view helper is invoked to perform any custom processing, then the processor is invoked to perform any tasks for this phase.

    • runApplyModelPhase

      protected void runApplyModelPhase()
      Runs the apply model lifecycle phase.

      Default values are applied and context is setup for expression evaluation. Then the processor is invoked to perform any tasks for this phase.

    • runFinalizePhase

      protected void runFinalizePhase()
      Runs the finalize lifecycle phase.

      Processor is invoked to perform any tasks for this phase.