|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EntityImpl | |
oracle.jbo.server | Contains the implementation of middle tier components. |
oracle.jbo.server.ejb.facade |
Uses of EntityImpl in oracle.jbo.server |
Methods in oracle.jbo.server that return EntityImpl | |
protected EntityImpl[] |
ViewRowImpl.createEntities()
Creates blank instances of the Entity Objects that this row is composed of. |
EntityImpl |
ViewRowImpl.getEntity(int index)
Gets the Entity at the given index. |
EntityImpl[] |
ViewRowImpl.getEntities()
Gets an array of Entity objects. |
EntityImpl |
NullDBTransactionImpl.createEntityInstance(EntityDefImpl entityDef,
AttributeList al)
Deprecated. Implementation of the DBTransaction interface. |
EntityImpl |
NullDBTransactionImpl.createEntityInstance(java.lang.String entityDefName,
AttributeList al)
Deprecated. Implementation of the DBTransaction interface. |
EntityImpl |
NullDBTransactionImpl.findByPrimaryKey(EntityDefImpl entityDef,
Key key)
Deprecated. Implementation of the DBTransaction interface. |
EntityImpl |
NullDBTransactionImpl.findByPrimaryKey(java.lang.String entityDefName,
Key key)
Deprecated. Implementation of the DBTransaction interface. |
protected EntityImpl |
EntityImpl.getContainerEntity()
Returns this entity's container in a composition association if any. |
EntityImpl |
EntityEvent.getEntity()
Gets the Entity Object that fired the event. |
EntityImpl |
EntityDefImpl.findByPrimaryKey(DBTransaction txn,
Key key)
Finds an Entity Object given a Primary Key. |
protected EntityImpl |
EntityDefImpl.createInstance(DBTransaction txn,
AttributeList al)
Instantiate an instance of the Entity . |
protected EntityImpl |
EntityDefImpl.createBlankInstance(DBTransaction txn)
Internal: Applications should not use this method. |
protected EntityImpl |
EntityCache.add(EntityImpl srow)
Add an Entity to the cache. |
protected EntityImpl |
EntityCache.removeRowByDeletedPK(EntityImpl srow)
|
protected EntityImpl |
EntityCache.removeRowByOldPK(EntityImpl srow)
|
protected EntityImpl |
EntityCache.removeRow(EntityImpl srow)
Remove a EntityImpl from the cache. |
EntityImpl |
DBTransactionImpl2.createEntityInstance(EntityDefImpl entityDef,
AttributeList al)
Implementation of createEntityInstance
method. |
EntityImpl |
DBTransactionImpl2.createEntityInstance(java.lang.String entityDefName,
AttributeList al)
Implementation of createEntityInstance
method. |
EntityImpl |
DBTransactionImpl2.findByPrimaryKey(EntityDefImpl entityDef,
Key key)
Implementation of findByPrimaryKey
method. |
EntityImpl |
DBTransactionImpl2.findByPrimaryKey(java.lang.String entityDefName,
Key key)
Implementation of findByPrimaryKey
method. |
EntityImpl |
DBTransactionImpl.createEntityInstance(EntityDefImpl entityDef,
AttributeList al)
Creates an EntityImpl object based on the given defintion, in the context
of the root Application Module. |
EntityImpl |
DBTransactionImpl.createEntityInstance(java.lang.String entityDefName,
AttributeList al)
Creates an EntityImpl object based on the given defintion, in the context
of the root Application Module. |
EntityImpl |
DBTransactionImpl.findByPrimaryKey(EntityDefImpl entityDef,
Key key)
Finds an Entity Object in this transaction given an EntityDef object and a Primary Key. |
EntityImpl |
DBTransactionImpl.findByPrimaryKey(java.lang.String entityDefName,
Key key)
Finds an Entity Object in this transaction given the String name of the EntityDef and a Primary Key. |
EntityImpl |
DBTransaction.createEntityInstance(EntityDefImpl entityDef,
AttributeList al)
Creates an EntityImpl instance based on the given defintion. |
EntityImpl |
DBTransaction.createEntityInstance(java.lang.String entityDefName,
AttributeList al)
Creates an EntityImpl instance based on the named defintion. |
EntityImpl |
DBTransaction.findByPrimaryKey(EntityDefImpl entityDef,
Key key)
Finds an Entity Object in this transaction given a Primary Key. |
EntityImpl |
DBTransaction.findByPrimaryKey(java.lang.String entityDefName,
Key key)
Finds an Entity Object in this transaction given a Primary Key. |
Methods in oracle.jbo.server with parameters of type EntityImpl | |
protected Row[] |
ViewRowSetImpl.getRows(EntityImpl entity)
Returns an array of view rows that use the specified entity row. |
protected void |
ViewRowImpl.setEntities(EntityImpl[] rows)
Sets the entities that this view row is composed of. |
protected void |
ViewRowImpl.setEntity(int index,
EntityImpl row)
Sets the entity (at index ) for this view row. |
void |
SQLBuilder.doEntityDML(EntityImpl enrt,
int operation,
TransactionEvent e)
Performs the appropriate SQL Data Manipulation Language (DML) operations on the database to reflect an update, delete or insert operation on an Entity Object. |
java.lang.StringBuffer |
SQLBuilder.buildInsertStatement(EntityImpl entityContext,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
boolean batchMode)
|
java.lang.StringBuffer |
SQLBuilder.buildUpdateStatement(EntityImpl entityContext,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
boolean batchMode)
|
java.lang.StringBuffer |
SQLBuilder.buildDeleteStatement(EntityImpl entityContext)
|
int |
SQLBuilder.bindInsertStatement(EntityImpl entityContext,
java.sql.PreparedStatement stmt,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
com.sun.java.util.collections.HashMap retrList,
boolean batchMode)
|
int |
SQLBuilder.bindUpdateStatement(EntityImpl entityContext,
java.sql.PreparedStatement stmt,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
com.sun.java.util.collections.HashMap retrList,
boolean batchMode)
|
int |
SQLBuilder.bindDeleteStatement(EntityImpl entityContext,
java.sql.PreparedStatement stmt)
|
int |
SQLBuilder.bindWhereClause(EntityImpl entityContext,
java.sql.PreparedStatement stmt,
java.lang.Object rowid,
int bindIndex)
|
int |
SQLBuilder.bindWhereClause(EntityImpl entityContext,
java.sql.PreparedStatement stmt,
AttributeDefImpl[] retrKeyCols,
java.lang.Object rowid,
int bindIndex)
|
void |
SQLBuilder.doEntitySelect(EntityImpl e,
boolean lock)
Perform the appropriate SQL operations to execute a select operation on an Entity Object. |
java.lang.Object |
SQLBuilder.generateRowID(EntityImpl e)
Generates a ROWID for an Entity Object. |
java.lang.Object |
SQLBuilder.generatePKBasedRef(EntityImpl entityContext)
Generates a PK-Based REF for an Entity Object. |
java.lang.Object[] |
SQLBuilder.generateRefAndOID(EntityImpl e)
Generates an object Ref and OID for an Entity Object. |
void |
SQLBuilder.doRefreshSQL(EntityImpl entityContext,
int operation,
AttributeDefImpl[] columns,
AttributeDefImpl[] keyCols)
|
void |
SQLBuilder.buildWhereClause(EntityImpl entityContext,
java.lang.StringBuffer buffer,
AttributeDefImpl[] keyCols,
java.lang.Object rowid)
|
boolean |
SQLBuilder.compareFetchedValue(EntityImpl entity,
AttributeDefImpl ad,
java.lang.Object cacheValue,
java.lang.Object fetchedValue)
Compare the cacheValue with fetchedValue and if they are equal return true This api is used when comparing cached entity with a faulted in entity. |
protected int[] |
QueryCollection.getIndexes(EntityImpl row)
|
protected void |
QueryCollection.afterRemove(EntityImpl entity)
Removes the ViewRow from cache and collection |
protected Row[] |
QueryCollection.getRows(EntityImpl row)
|
protected void |
QueryCollection.removeReference(ViewRowImpl row,
EntityImpl entity)
Remove entity references, i.e, set references to null |
protected void |
QueryCollection.updateReference(ViewRowImpl row,
EntityImpl entity,
int entityIndex)
Set reference entity based on foreign keys |
void |
OracleSQLBuilderImpl.doEntityDML(EntityImpl entityContext,
int operation,
TransactionEvent e)
This is where an entity DML gets executed. |
void |
OracleSQLBuilderImpl.doEntitySelect(EntityImpl entityContext,
boolean lock)
|
java.lang.StringBuffer |
OracleSQLBuilderImpl.buildUpdateStatement(EntityImpl entityContext,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
boolean batchMode)
DOCTD: Method declaration TODO: KM _ don't like the fact that this requires an entitydef |
int |
OracleSQLBuilderImpl.bindInsertStatement(EntityImpl entityContext,
java.sql.PreparedStatement stmt,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
com.sun.java.util.collections.HashMap retrList,
boolean batchMode)
DOCTD: Method declaration |
int |
OracleSQLBuilderImpl.bindUpdateStatement(EntityImpl entityContext,
java.sql.PreparedStatement stmt,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
com.sun.java.util.collections.HashMap retrList,
boolean batchMode)
DOCTD: Method declaration |
protected int |
OracleSQLBuilderImpl.bindWhereAttrValue(EntityImpl entityContext,
DBTransactionImpl trans,
java.sql.PreparedStatement stmt,
AttributeDefImpl attrDef,
int bindIndex,
boolean skipNull)
|
protected java.lang.Object |
OracleSQLBuilderImpl.getROWID(EntityImpl entityContext)
Get the ROWID attribute. |
void |
OracleSQLBuilderImpl.buildWhereClause(EntityImpl entityContext,
java.lang.StringBuffer buffer,
AttributeDefImpl[] keyCols,
java.lang.Object rowid)
Construct a SQL WHERE clause for the Entity into the designated Buffer, based upon the Source Columns. |
void |
OracleSQLBuilderImpl.buildOptUpdateWhereClause(EntityImpl entityContext,
java.lang.StringBuffer buffer,
AttributeDefImpl[] cols)
|
java.lang.StringBuffer |
OracleSQLBuilderImpl.buildInsertStatement(EntityImpl entityContext,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
boolean batchMode)
Construct a SQL INSERT statement |
java.lang.StringBuffer |
OracleSQLBuilderImpl.buildDeleteStatement(EntityImpl entityContext)
Construct a SQL INSERT statement |
java.lang.Object |
OracleSQLBuilderImpl.generatePKBasedRef(EntityImpl entityContext)
|
java.lang.Object[] |
OracleSQLBuilderImpl.generateRefAndOID(EntityImpl entityContext)
|
protected java.lang.String |
OracleSQLBuilderImpl.getSqlVariantLockTrailer(EntityImpl entityContext)
|
boolean |
OracleSQLBuilderImpl.compareFetchedValue(EntityImpl entity,
AttributeDefImpl ad,
java.lang.Object cacheValue,
java.lang.Object fetchedValue)
Override for Oracle because in OracleDB, in cache we may have "" string that was posted and DB assumes that string as null and returns null on fetch again. |
protected EntityImpl |
EntityCache.add(EntityImpl srow)
Add an Entity to the cache. |
protected void |
EntityCache.addRowByDeletedPK(Key pkey,
EntityImpl srow)
|
protected EntityImpl |
EntityCache.removeRowByDeletedPK(EntityImpl srow)
|
protected EntityImpl |
EntityCache.removeRowByOldPK(EntityImpl srow)
|
protected EntityImpl |
EntityCache.removeRow(EntityImpl srow)
Remove a EntityImpl from the cache. |
protected void |
EntityCache.replace(EntityImpl srow,
Key okey)
Remove a row in cache and add it in using the new key values. |
protected boolean |
BaseSQLBuilderImpl.shouldSkipDML(EntityImpl entityContext,
int operation,
TransactionEvent e)
|
void |
BaseSQLBuilderImpl.doEntityDML(EntityImpl entityContext,
int operation,
TransactionEvent e)
|
void |
BaseSQLBuilderImpl.doEntitySelect(EntityImpl entityContext,
boolean lock)
|
java.lang.Object |
BaseSQLBuilderImpl.generatePKBasedRef(EntityImpl entityContext)
Initial (temporay) value for ROWID, so that entity can be added in cache TODO: this is an awkward piece of non-generic JDBC - not sure how to emulate rowids in the generic case |
java.lang.Object[] |
BaseSQLBuilderImpl.generateRefAndOID(EntityImpl entityContext)
|
java.lang.Object |
BaseSQLBuilderImpl.generateRowID(EntityImpl entityContext)
|
java.lang.StringBuffer |
BaseSQLBuilderImpl.buildUpdateStatement(EntityImpl entityContext,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
boolean batchMode)
DOCTD: Method declaration TODO: KM _ don't like the fact that this requires an entitydef |
int |
BaseSQLBuilderImpl.bindInsertStatement(EntityImpl entityContext,
java.sql.PreparedStatement stmt,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
com.sun.java.util.collections.HashMap retrList,
boolean batchMode)
DOCTD: Method declaration |
int |
BaseSQLBuilderImpl.bindUpdateStatement(EntityImpl entityContext,
java.sql.PreparedStatement stmt,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
com.sun.java.util.collections.HashMap retrList,
boolean batchMode)
DOCTD: Method declaration |
int |
BaseSQLBuilderImpl.bindDeleteStatement(EntityImpl entityContext,
java.sql.PreparedStatement stmt)
|
protected int |
BaseSQLBuilderImpl.bindWhereAttrValue(EntityImpl entityContext,
DBTransactionImpl trans,
java.sql.PreparedStatement stmt,
AttributeDefImpl attrDef,
int bindIndex,
boolean skipNull)
|
int |
BaseSQLBuilderImpl.bindWhereClause(EntityImpl entityContext,
java.sql.PreparedStatement stmt,
java.lang.Object rowid,
int bindIndex)
Bind the Primary key values for the designated Statement. |
int |
BaseSQLBuilderImpl.bindWhereClause(EntityImpl entityContext,
java.sql.PreparedStatement stmt,
AttributeDefImpl[] keyCols,
java.lang.Object rowid,
int bindIndex)
|
int |
BaseSQLBuilderImpl.bindOptUpdateWhereClause(EntityImpl entityContext,
java.sql.PreparedStatement stmt,
int bindIndex)
|
protected java.lang.Object |
BaseSQLBuilderImpl.getROWID(EntityImpl entityContext)
Get the ROWID attribute. |
void |
BaseSQLBuilderImpl.buildWhereClause(EntityImpl entityContext,
java.lang.StringBuffer buffer,
AttributeDefImpl[] keyCols,
java.lang.Object rowid)
Construct a SQL WHERE clause for the Entity into the designated Buffer, based upon the Source Columns. |
void |
BaseSQLBuilderImpl.buildOptUpdateWhereClause(EntityImpl entityContext,
java.lang.StringBuffer buffer,
AttributeDefImpl[] cols)
|
java.lang.StringBuffer |
BaseSQLBuilderImpl.buildInsertStatement(EntityImpl entityContext,
AttributeDefImpl[] cols,
AttributeDefImpl[] retrCols,
AttributeDefImpl[] retrKeyCols,
boolean batchMode)
Construct a SQL INSERT statement |
java.lang.StringBuffer |
BaseSQLBuilderImpl.buildDeleteStatement(EntityImpl entityContext)
Construct a SQL INSERT statement |
void |
BaseSQLBuilderImpl.doRefreshSQL(EntityImpl entityContext,
int operation,
AttributeDefImpl[] columns,
AttributeDefImpl[] retrKeyCols)
|
boolean |
BaseSQLBuilderImpl.compareFetchedValue(EntityImpl entity,
AttributeDefImpl ad,
java.lang.Object cacheValue,
java.lang.Object fetchedValue)
|
Constructors in oracle.jbo.server with parameters of type EntityImpl | |
EntityEvent(EntityImpl source,
int eventType,
int oldState,
int[] changedColumns,
java.lang.Object[] origValues)
Constructs a new Entity Object event. |
|
EntityEvent(EntityImpl source,
int eventType,
int oldState,
int[] changedColumns,
java.lang.Object[] origValues,
Key newKey)
|
Uses of EntityImpl in oracle.jbo.server.ejb.facade |
Subclasses of EntityImpl in oracle.jbo.server.ejb.facade | |
class |
EntityFacadeImpl
Abstract base class for Entity Facade. |
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1997, 2004, Oracle. All rights reserved.