|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.server.NamedObjectImpl
oracle.jbo.mom.PersistableDefObject
oracle.jbo.server.DefObject
oracle.jbo.server.MetaObject
oracle.jbo.server.ApplicationModuleDefImpl
public class ApplicationModuleDefImpl
Field Summary | |
---|---|
static java.lang.Class |
CLASS_INSTANCE
|
protected boolean |
mClearCacheOnCommit
|
protected boolean |
mClearCacheOnRollback
|
protected boolean |
mRequeryOnCommit
|
Fields inherited from class oracle.jbo.server.MetaObject |
---|
mComponentClass |
Fields inherited from class oracle.jbo.server.DefObject |
---|
DEF_MDS_CLIENT_KEY, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY |
Fields inherited from class oracle.jbo.server.NamedObjectImpl |
---|
mObjName, mParent, mProperties, mUserData, RES_ID_SUFFIX |
Constructor Summary | |
---|---|
ApplicationModuleDefImpl()
|
Method Summary | |
---|---|
oracle.jbo.server.ViewUsage |
findViewObject(java.lang.String name)
|
java.lang.Class |
getBaseComponentClass()
|
protected boolean |
hasApplicationModule(java.lang.String amName)
|
protected boolean |
hasViewLink(java.lang.String vlName)
|
protected boolean |
hasViewObject(java.lang.String voName)
|
boolean |
isClearCacheOnCommit()
Returns the flag indicating whether all Entity Object caches will be cleared after the transaction is committed. |
boolean |
isClearCacheOnRollback()
|
boolean |
isRequeryOnCommit()
Indicates whether View Objects associated with this Application Module should be marked as needing to be executed after a database commit. |
protected ApplicationModule |
loadApplicationModule(ApplicationModule am,
java.lang.String amName)
|
protected void |
loadComponents(ApplicationModuleImpl am)
This function loops through the list of ViewObjects, ViewLinks, and child ApplicationModules found in the ApplicationModule definition and create them in the ApplicationModule instance, identified by am. |
protected ViewLink |
loadViewLink(ApplicationModule am,
java.lang.String vluName)
|
protected ViewObject |
loadViewObject(ApplicationModule am,
java.lang.String voName)
|
void |
setClearCacheOnRollback(boolean b)
|
Methods inherited from class oracle.jbo.server.MetaObject |
---|
getMessageBundleClass, getMsgBundleDef, setComponentClass, setMessageBundleClass |
Methods inherited from class oracle.jbo.mom.PersistableDefObject |
---|
getDefManager, loadXMLContents |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.common.ResourceBundleOwner |
---|
getResourceBundleDef, getResourcePrefix |
Methods inherited from interface oracle.jbo.VariableManagerOwner |
---|
getName |
Field Detail |
---|
public static final java.lang.Class CLASS_INSTANCE
protected boolean mClearCacheOnCommit
protected boolean mRequeryOnCommit
protected boolean mClearCacheOnRollback
Constructor Detail |
---|
public ApplicationModuleDefImpl()
Method Detail |
---|
protected void loadComponents(ApplicationModuleImpl am)
am
- the ApplicationModule in which these components are
created.public oracle.jbo.server.ViewUsage findViewObject(java.lang.String name)
protected ViewObject loadViewObject(ApplicationModule am, java.lang.String voName)
public java.lang.Class getBaseComponentClass()
getBaseComponentClass
in class MetaObject
protected boolean hasViewObject(java.lang.String voName)
protected ApplicationModule loadApplicationModule(ApplicationModule am, java.lang.String amName)
protected ViewLink loadViewLink(ApplicationModule am, java.lang.String vluName)
public boolean isClearCacheOnCommit()
After the transaction is committed, the value of this flag is used to determine whether the Entity Object caches
are cleared or not. If this flag value is false
, the cache contents are kept. In this case, the
cache may contain data that is stale in that it does not match the newest data (changes made by another user and
committed).
If this flag is true
, the caches are cleared after the transaction is committed. When the user
brings in data by traversing row collection, the latest data from the database will be brought into Entity caches.
RowSet.executeQuery()
,
Transaction.isClearCacheOnCommit()
,
Transaction.setClearCacheOnCommit(boolean)
public boolean isRequeryOnCommit()
If this method returns true, then after a database commit, all View Objects contained by this Application Module will be marked as needing to be executed. Any attempt to retrieve rows from these View Objects or their row sets/row set iterators will cause the query to be re-executed.
public boolean isClearCacheOnRollback()
public void setClearCacheOnRollback(boolean b)
protected boolean hasViewLink(java.lang.String vlName)
protected boolean hasApplicationModule(java.lang.String amName)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |