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.
|
afterPrepare, getCurrentTask, getDepth, getElement, getNestedPropertiesForRefreshPath, getParent, getParentPath, getPredecessor, getViewPath, hasPendingSuccessors, initializeAllLifecycleSuccessors, initializeRefreshPathSuccessors, initializeSuccessor, isComplete, isProcessed, notifyCompleted, prepareElement, prepareView, processSuccessors, removePendingSuccessor, run, setNextPhase, setPredecessor, setRefreshPaths, setSkipLifecycleTasks, setTasks, setViewPath, shouldSkipLifecycle, toString, trace, validateBeforeProcessing
public FinalizeComponentPhase()
public void recycle()
recycle
in interface ViewLifecyclePhase
recycle
in class ViewLifecyclePhaseBase
public String getViewPhase()
UifConstants.ViewPhases
public String getStartViewStatus()
public String getEndViewStatus()
public ViewLifecycle.LifecycleEvent getEventToNotify()
ViewLifecycle.LifecycleEvent
protected void verifyCompleted()
verifyCompleted
in class ViewLifecyclePhaseBase
protected 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 ViewLifecyclePhaseBase
successors
- The queue of successor phasesCopyright © 2005–2014 The Kuali Foundation. All rights reserved.