Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.ejb
Interface EJB20Home

All Superinterfaces:
javax.ejb.EJBHome, java.rmi.Remote

public interface EJB20Home
extends javax.ejb.EJBHome

Purpose: Provide a useful home class for TopLink persisted bean's homes to inherit from in EJB 2.0.

Description: This class declares useful finders such as find by query and expression.


Method Summary
 java.util.Collection findAll()
          Read all the objects for the class.
 java.util.Collection findAll(Call call)
          Read all the objects for the class given the call.
 java.util.Collection findAll(Expression expression)
          Read all the objects for the class given the expression.
 java.util.Collection findAll(ReadAllQuery query)
          Read all the objects for the class given the query.
 java.util.Collection findAllByNamedQuery(java.lang.String queryName, java.util.Vector arguments)
          Read all the objects for the class given the named query.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

findAll

java.util.Collection findAll()
                             throws java.rmi.RemoteException,
                                    javax.ejb.FinderException
Read all the objects for the class.

Throws:
java.rmi.RemoteException
javax.ejb.FinderException

findAll

java.util.Collection findAll(Expression expression)
                             throws java.rmi.RemoteException,
                                    javax.ejb.FinderException
Read all the objects for the class given the expression.

Throws:
java.rmi.RemoteException
javax.ejb.FinderException

findAll

java.util.Collection findAll(Call call)
                             throws java.rmi.RemoteException,
                                    javax.ejb.FinderException
Read all the objects for the class given the call.

Throws:
java.rmi.RemoteException
javax.ejb.FinderException

findAll

java.util.Collection findAll(ReadAllQuery query)
                             throws java.rmi.RemoteException,
                                    javax.ejb.FinderException
Read all the objects for the class given the query.

Throws:
java.rmi.RemoteException
javax.ejb.FinderException

findAllByNamedQuery

java.util.Collection findAllByNamedQuery(java.lang.String queryName,
                     java.util.Vector arguments)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException
Read all the objects for the class given the named query.

Throws:
java.rmi.RemoteException
javax.ejb.FinderException

Copyright © 1998, 2010, Oracle. All Rights Reserved.