|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.amber.entity.EntityItem
com.caucho.amber.entity.XAEntityItem
public class XAEntityItem
An entity item handles the living entities.
Constructor Summary | |
---|---|
XAEntityItem(AmberEntityHome home,
Entity entity)
|
Method Summary | |
---|---|
Entity |
createEntity(AmberConnection aConn,
java.lang.Object key)
Creates a new entity instance. |
void |
expire()
Expire the value from the cache. |
Entity |
getEntity()
Returns the cached entity. |
AmberEntityHome |
getEntityHome()
Returns the entity home. |
Entity |
loadEntity(AmberConnection aConn,
int loadGroup)
Returns the cached entity. |
Entity |
loadEntity(int loadGroup)
Returns the cached entity. |
void |
save(Entity item)
Saves the item values into the cache. |
void |
savePart(Entity item)
Saves the item values into the cache. |
java.lang.String |
toString()
|
Methods inherited from class com.caucho.amber.entity.EntityItem |
---|
getNumberOfLoadingColumns, load, setNumberOfLoadingColumns |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XAEntityItem(AmberEntityHome home, Entity entity)
Method Detail |
---|
public AmberEntityHome getEntityHome()
getEntityHome
in class EntityItem
public Entity getEntity()
getEntity
in class EntityItem
public Entity loadEntity(int loadGroup)
loadEntity
in class EntityItem
public Entity loadEntity(AmberConnection aConn, int loadGroup)
loadEntity
in class EntityItem
public Entity createEntity(AmberConnection aConn, java.lang.Object key) throws java.sql.SQLException
createEntity
in class EntityItem
java.sql.SQLException
public void save(Entity item)
save
in class EntityItem
public void savePart(Entity item)
savePart
in class EntityItem
public void expire()
expire
in class EntityItem
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |