public class ApplyModelComponentPhase extends ViewLifecyclePhaseBase
During the apply model phase each component of the tree if invoked to setup any state based on the given model data
Part of the view lifecycle that applies the model data to the view. Should be called after the model has been populated before the view is rendered. The main things that occur during this phase are:
The update phase can be called multiple times for the view's lifecycle (typically only once per request)
Constructor and Description |
---|
ApplyModelComponentPhase() |
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.
|
boolean |
visit(LifecycleElement element)
Visit a lifecycle element.
|
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
public ApplyModelComponentPhase()
public String getViewPhase()
UifConstants.ViewPhases
public String getStartViewStatus()
public String getEndViewStatus()
public ViewLifecycle.LifecycleEvent getEventToNotify()
ViewLifecycle.LifecycleEvent
public boolean visit(LifecycleElement element)
element
- The lifecycle element (component or layout manager) to mark as visisted.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.