Uses of Interface
com.caucho.amber.entity.Entity

Packages that use Entity
com.caucho.amber.cfg   
com.caucho.amber.entity   
com.caucho.amber.field   
com.caucho.amber.manager   
com.caucho.amber.query   
com.caucho.amber.table   
com.caucho.amber.type   
 

Uses of Entity in com.caucho.amber.cfg
 

Methods in com.caucho.amber.cfg that return Entity
 Entity EntityResultConfig.load(AmberConnection aConn, java.sql.ResultSet rs)
           
 

Uses of Entity in com.caucho.amber.entity
 

Methods in com.caucho.amber.entity that return Entity
 Entity Entity.__caucho_getCacheEntity()
          Gets the corresponding cache entity referenced by __caucho_item.
 Entity Entity.__caucho_home_find(AmberConnection aConn, AmberEntityHome home, java.lang.Object key)
          Returns a new entity.
 Entity Entity.__caucho_home_new(AmberEntityHome home, java.lang.Object key, AmberConnection aConn, EntityItem cacheItem)
          Returns a new entity.
 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.
 Entity CacheableEntityItem.getEntity()
          Returns the cached entity.
abstract  Entity EntityItem.getEntity()
           
 Entity XAEntityItem.getEntity()
          Returns the cached entity.
 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.
 Entity CacheableEntityItem.loadEntity(int loadGroup)
          Returns the cached entity.
 Entity EntityItem.loadEntity(int index)
           
 Entity XAEntityItem.loadEntity(int loadGroup)
          Returns the cached entity.
 Entity AmberEntityHome.makePersistent(Entity entity, AmberConnection aConn, boolean isLazy)
          Finds by the primary key.
 Entity AmberEntityHome.newDiscriminatorEntity(java.lang.Object key, java.lang.String discriminator)
          Loads an entity where the type is determined by a discriminator
 Entity AmberEntityHome.newEntity(java.lang.Object key)
          Instantiates a new entity for this home.
 

Methods in com.caucho.amber.entity with parameters of type Entity
 void Entity.__caucho_mergeFrom(AmberConnection aConn, Entity targetEntity)
          Merges this entity state into an existing entity.
 void EntityListener.afterEntityDelete(Entity entity)
          Notification after an entity is deleted.
 void EntityListener.beforeEntityDelete(AmberConnection aConn, Entity entity)
          Notification before an entity is deleted.
 java.lang.Object AmberEntityHome.getKeyFromEntity(Entity entity)
          Returns the entity from the 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.
 void CacheableEntityItem.save(Entity item)
          Saves the item values into the cache.
abstract  void EntityItem.save(Entity item)
           
 void XAEntityItem.save(Entity item)
          Saves the item values into the cache.
 void CacheableEntityItem.savePart(Entity item)
          Saves the item values into the cache.
abstract  void EntityItem.savePart(Entity item)
           
 void XAEntityItem.savePart(Entity item)
          Saves the item values into the cache.
 void AmberEntityHome.update(Entity entity)
          Update for a modification.
 

Constructors in com.caucho.amber.entity with parameters of type Entity
CacheableEntityItem(AmberEntityHome home, Entity cacheEntity)
           
XAEntityItem(AmberEntityHome home, Entity entity)
           
 

Uses of Entity in com.caucho.amber.field
 

Methods in com.caucho.amber.field with parameters of type Entity
 void DependentEntityField.deleteTarget(AmberConnection aConn, Entity entity)
          Cleans up any fields from a delete.
 

Uses of Entity in com.caucho.amber.manager
 

