Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


oracle.adf.model
Interface DataControlPolicy

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
BaseDataControlPolicyImpl

public interface DataControlPolicy
extends java.io.Serializable
Since:
11.1.0

Nested Class Summary
static class DataControlPolicy.ReleasePolicy
           

 

Field Summary
static long serialVersionUID
           
static java.lang.String TRANSACTION_POLICY_JOIN
           
static java.lang.String TRANSACTION_POLICY_NEW
           
static java.lang.String TRANSACTION_POLICY_NONE
           

 

Method Summary
 DCDataControl getDataControl()
          Returns the datacontrol instance for the datacontrol name specified in this policy.
 java.lang.String getName()
          Name of the datacontrol that this datacontrol policy applies to.
 DataControlPolicy.ReleasePolicy getReleasePolicy()
          This methods provides a hint to the datacontrol frame what should be done on this datacontrol when release is called on the frame.
 java.lang.String getTransactionPolicy()
          This methods provides a hint to the datacontrol frame what should be done on this datacontrol when transaction operations are called on the frame.

 

Field Detail

TRANSACTION_POLICY_NEW

static final java.lang.String TRANSACTION_POLICY_NEW
See Also:
Constant Field Values

TRANSACTION_POLICY_NONE

static final java.lang.String TRANSACTION_POLICY_NONE
See Also:
Constant Field Values

TRANSACTION_POLICY_JOIN

static final java.lang.String TRANSACTION_POLICY_JOIN
See Also:
Constant Field Values

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

Method Detail

getName

java.lang.String getName()
Name of the datacontrol that this datacontrol policy applies to. This value is ignored and can be null if this policy is used as a default policy in a datacontrol frame.
Returns:
The name of the datacontrol that this datacontrol policy applies to.

getTransactionPolicy

java.lang.String getTransactionPolicy()
This methods provides a hint to the datacontrol frame what should be done on this datacontrol when transaction operations are called on the frame. Return values are: TRANSACTION_POLICY_NEW if the datacontrol participates in a transaction that is initiated in this datacontrol frame. TRANSACTION_POLICY_NONE if the datacontrol should not participate in any transaction. For example, if the datacontrol is being used in a task flow that does not use transaction. TRANSACTION_POLICY_JOIN if the datacontrol should receive transactional messages though not part of a transaction (Applicable only for MLR Label to be backward compatible). Datacontrol frame name if the datacontrol particpates in an existing transaction that is initiated in another datacontrol frame.
Returns:
The transaction policy for the datacontrol.

getReleasePolicy

DataControlPolicy.ReleasePolicy getReleasePolicy()
This methods provides a hint to the datacontrol frame what should be done on this datacontrol when release is called on the frame.
Returns:
The release policy for the datacontrol.

getDataControl

DCDataControl getDataControl()
Returns the datacontrol instance for the datacontrol name specified in this policy.
Returns:
A Datacontrol instance with the datacontrol name specified in this policy; null if one cannot be found.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


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