Class InitializeComponentPhase

java.lang.Object
org.kuali.rice.krad.uif.lifecycle.ViewLifecyclePhaseBase
org.kuali.rice.krad.uif.lifecycle.InitializeComponentPhase
All Implemented Interfaces:
Runnable, LifecycleElementState, ViewLifecyclePhase

public class InitializeComponentPhase extends ViewLifecyclePhaseBase
Lifecycle phase processing task for initializing a component.

During the initialize phase each component of the tree is invoked to setup state based on the configuration and request options.

The initialize phase is only called once per View lifecycle

Note the View instance also contains the context Map that was created based on the parameters sent to the view service

Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • InitializeComponentPhase

      public InitializeComponentPhase()
  • Method Details

    • getViewPhase

      public String getViewPhase()
      Gets the view lifecycle phase constant that corresponds to this phase processing task.
      Returns:
      UifConstants.ViewPhases.INITIALIZE
      See Also:
    • getStartViewStatus

      public String getStartViewStatus()
      Gets the expected view status prior to phase execution. return UifConstants.ViewStatus.CREATED
      Returns:
      expected view status prior to phase execution
    • getEndViewStatus

      public String getEndViewStatus()
      Gets the expected view status after phase execution.
      Returns:
      UifConstants.ViewStatus.INITIALIZED
    • getEventToNotify

      public ViewLifecycle.LifecycleEvent getEventToNotify()
      Gets the event to notify on completion.
      Returns:
      lifecycle event to notify on completion
      See Also: