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 Outcome

All Superinterfaces:
AdfcNode, IdHolder, NodeHolder, UIInfo

public interface Outcome
extends UIInfo

Represents the metadata for the logical outcome of a task flow. A task flow outcome can have an associated task flow reentry and transaction metadata.


Method Summary
 java.lang.String getName()
          A logical outcome name.
 TransactionResolution getTransactionResolution()
          Indicates how ADFC task flow should resolve an existing ADFM transaction.
 boolean isReentryAllowed()
          Specifies if task flow reentry is allowed for outcome dependent reentry.
 boolean shouldRestoreSavePoint()
          Indicates whether a save point should be restored when exiting a task flow that uses an existing transaction (that is, 'Requires Existing Transaction' or 'Requires Transaction').
 
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

getName

java.lang.String getName()
A logical outcome name.

Returns:
outcome's name

getTransactionResolution

TransactionResolution getTransactionResolution()
Indicates how ADFC task flow should resolve an existing ADFM transaction.

Returns:
TransactionResolution.commit, TransactionResolution.rollback or null, if no transaction metadata is available.

isReentryAllowed

boolean isReentryAllowed()
Specifies if task flow reentry is allowed for outcome dependent reentry.

Returns:
true indicates reentry is allowed for this ooutcome.

shouldRestoreSavePoint

boolean shouldRestoreSavePoint()
Indicates whether a save point should be restored when exiting a task flow that uses an existing transaction (that is, 'Requires Existing Transaction' or 'Requires Transaction').

Returns:
true, if save point should be restored, 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.