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

E10653-01

oracle.adf.model
Interface DataControlPolicy

All Known Implementing Classes:
BaseDataControlPolicyImpl

public interface DataControlPolicy

Since:
11.1.0

Nested Class Summary
static class DataControlPolicy.ReleasePolicy
           
 
Field Summary
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
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. 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.

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

E10653-01

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