Package | Description |
---|---|
com.caucho.amber | |
com.caucho.amber.entity | |
com.caucho.amber.expr | |
com.caucho.amber.manager | |
com.caucho.amber.query | |
com.caucho.amber.type |
Modifier and Type | Method and Description |
---|---|
EntityItem |
EnvAmberManager.getEntity(EntityType rootType,
java.lang.Object key)
Returns the query result.
|
EntityItem |
EnvAmberManager.getEntityItem(java.lang.String homeName,
java.lang.Object key)
Returns the entity item.
|
EntityItem |
EnvAmberManager.putEntity(EntityType rootType,
java.lang.Object key,
EntityItem entity)
Sets the entity result.
|
EntityItem |
EnvAmberManager.removeEntity(EntityType rootType,
java.lang.Object key)
Remove the entity result.
|
Modifier and Type | Method and Description |
---|---|
EntityItem |
EnvAmberManager.putEntity(EntityType rootType,
java.lang.Object key,
EntityItem entity)
Sets the entity result.
|
Modifier and Type | Class and Description |
---|---|
class |
CacheableEntityItem
An entity item handles the living entities.
|
class |
XAEntityItem
An entity item handles the living entities.
|
Modifier and Type | Method and Description |
---|---|
EntityItem |
Entity.__caucho_getCacheItem()
Gets the __caucho_item.
|
EntityItem |
Entity.__caucho_home_find(AmberConnection aConn,
AmberEntityHome home,
java.sql.ResultSet rs,
int index)
Loads the entity from the database.
|
EntityItem |
AmberEntityHome.findDiscriminatorEntityItem(AmberConnection aConn,
java.lang.Object key,
java.lang.String discriminator)
Loads an entity where the type is determined by a discriminator
|
EntityItem |
AmberEntityHome.findEntityItem(AmberConnection aConn,
java.lang.Object key) |
EntityItem |
AmberEntityHome.findItem(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Finds by the primary key.
|
EntityItem |
AmberEntityHome.setEntityItem(java.lang.Object key,
EntityItem item)
Loads an entity based on the primary key.
|
Modifier and Type | Method and Description |
---|---|
Entity |
Entity.__caucho_home_new(AmberEntityHome home,
java.lang.Object key,
AmberConnection aConn,
EntityItem cacheItem)
Returns a new entity.
|
void |
Entity.__caucho_makePersistent(AmberConnection aConn,
EntityItem item)
Makes the entity persistent.
|
void |
Entity.__caucho_setCacheItem(EntityItem item)
Sets the __caucho_item.
|
boolean |
RowInvalidateCompletion.complete(EntityType entityType,
java.lang.Object key,
EntityItem entityItem)
Code when the transaction completes.
|
boolean |
TableInvalidateCompletion.complete(EntityType rootType,
java.lang.Object key,
EntityItem entityItem)
Code when the transaction completes.
|
boolean |
RowInsertCompletion.complete(EntityType rootType,
java.lang.Object key,
EntityItem entityItem)
Code when the transaction completes.
|
boolean |
AmberCompletion.complete(EntityType rootType,
java.lang.Object key,
EntityItem entityItem)
Code when the transaction completes.
|
java.lang.Object |
EntityFactory.getEntity(AmberConnection aConn,
EntityItem item)
Gets the appropriate entity given the EntityItem.
|
EntityItem |
AmberEntityHome.setEntityItem(java.lang.Object key,
EntityItem item)
Loads an entity based on the primary key.
|
Modifier and Type | Method and Description |
---|---|
EntityItem |
AmberExpr.findItem(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the object for the expr.
|
EntityItem |
LoadEntityExpr.findItem(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the object for the expr.
|
EntityItem |
AbstractAmberExpr.findItem(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the object for the expr.
|
EntityItem |
LoadEntityExpr.findItem(AmberConnection aConn,
java.sql.ResultSet rs,
int index,
java.util.Map<AmberExpr,java.lang.String> joinFetchMap)
Returns the object for the expr.
|
Modifier and Type | Method and Description |
---|---|
EntityItem |
AmberConnection.findEntityItem(java.lang.String name,
java.lang.Object key)
Loads the object with the given class.
|
EntityItem |
AmberPersistenceUnit.getEntity(EntityKey entityKey)
Returns the entity with the given key.
|
EntityItem |
AmberPersistenceUnit.getEntity(EntityType rootType,
java.lang.Object key)
Returns the entity with the given key.
|
EntityItem |
AmberPersistenceUnit.getEntityItem(java.lang.String homeName,
java.lang.Object key)
Returns the entity item.
|
EntityItem |
AmberConnection.getSubEntityCacheItem(java.lang.Class cl,
java.lang.Object key)
Gets the cache item referenced by __caucho_item
from an entity of class/subclass cl.
|
EntityItem |
AmberConnection.loadCacheItem(java.lang.Class cl,
java.lang.Object key,
AmberEntityHome entityHome) |
EntityItem |
AmberPersistenceUnit.putEntity(java.lang.Class cl,
java.lang.Object key,
EntityItem entity)
Sets the entity result.
|
EntityItem |
AmberPersistenceUnit.putEntity(EntityType rootType,
java.lang.Object key,
EntityItem entity)
Sets the entity result.
|
EntityItem |
AmberPersistenceUnit.removeEntity(EntityType rootType,
java.lang.Object key)
Remove the entity result.
|
EntityItem |
AmberConnection.setEntityItem(java.lang.String name,
java.lang.Object key,
EntityItem item)
Loads the object with the given class.
|
Modifier and Type | Method and Description |
---|---|
Entity |
AmberConnection.getEntity(EntityItem item)
Returns the entity for the connection.
|
Entity |
AmberConnection.getEntityLazy(EntityItem item)
Returns the entity for the connection.
|
java.lang.Object |
AmberConnection.loadProxy(EntityItem entityItem)
Loads the CMP 2.1 object for the given entityItem
|
EntityItem |
AmberPersistenceUnit.putEntity(java.lang.Class cl,
java.lang.Object key,
EntityItem entity)
Sets the entity result.
|
EntityItem |
AmberPersistenceUnit.putEntity(EntityType rootType,
java.lang.Object key,
EntityItem entity)
Sets the entity result.
|
EntityItem |
AmberConnection.setEntityItem(java.lang.String name,
java.lang.Object key,
EntityItem item)
Loads the object with the given class.
|
void |
AmberPersistenceUnit.updateCacheItem(EntityType rootType,
java.lang.Object key,
EntityItem cacheItem)
Updates the cache item after commit.
|
Modifier and Type | Method and Description |
---|---|
EntityItem |
ResultSetImpl.findEntityItem(int column)
Returns the object value for the column.
|
Modifier and Type | Method and Description |
---|---|
EntityItem |
EntityType.findItem(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Finds the object
|
EntityItem |
AmberType.findItem(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Finds the object
|