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

E10651-08

oracle.adf.controller.metadata.model
Interface ControlFlowCase

All Superinterfaces:
AdfcNode, IdHolder, NodeHolder, UIInfo

public interface ControlFlowCase
extends UIInfo

A single case in a control flow rule.


Method Summary
 java.lang.String getFromAction()
           
 java.lang.String getFromOutcome()
           
 ActivityId getTargetActivityId()
           
 boolean setFromAction(java.lang.String fromAction)
          Resets the from-action clause for this control flow case or adds a from-action clause if one does not exist.
 boolean setFromOutcome(java.lang.String fromOutcome)
          Adds a from-outcome clause to this control flow case, or changes an existing from-outcome clause.
 boolean setTargetActivityId(java.lang.String toActivityId)
          Resets the to-activity-id clause for this control flow case.
 
Methods inherited from interface oracle.adf.controller.metadata.model.UIInfo
getDescription, getDisplayName, getLargeIcon, getSmallIcon, getUIInfo, setDescription, setDisplayName, setLargeIcon, setSmallIcon
 
Methods inherited from interface oracle.adf.controller.metadata.model.AdfcNode
getParsingContext, validate
 
Methods inherited from interface oracle.adf.controller.metadata.model.IdHolder
getIdAttribute, setIdAttribute
 
Methods inherited from interface oracle.adf.controller.metadata.model.NodeHolder
getNode
 

Method Detail

getFromOutcome

java.lang.String getFromOutcome()
Returns:
the outcome name for this control flow case

getFromAction

java.lang.String getFromAction()
Returns:
the action name for this control flow case

getTargetActivityId

ActivityId getTargetActivityId()
Returns:
the id of an activity that should be executed when the page flow engine matches this control flow case

setFromOutcome

boolean setFromOutcome(java.lang.String fromOutcome)
Adds a from-outcome clause to this control flow case, or changes an existing from-outcome clause.

Parameters:
fromOutcome - new outcome for this control flow case
Returns:
true, if from-outcome was successfully set, false otherwise

setFromAction

boolean setFromAction(java.lang.String fromAction)
Resets the from-action clause for this control flow case or adds a from-action clause if one does not exist.

Parameters:
fromAction - a new from-action name
Returns:
true, if from-action was successfully set, false otherwise

setTargetActivityId

boolean setTargetActivityId(java.lang.String toActivityId)
Resets the to-activity-id clause for this control flow case.

Parameters:
toActivityId - the target activity id
Returns:
true, if to-activity-id was successfully set, false otherwise

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

E10651-08

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