Oracle Fusion Middleware Java API Reference for Oracle ADF Controller
11g Release 1 (11.1.1.1.0)

E10651-02

oracle.adf.controller
Interface TaskFlowContext


public interface TaskFlowContext

Context information associated with a task flow instance. TaskFlowContext for the task flow on top of the stack is EL accessible via "controllerContext" implicit object.
For example: #{controllerContext.currentViewPort.taskFlowContext}


Method Summary
 TaskFlowId getTaskFlowId()
          Returns TaskFlowId corresponding to this context.
 org.apache.myfaces.trinidad.model.MenuModel getTrainModel()
          Returns a train menu model for this task flow, if a task flow represents a train.
 boolean isDataDirty()
          Returns true if task flow contains any uncommitted ADF model data.
 

Method Detail

getTaskFlowId

TaskFlowId getTaskFlowId()
Returns TaskFlowId corresponding to this context.

Returns:
the task flow id

getTrainModel

org.apache.myfaces.trinidad.model.MenuModel getTrainModel()
Returns a train menu model for this task flow, if a task flow represents a train. Otherwise returns null.

Returns:
a train model or null
See Also:
MenuModel

isDataDirty

boolean isDataDirty()
Returns true if task flow contains any uncommitted ADF model data. If task flow is not based on ADF model or all ADF data has been committed, returns false

Returns:
true, if uncommitted ADF model data exists

Oracle Fusion Middleware Java API Reference for Oracle ADF Controller
11g Release 1 (11.1.1.1.0)

E10651-02

Copyright © 1997, 2009, Oracle. All rights reserved.