|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.uif.lifecycle.ViewLifecyclePhaseBase org.kuali.rice.krad.uif.lifecycle.InitializeComponentPhase
public class InitializeComponentPhase
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
Constructor Summary | |
---|---|
InitializeComponentPhase()
|
Method Summary | |
---|---|
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 |
initializePendingTasks(Queue<ViewLifecycleTask<?>> tasks)
Queues initialization phase tasks. |
protected ViewLifecyclePhase |
initializeSuccessor(LifecycleElement nestedElement,
String nestedPath,
Component parent)
Initializes a successor of this phase for a given nested element. |
Methods inherited from class org.kuali.rice.krad.uif.lifecycle.ViewLifecyclePhaseBase |
---|
getCurrentTask, getDepth, getElement, getModel, getNestedPropertiesForRefreshPath, getParent, getParentPath, getPredecessor, getRefreshPaths, getViewPath, initializeAllLifecycleSuccessors, initializeRefreshPathSuccessors, initializeSuccessors, isComplete, isProcessed, notifyCompleted, prepare, processSuccessors, recycle, run, setViewPath, shouldSkipLifecycle, toString, trace, validateBeforeProcessing, verifyCompleted |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InitializeComponentPhase()
Method Detail |
---|
public String getViewPhase()
UifConstants.ViewPhases
public String getStartViewStatus()
public String getEndViewStatus()
public ViewLifecycle.LifecycleEvent getEventToNotify()
ViewLifecycle.LifecycleEvent
protected void initializePendingTasks(Queue<ViewLifecycleTask<?>> tasks)
This method will be called before during processing to determine which tasks to perform at this phase.
initializePendingTasks
in class ViewLifecyclePhaseBase
tasks
- The queue of tasks to perform.protected ViewLifecyclePhase initializeSuccessor(LifecycleElement nestedElement, String nestedPath, Component parent)
initializeSuccessor
in class ViewLifecyclePhaseBase
nestedElement
- The lifecycle element.nestedPath
- The path, relative to the parent element.parent
- The parent component of the nested element.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |