|
Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated) 11g Release 1 (11.1.1) B32476-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.ejb.bmp.BMPEntityBase
public class BMPEntityBase
Purpose: To provide bean developers a prebuilt accessor into TopLink functionality for beans using BMP.
Description: This class provides implementations of ejbStore(), ejbLoad() and others with hooks into TopLink functionality. This allows bean developers to simply extend this class and with a TopLink project provide persistence functionality to your bean
Responsibilities:
Constructor Summary | |
---|---|
BMPEntityBase()
BMPEntityBase constructor. |
|
BMPEntityBase(java.lang.String sessionName)
BMPEntityBase constructor. |
|
BMPEntityBase(java.lang.String sessionName,
XMLSessionConfigLoader xmlSessionConfigloader)
BMPEntityBase constructor. |
Method Summary | |
---|---|
java.util.Collection |
ejb20FindAll()
Read all the objects for the class and load them into the cache. |
java.util.Collection |
ejb20FindAll(Call call)
Read all the objects for the class given the call and load them into the cache. |
java.util.Collection |
ejb20FindAll(Expression expression)
Read all the objects for the class given the expression and load them into the cache. |
java.util.Collection |
ejb20FindAll(ReadAllQuery query)
Read all the objects for the class given the query and load them into the cache. |
java.util.Collection |
ejb20FindAllByNamedQuery(java.lang.String queryName,
java.util.Vector arguments)
Read all the objects for the class given the query and load them into the cache. |
void |
ejbActivate()
This is a "no-op" for TopLink BMP. |
void |
ejbLoad()
Load from the database/cache into the object. |
void |
ejbRemove()
Delete the bean from the database. |
void |
ejbStore()
This is a no-op, because the ejbStore is called after beforeCompletion which is the callback to TopLink to commit the transaction |
java.util.Enumeration |
findAll()
Read all the objects for the class and load them into the cache. |
java.util.Enumeration |
findAll(Call call)
Read all the objects for the class given the call and load them into the cache. |
java.util.Enumeration |
findAll(Expression expression)
Read all the objects for the class given the expression and load them into the cache. |
java.util.Enumeration |
findAll(ReadAllQuery query)
Read all the objects for the class given the query and load them into the cache. |
java.util.Enumeration |
findAllByNamedQuery(java.lang.String queryName,
java.util.Vector arguments)
Read all the objects for the class given the query and load them into the cache. |
java.lang.Object |
findByPrimaryKey(java.lang.Object primaryKeyObject)
Find the object by primary key object and load it into the cache. |
java.lang.Object |
findOne(Call call)
Find the object by the query and load it into the cache. |
java.lang.Object |
findOne(Expression expression)
Find the object by the query and load it into the cache. |
java.lang.Object |
findOne(ReadObjectQuery query)
Find the object by the query and load it into the cache. |
java.lang.Object |
findOneByNamedQuery(java.lang.String queryName,
java.util.Vector arguments)
Find the object by the query and load it into the cache. |
EJBDataStore |
getDataStore()
PUBIC: Returns the dataStore object for this bean |
javax.ejb.EntityContext |
getEntityContext()
PUBIC: Returns the EntityContext associated with this bean |
java.lang.String |
getSessionName()
Returns the Session name that represents the session that this bean should be using |
void |
setEntityContext(javax.ejb.EntityContext ctx)
This method is called by the container when a new bean instance is created. |
java.lang.Object |
tlCreateImpl()
This method calls the internal TopLink inplementation to create a persistent object. |
void |
unsetEntityContext()
This method is called by the container when a bean instance is being removed from the pool |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BMPEntityBase()
public BMPEntityBase(java.lang.String sessionName)
public BMPEntityBase(java.lang.String sessionName, XMLSessionConfigLoader xmlSessionConfigloader)
Method Detail |
---|
public void ejbActivate()
public void ejbLoad()
public void ejbRemove() throws javax.ejb.RemoveException
javax.ejb.RemoveException
public void ejbStore()
public java.util.Enumeration findAll() throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.Collection ejb20FindAll() throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.Enumeration findAll(Expression expression) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.Collection ejb20FindAll(Expression expression) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.Enumeration findAll(Call call) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.Collection ejb20FindAll(Call call) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.Enumeration findAll(ReadAllQuery query) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.Collection ejb20FindAll(ReadAllQuery query) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.Enumeration findAllByNamedQuery(java.lang.String queryName, java.util.Vector arguments) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.Collection ejb20FindAllByNamedQuery(java.lang.String queryName, java.util.Vector arguments) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.lang.Object findByPrimaryKey(java.lang.Object primaryKeyObject) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.lang.Object findOne(Expression expression) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.lang.Object findOne(Call call) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.lang.Object findOne(ReadObjectQuery query) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.lang.Object findOneByNamedQuery(java.lang.String queryName, java.util.Vector arguments) throws javax.ejb.FinderException
javax.ejb.FinderException
public EJBDataStore getDataStore()
public javax.ejb.EntityContext getEntityContext()
public java.lang.String getSessionName()
public void setEntityContext(javax.ejb.EntityContext ctx)
public java.lang.Object tlCreateImpl() throws javax.ejb.CreateException
javax.ejb.CreateException
public void unsetEntityContext()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |