|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.model.BaseDataControlPolicyImpl
public class BaseDataControlPolicyImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.adf.model.DataControlPolicy |
---|
DataControlPolicy.ReleasePolicy |
Field Summary | |
---|---|
protected java.lang.String |
mName |
protected DataControlPolicy.ReleasePolicy |
mReleasePolicy |
protected java.lang.String |
mTransactionPolicy |
Fields inherited from interface oracle.adf.model.DataControlPolicy |
---|
TRANSACTION_POLICY_NEW, TRANSACTION_POLICY_NONE |
Constructor Summary | |
---|---|
BaseDataControlPolicyImpl(java.lang.String name, java.lang.String transactionPolicy, DataControlPolicy.ReleasePolicy releasePolicy) |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String mName
protected java.lang.String mTransactionPolicy
protected DataControlPolicy.ReleasePolicy mReleasePolicy
Constructor Detail |
---|
public BaseDataControlPolicyImpl(java.lang.String name, java.lang.String transactionPolicy, DataControlPolicy.ReleasePolicy releasePolicy)
name
- Name of the policy. This should be the name of the datacontrol that this policy would apply to. For default policy, this can ben null.transactionPolicy
- the transaction policy for this datacontrol policy. See DataControlPolicy.getTransactionPolicy for valid values.releasePolicy
- the release policy for this datacontrol policy. See DataControlPolicy.getReleasePolicy for valid values.Method Detail |
---|
public java.lang.String getName()
getName
in interface DataControlPolicy
public java.lang.String getTransactionPolicy()
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. For example, if a transaction is started from frameA, and this frame participates in that same transaction, getTransactionPolicy() should return "frameA".
getTransactionPolicy
in interface DataControlPolicy
public DataControlPolicy.ReleasePolicy getReleasePolicy()
getReleasePolicy
in interface DataControlPolicy
public DCDataControl getDataControl()
getDataControl
in interface DataControlPolicy
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |