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
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the expected view status after phase execution.Gets the event to notify on completion.Gets the expected view status prior to phase execution.Gets the view lifecycle phase constant that corresponds to this phase processing task.Methods inherited from class org.kuali.rice.krad.uif.lifecycle.ViewLifecyclePhaseBase
getCurrentTask, getDepth, getElement, getNestedPropertiesForRefreshPath, getParent, getParentPath, getPredecessor, getRefreshPaths, getViewPath, hasPendingSuccessors, initializeAllLifecycleSuccessors, initializeRefreshPathSuccessors, initializeSuccessor, initializeSuccessors, isComplete, isProcessed, notifyCompleted, prepare, processSuccessors, recycle, removePendingSuccessor, run, setNextPhase, setPredecessor, setRefreshPaths, setSkipLifecycleTasks, setTasks, setViewPath, shouldSkipLifecycle, toString, trace, validateBeforeProcessing, verifyCompleted
-
Constructor Details
-
InitializeComponentPhase
public InitializeComponentPhase()
-
-
Method Details
-
getViewPhase
Gets the view lifecycle phase constant that corresponds to this phase processing task.- Returns:
- UifConstants.ViewPhases.INITIALIZE
- See Also:
-
getStartViewStatus
Gets the expected view status prior to phase execution. return UifConstants.ViewStatus.CREATED- Returns:
- expected view status prior to phase execution
-
getEndViewStatus
Gets the expected view status after phase execution.- Returns:
- UifConstants.ViewStatus.INITIALIZED
-
getEventToNotify
Gets the event to notify on completion.- Returns:
- lifecycle event to notify on completion
- See Also:
-