|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jbo.server.EntityCache
The EntityCache caches queried rows for a particular EntityImpl.
Constructor Summary | |
EntityCache() Constructor. |
Method Summary | |
protected EntityImpl |
add(EntityImpl srow) Add an Entity to the cache. |
void |
addEntityListener(EntityListener listener) Add an EntityListener. |
protected void |
clearCache() |
protected void |
closeStatements() |
protected java.sql.PreparedStatement |
createPreparedStatement(java.lang.String sqlString, boolean lock, int noRowsPrefetch) |
protected void |
deliverEntityEvent(EntityEvent event) Notify EntityListeners of a EntityImpl properties or state has changed. |
protected java.sql.Timestamp |
getCurrentDbTime() Get the current database time for DATE History Column. |
protected EntityDefImpl |
getEntityDef() |
protected java.sql.PreparedStatement |
getPreparedSelectStatement(boolean lock) |
protected void |
init(DBTransactionImpl trans, EntityDefImpl entityDef) |
void |
removeEntityListener(EntityListener listener) Remove an EntityListener. |
protected EntityImpl |
removeRow(EntityImpl srow) Remove a EntityImpl from the cache. |
protected void |
replace(EntityImpl srow, Key okey) Remove a row in cache and add it in using the new key values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EntityCache()
Method Detail |
protected void init(DBTransactionImpl trans, EntityDefImpl entityDef)
protected EntityDefImpl getEntityDef()
protected EntityImpl add(EntityImpl srow)
srow
- the row to be added.protected EntityImpl removeRow(EntityImpl srow)
srow
- the row to be removed.protected void clearCache()
public void addEntityListener(EntityListener listener)
listener
- The object to be registered as listener.public void removeEntityListener(EntityListener listener)
listener
- The object to be removed from the list of listeners.protected void deliverEntityEvent(EntityEvent event)
protected void replace(EntityImpl srow, Key okey)
srow
- the row to be replaced.okey
- the original key.protected java.sql.PreparedStatement getPreparedSelectStatement(boolean lock)
protected java.sql.PreparedStatement createPreparedStatement(java.lang.String sqlString, boolean lock, int noRowsPrefetch)
protected void closeStatements()
protected java.sql.Timestamp getCurrentDbTime()
|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.