Class ViewLifecycleBuild
java.lang.Object
org.kuali.rice.krad.uif.lifecycle.ViewLifecycleBuild
- All Implemented Interfaces:
Runnable
Perform the lifecycle process for the view or a component.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidInvokes the view helper to populate view attributes from request parameters, then makes a back up of the view request parameters on the form.voidrun()Runs the three lifecycle phases and performs post finalize processing.protected voidRuns the apply model lifecycle phase.protected voidRuns the finalize lifecycle phase.protected voidRuns the initialize lifecycle phase.
-
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 outrefreshPathMappings-
-
-
Method Details
-
run
public void run()Runs the three lifecycle phases and performs post finalize processing. -
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.
-