public class FinalizeComponentPhase extends ViewLifecyclePhaseBase
The finalize phase is the last phase before the view is rendered. Here final preparations can be made based on the updated view state.
The finalize phase runs after the apply model phase and can be called multiple times for the view's lifecylce (however typically only once per request)
| Constructor and Description |
|---|
FinalizeComponentPhase() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEndViewStatus()
Gets the expected view status after phase execution.
|
ViewLifecycle.LifecycleEvent |
getEventToNotify()
Gets the event to notify on completion.
|
String |
getStartViewStatus()
Gets the expected view status prior to phase execution.
|
String |
getViewPhase()
Gets the view lifecycle phase constant that corresponds to this phase processing task.
|
protected void |
initializeSuccessors(Queue<ViewLifecyclePhase> successors)
Initializes queue of successor phases.
|
void |
recycle()
Resets this phase for recycling.
|
protected void |
verifyCompleted()
Verify that the render phase has no pending children.
|
getCurrentTask, getDepth, getElement, getNestedPropertiesForRefreshPath, getParent, getParentPath, getPredecessor, getRefreshPaths, getViewPath, hasPendingSuccessors, initializeAllLifecycleSuccessors, initializeRefreshPathSuccessors, initializeSuccessor, isComplete, isProcessed, notifyCompleted, prepare, processSuccessors, removePendingSuccessor, run, setNextPhase, setPredecessor, setRefreshPaths, setSkipLifecycleTasks, setTasks, setViewPath, shouldSkipLifecycle, toString, trace, validateBeforeProcessingpublic FinalizeComponentPhase()
public void recycle()
recycle in interface ViewLifecyclePhaserecycle in class ViewLifecyclePhaseBasepublic String getViewPhase()
UifConstants.ViewPhasespublic String getStartViewStatus()
public String getEndViewStatus()
public ViewLifecycle.LifecycleEvent getEventToNotify()
ViewLifecycle.LifecycleEventprotected void verifyCompleted()
verifyCompleted in class ViewLifecyclePhaseBaseprotected void initializeSuccessors(Queue<ViewLifecyclePhase> successors)
This method will be called while processing this phase after all tasks have been performed, to determine phases to queue for successor processing. This phase will not be considered complete until all successors queued by this method, and all subsequent successor phases, have completed processing.
initializeSuccessors in class ViewLifecyclePhaseBasesuccessors - The queue of successor phasesCopyright © 2005–2016 The Kuali Foundation. All rights reserved.