org.kuali.rice.krad.uif.lifecycle
Class InitializeComponentPhase

java.lang.Object
  extended by org.kuali.rice.krad.uif.lifecycle.AbstractViewLifecyclePhase
      extended by org.kuali.rice.krad.uif.lifecycle.InitializeComponentPhase
All Implemented Interfaces:
Runnable, ViewLifecyclePhase

public class InitializeComponentPhase
extends AbstractViewLifecyclePhase

Lifecycle phase processing task for initializing a component.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
InitializeComponentPhase()
           
 
Method Summary
 String getEndViewStatus()
          Get the expected view status after phase execution.
 ViewLifecycle.LifecycleEvent getEventToNotify()
          Get the event to notify on completion.
 String getStartViewStatus()
          Get the expected view status prior to phase execution.
 String getViewPhase()
          Get the view lifecycle phase constant that corresponds to this phase processing task.
protected  void initializePendingTasks(Queue<ViewLifecycleTask> tasks)
          Queues initialization phase tasks.
protected  void initializeSuccessors(Queue<ViewLifecyclePhase> successors)
          Define all nested lifecycle components, and component prototypes, as successors.
 
Methods inherited from class org.kuali.rice.krad.uif.lifecycle.AbstractViewLifecyclePhase
addTask, getActiveTask, getComponent, getModel, getPendingTasks, getPredecessors, getSuccessors, isComplete, isProcessed, isReadyToRecycle, notifyCompleted, prepare, recycle, run, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InitializeComponentPhase

public InitializeComponentPhase()
Method Detail

getViewPhase

public String getViewPhase()
Description copied from interface: ViewLifecyclePhase
Get the view lifecycle phase constant that corresponds to this phase processing task.

Returns:
The view lifecycle phase constant that corresponds to this phase processing task.
See Also:
ViewLifecyclePhase.getViewPhase()

getStartViewStatus

public String getStartViewStatus()
Description copied from interface: ViewLifecyclePhase
Get the expected view status prior to phase execution.

Returns:
The expected view status prior to phase execution.
See Also:
ViewLifecyclePhase.getStartViewStatus()

getEndViewStatus

public String getEndViewStatus()
Description copied from interface: ViewLifecyclePhase
Get the expected view status after phase execution.

Returns:
The expected view status after phase execution.
See Also:
ViewLifecyclePhase.getEndViewStatus()

getEventToNotify

public ViewLifecycle.LifecycleEvent getEventToNotify()
Description copied from interface: ViewLifecyclePhase
Get the event to notify on completion.

Returns:
The lifecycle event to notify on completion.
See Also:
ViewLifecyclePhase.getEventToNotify()

initializePendingTasks

protected void initializePendingTasks(Queue<ViewLifecycleTask> tasks)
Queues initialization phase tasks.

Specified by:
initializePendingTasks in class AbstractViewLifecyclePhase
Parameters:
tasks - The queue of tasks to perform.

initializeSuccessors

protected void initializeSuccessors(Queue<ViewLifecyclePhase> successors)
Define all nested lifecycle components, and component prototypes, as successors.

Specified by:
initializeSuccessors in class AbstractViewLifecyclePhase
See Also:
org.kuali.rice.krad.uif.lifecycle.AbstractViewLifecyclePhase#initializeSuccessors(java.util.List)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.