|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of AmberConnection in com.caucho.amber |
---|
Methods in com.caucho.amber that return AmberConnection | |
---|---|
AmberConnection |
EnvAmberManager.createAmberConnection(boolean isExtended)
Returns the cache connection. |
Methods in com.caucho.amber with parameters of type AmberConnection | |
---|---|
void |
AmberQuery.init(AmberConnection aConn)
Initialize with the connection. |
Uses of AmberConnection in com.caucho.amber.cfg |
---|
Methods in com.caucho.amber.cfg with parameters of type AmberConnection | |
---|---|
Entity |
EntityResultConfig.load(AmberConnection aConn,
java.sql.ResultSet rs)
|
Uses of AmberConnection in com.caucho.amber.collection |
---|
Methods in com.caucho.amber.collection that return AmberConnection | |
---|---|
AmberConnection |
CollectionImpl.getSession()
Returns the session. |
AmberConnection |
MapImpl.getSession()
Returns the session. |
AmberConnection |
SetImpl.getSession()
Returns the session. |
Methods in com.caucho.amber.collection with parameters of type AmberConnection | |
---|---|
void |
CollectionImpl.setSession(AmberConnection aConn)
Sets the session. |
void |
MapImpl.setSession(AmberConnection aConn)
Sets the session. |
void |
SetImpl.setSession(AmberConnection aConn)
Sets the session. |
Constructors in com.caucho.amber.collection with parameters of type AmberConnection | |
---|---|
CollectionImpl(AmberConnection aConn,
java.lang.String query)
|
|
MapImpl(AmberConnection aConn,
java.lang.String query,
java.lang.reflect.Method methodGetMapKey)
|
|
SetImpl(AmberConnection aConn,
java.lang.String query)
|
Uses of AmberConnection in com.caucho.amber.entity |
---|
Methods in com.caucho.amber.entity that return AmberConnection | |
---|---|
AmberConnection |
Entity.__caucho_getConnection()
Returns the connection. |
Methods in com.caucho.amber.entity with parameters of type AmberConnection | |
---|---|
void |
Entity.__caucho_cascadePostPersist(AmberConnection aConn)
Post-cascades the persist operation to child entities. |
void |
Entity.__caucho_cascadePostRemove(AmberConnection aConn)
Post-cascades the remove operation to child entities. |
void |
Entity.__caucho_cascadePrePersist(AmberConnection aConn)
Pre-cascades the persist operation to child entities. |
void |
Entity.__caucho_cascadePreRemove(AmberConnection aConn)
Pre-cascades the remove operation to child entities. |
boolean |
Entity.__caucho_create(AmberConnection aConn,
EntityType entityType)
Creates the entity in the database, making it persistent-new. |
Entity |
Entity.__caucho_home_find(AmberConnection aConn,
AmberEntityHome home,
java.lang.Object key)
Returns a new entity. |
EntityItem |
Entity.__caucho_home_find(AmberConnection aConn,
AmberEntityHome home,
java.sql.ResultSet rs,
int index)
Loads the entity from the database. |
Entity |
Entity.__caucho_home_new(AmberEntityHome home,
java.lang.Object key,
AmberConnection aConn,
EntityItem cacheItem)
Returns a new entity. |
boolean |
Entity.__caucho_lazy_create(AmberConnection aConn,
EntityType entityType)
Changes the entity state to P_PERSISTING, but does not flush to database. |
java.lang.Object |
Entity.__caucho_load_key(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Loads the entity key. |
int |
Embeddable.__caucho_load(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Loads the embeddable object from the database and returns the number of columns consumed from the result set. |
int |
Entity.__caucho_load(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Loads the entity from the database and returns the number of columns consumed from the result set. |
void |
Entity.__caucho_makePersistent(AmberConnection aConn,
EntityItem item)
Makes the entity persistent. |
boolean |
Entity.__caucho_makePersistent(AmberConnection aConn,
EntityType entityType)
Makes the entity persistent. |
void |
Entity.__caucho_mergeFrom(AmberConnection aConn,
Entity targetEntity)
Merges this entity state into an existing entity. |
void |
Entity.__caucho_retrieve_eager(AmberConnection aConn)
Retrieves data from the data store, including the eager loads. |
void |
Entity.__caucho_retrieve_self(AmberConnection aConn)
Retrieves data from the data store, only loading own fields. |
void |
Entity.__caucho_setConnection(AmberConnection aConn)
Sets the connection. |
void |
EntityListener.beforeEntityDelete(AmberConnection aConn,
Entity entity)
Notification before an entity is deleted. |
Entity |
CacheableEntityItem.createEntity(AmberConnection aConn,
java.lang.Object key)
Creates a new entity instance. |
Entity |
EntityItem.createEntity(AmberConnection aConn,
java.lang.Object key)
|
Entity |
XAEntityItem.createEntity(AmberConnection aConn,
java.lang.Object key)
Creates a new entity instance. |
void |
AmberEntityHome.delete(AmberConnection aConn,
long primaryKey)
Deletes by the primary key. |
void |
AmberEntityHome.delete(AmberConnection aConn,
java.lang.Object key)
Deletes by the primary key. |
void |
EntityFactory.delete(AmberConnection aConn,
java.lang.Object proxy)
Deletes the proxy. |
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. |
java.lang.Object |
EntityFactory.getEntity(AmberConnection aConn,
EntityItem item)
Gets the appropriate entity given the EntityItem. |
Entity |
EntityItem.load(AmberConnection aConn)
|
Entity |
CacheableEntityItem.loadEntity(AmberConnection aConn,
int loadGroup)
Returns the cached entity. |
Entity |
EntityItem.loadEntity(AmberConnection aConn,
int index)
|
Entity |
XAEntityItem.loadEntity(AmberConnection aConn,
int loadGroup)
Returns the cached entity. |
java.lang.Object |
AmberEntityHome.loadFull(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Finds by the primary key. |
java.lang.Object |
AmberEntityHome.loadLazy(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Finds by the primary key. |
Entity |
AmberEntityHome.makePersistent(Entity entity,
AmberConnection aConn,
boolean isLazy)
Finds by the primary key. |
void |
AmberEntityHome.save(AmberConnection aConn,
Entity entity)
Saves based on the object. |
Uses of AmberConnection in com.caucho.amber.expr |
---|
Methods in com.caucho.amber.expr with parameters of type AmberConnection | |
---|---|
EntityItem |
AbstractAmberExpr.findItem(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the object for the expr. |
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 |
LoadEntityExpr.findItem(AmberConnection aConn,
java.sql.ResultSet rs,
int index,
java.util.Map<AmberExpr,java.lang.String> joinFetchMap)
Returns the object for the expr. |
java.lang.Object |
AbstractAmberExpr.getCacheObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the object for the expr. |
java.lang.Object |
AmberExpr.getCacheObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the cache object for the expr. |
java.lang.Object |
LoadEmbeddedExpr.getCacheObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the object for the expr. |
java.lang.Object |
LoadEntityExpr.getCacheObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the object for the expr. |
java.lang.Object |
LoadEntityExpr.getCacheObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index,
java.util.Map<AmberExpr,java.lang.String> joinFetchMap)
Returns the object for the expr. |
java.lang.Object |
AbstractAmberExpr.getObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the object for the expr. |
java.lang.Object |
AmberExpr.getObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the object for the expr. |
java.lang.Object |
LoadEmbeddedExpr.getObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the object for the expr. |
java.lang.Object |
LoadEntityExpr.getObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the object for the expr. |
Uses of AmberConnection in com.caucho.amber.expr.fun |
---|
Methods in com.caucho.amber.expr.fun with parameters of type AmberConnection | |
---|---|
java.lang.Object |
FunExpr.getObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the object for the expr. |
java.lang.Object |
LocateFunExpr.getObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Returns the object for the expr. |
Uses of AmberConnection in com.caucho.amber.field |
---|
Methods in com.caucho.amber.field with parameters of type AmberConnection | |
---|---|
void |
AbstractField.childDelete(AmberConnection aConn,
java.io.Serializable primaryKey)
Deletes the children |
void |
AmberField.childDelete(AmberConnection aConn,
java.io.Serializable primaryKey)
Deletes the children |
void |
EmbeddedSubField.childDelete(AmberConnection aConn,
java.io.Serializable primaryKey)
Deletes the children |
void |
DependentEntityField.deleteTarget(AmberConnection aConn,
Entity entity)
Cleans up any fields from a delete. |
Uses of AmberConnection in com.caucho.amber.idgen |
---|
Methods in com.caucho.amber.idgen with parameters of type AmberConnection | |
---|---|
long |
IdGenerator.allocate(AmberConnection aConn)
Allocates the next id. |
long |
AmberTableGenerator.allocateGroup(AmberConnection aConn)
Allocates the next group of ids. |
abstract long |
IdGenerator.allocateGroup(AmberConnection aConn)
Allocates the next group of ids. |
long |
SequenceIdGenerator.allocateGroup(AmberConnection aConn)
Allocates the next group of ids. |
Uses of AmberConnection in com.caucho.amber.manager |
---|
Subclasses of AmberConnection in com.caucho.amber.manager | |
---|---|
class |
AmberEntityManager
The entity manager from a entity manager proxy. |
class |
CacheConnection
The entity manager from a entity manager proxy. |
Methods in com.caucho.amber.manager that return AmberConnection | |
---|---|
AmberConnection |
AmberPersistenceUnit.createAmberConnection(boolean isExtended)
Returns the cache connection. |
AmberConnection |
AmberPersistenceUnit.getThreadConnection(boolean isExtended)
Returns the thread's amber connection. |
Uses of AmberConnection in com.caucho.amber.query |
---|
Methods in com.caucho.amber.query that return AmberConnection | |
---|---|
AmberConnection |
UserQuery.getConnection()
|
AmberConnection |
UserQuery.getSession()
|
Methods in com.caucho.amber.query with parameters of type AmberConnection | |
---|---|
void |
AbstractQuery.complete(UserQuery userQuery,
AmberConnection aConn)
Any post-sql completion |
void |
AmberDeleteQuery.complete(UserQuery userQuery,
AmberConnection aConn)
Adds any completion info. |
void |
UpdateQuery.complete(UserQuery userQuery,
AmberConnection aConn)
Adds any completion info. |
void |
UserQuery.init(AmberConnection aConn)
|
void |
CachedQuery.list(java.util.List<java.lang.Object> list,
AmberConnection aConn,
long maxAge)
Executes the query, filling the list. |
void |
AbstractQuery.prepare(UserQuery userQuery,
AmberConnection aConn)
Prepares before any update. |
void |
AmberDeleteQuery.prepare(UserQuery userQuery,
AmberConnection aConn)
Adds any completion info. |
void |
UpdateQuery.prepare(UserQuery userQuery,
AmberConnection aConn)
Adds any completion info. |
void |
ResultSetImpl.setSession(AmberConnection aConn)
Sets the session. |
void |
UserQuery.setSession(AmberConnection aConn)
|
Uses of AmberConnection in com.caucho.amber.table |
---|
Methods in com.caucho.amber.table with parameters of type AmberConnection | |
---|---|
void |
LinkColumns.afterSourceDelete(AmberConnection aConn,
Entity entity)
Cleans up any fields from a delete. |
void |
AmberTable.beforeEntityDelete(AmberConnection aConn,
Entity entity)
Called before the entity is deleted. |
void |
EntityDependency.beforeEntityDelete(AmberConnection aConn,
Entity entity)
Notification before an entity is deleted. |
void |
LinkColumns.beforeTargetDelete(AmberConnection aConn,
Entity entity)
Cleans up any fields from a delete. |
Uses of AmberConnection in com.caucho.amber.type |
---|
Methods in com.caucho.amber.type with parameters of type AmberConnection | |
---|---|
void |
EntityType.delete(AmberConnection aConn,
java.lang.Object key)
Deletes by the primary key. |
EntityItem |
AmberType.findItem(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Finds the object |
EntityItem |
EntityType.findItem(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Finds the object |
java.lang.Object |
EntityType.getLoadObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Gets the value. |
java.lang.Object |
AmberType.getObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Gets the value. |
java.lang.Object |
EntityType.getObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
Gets the value. |
long |
EntityType.nextGeneratorId(AmberConnection aConn,
java.lang.String name)
Gets the named generator. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |