Class RenderComponentPhase
java.lang.Object
org.kuali.rice.krad.uif.lifecycle.ViewLifecyclePhaseBase
org.kuali.rice.krad.uif.lifecycle.RenderComponentPhase
- All Implemented Interfaces:
Runnable,LifecycleElementState,ViewLifecyclePhase
Lifecycle phase processing task for rendering a component.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
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.protected ViewLifecyclePhaseinitializeSuccessor(LifecycleElement nestedElement, String nestedPath, Component parent) Initializes a successor of this phase for a given nested element.protected voidinitializeSuccessors(Queue<ViewLifecyclePhase> successors) Initializes queue of successor phases.voidrecycle()Resets this phase for recycling.protected voidVerify that the all pending children have completed.Methods inherited from class org.kuali.rice.krad.uif.lifecycle.ViewLifecyclePhaseBase
getCurrentTask, getDepth, getElement, getNestedPropertiesForRefreshPath, getParent, getParentPath, getPredecessor, getRefreshPaths, getViewPath, hasPendingSuccessors, initializeAllLifecycleSuccessors, initializeRefreshPathSuccessors, isComplete, isProcessed, notifyCompleted, prepare, processSuccessors, removePendingSuccessor, run, setNextPhase, setPredecessor, setRefreshPaths, setSkipLifecycleTasks, setTasks, setViewPath, shouldSkipLifecycle, toString, trace, validateBeforeProcessing
-
Constructor Details
-
RenderComponentPhase
public RenderComponentPhase()
-
-
Method Details
-
recycle
public void recycle()Resets this phase for recycling.- Specified by:
recyclein interfaceViewLifecyclePhase- Overrides:
recyclein classViewLifecyclePhaseBase
-
getViewPhase
Gets the view lifecycle phase constant that corresponds to this phase processing task.- Returns:
- UifConstants.ViewPhases.RENDER
- See Also:
-
getStartViewStatus
Gets the expected view status prior to phase execution.- Returns:
- UifConstants.ViewStatus.FINAL
-
getEndViewStatus
Gets the expected view status after phase execution.- Returns:
- UifConstants.ViewStatus.RENDERED
-
getEventToNotify
Gets the event to notify on completion.- Returns:
- lifecycle event to notify on completion
- See Also:
-
verifyCompleted
protected void verifyCompleted()Verify that the all pending children have completed.- Overrides:
verifyCompletedin classViewLifecyclePhaseBase
-
initializeSuccessors
Initializes queue of successor phases.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.
- Overrides:
initializeSuccessorsin classViewLifecyclePhaseBase- Parameters:
successors- The queue of successor phases
-
initializeSuccessor
protected ViewLifecyclePhase initializeSuccessor(LifecycleElement nestedElement, String nestedPath, Component parent) Initializes a successor of this phase for a given nested element.- Overrides:
initializeSuccessorin classViewLifecyclePhaseBase- Parameters:
nestedElement- The lifecycle elementnestedPath- The path, relative to the parent elementparent- The parent component of the nested element refresh)- Returns:
- successor phase
-