Methods in com.caucho.amber.manager that return Entity
 Entity AmberConnection.addNewEntity(java.lang.Class cl, java.lang.Object key)
          Adds a new entity for the given class name and key.
 Entity AmberConnection.getCacheEntity(java.lang.Class cl, java.lang.Object pk)
           
 Entity AmberConnection.getCacheEntity(java.lang.Class cl, java.lang.Object pk, boolean isDebug)
           
 Entity AmberConnection.getCacheEntity(Entity entity)
           
 Entity AmberConnection.getCacheEntity(Entity entity, boolean isDebug)
           
 Entity AmberConnection.getEntity(java.lang.Class cl, java.lang.Object key)
          Matches the entity.
 Entity AmberConnection.getEntity(Entity entity)
          Returns the context entity that corresponds to the entity passed in.
 Entity AmberConnection.getEntity(EntityItem item)
          Returns the entity for the connection.
 Entity AmberConnection.getEntity(int index)
           
 Entity AmberConnection.getEntityLazy(EntityItem item)
          Returns the entity for the connection.
 Entity AmberConnection.getSubEntity(java.lang.Class cl, java.lang.Object key)
           
 Entity AmberConnection.getTransactionEntity(java.lang.Class cl, java.lang.Object key)
           
 Entity AmberConnection.getTransactionEntity(int index)
           
 Entity AmberConnection.loadEntity(java.lang.Class cl, java.lang.Object key, boolean isEager)
          Adds a new entity for the given class name and key.
 Entity AmberConnection.loadFromHome(java.lang.String name, java.lang.Object key)
          Loads the object with the given class.
 Entity AmberConnection.loadLazy(java.lang.Class cl, java.lang.String name, java.lang.Object key)
          Loads the object with the given class.
 Entity AmberConnection.loadLazy(java.lang.String className, java.lang.String name, java.lang.Object key)
          Loads the object with the given class.
 Entity AmberConnection.mergeDetachedEntity(Entity newEntity)
           
 

Methods in com.caucho.amber.manager with parameters of type Entity
 void AmberConnection.addEntity(Entity entity)
           
protected  void AmberPersistenceUnit.callListeners(int callbackIndex, Entity entity)
          Applies persistence unit default and entity listeners for @PreXxx, @PostXxx callbacks.
 void AmberConnection.delete(Entity entity)
          Deletes the object.
 Entity AmberConnection.getCacheEntity(Entity entity)
           
 Entity AmberConnection.getCacheEntity(Entity entity, boolean isDebug)
           
 Entity AmberConnection.getEntity(Entity entity)
          Returns the context entity that corresponds to the entity passed in.
 boolean AmberConnection.isCacheEntity(Entity entity)
           
 Entity AmberConnection.mergeDetachedEntity(Entity newEntity)
           
 boolean AmberConnection.removeEntity(Entity entity)
          Removes an entity.
 void AmberConnection.setTransactionalState(Entity entity)
           
 void AmberConnection.update(Entity entity)
          Updates the object.
 

Uses of Entity in com.caucho.amber.query
 

Methods in com.caucho.amber.query with parameters of type Entity
 void CacheUpdate.add(Entity obj)
          Called when an entity is added.
 void TableCacheUpdate.add(Entity obj)
          Called when an entity is added.
 void CacheUpdate.update(Entity object)
          Called when an entity is deleted.
 void TableCacheUpdate.update(Entity object)
          Called when an entity is deleted.
 

Uses of Entity in com.caucho.amber.table
 

Methods in com.caucho.amber.table with parameters of type Entity
 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 Entity in com.caucho.amber.type
 

Methods in com.caucho.amber.type that return Entity
 Entity EntityType.createBean()
          Creates a new entity for this specific instance type.
 

Methods in com.caucho.amber.type with parameters of type Entity
 AmberCompletion EntityType.createManyToOneCompletion(java.lang.String name, Entity source, java.lang.Object newTarget)
          Returns a completion for the given field.
 void EntityType.postLoad(Entity entity)
          Callbacks after an entity is loaded
 void EntityType.postPersist(Entity entity)
          Callbacks after an entity is persisted
 void EntityType.postRemove(Entity entity)
          Callbacks after an entity is removeed
 void EntityType.postUpdate(Entity entity)
          Callbacks after an entity is updated
 void EntityType.prePersist(Entity entity)
          Callbacks before an entity is persisted
 void EntityType.preRemove(Entity entity)
          Callbacks before an entity is removeed
 void EntityType.preUpdate(Entity entity)
          Callbacks before an entity is updateed
 void EntityType.update(Entity entity)
          Deletes by the primary key.