Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.ejb
Interface EJBHome

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

public interface EJBHome
extends javax.ejb.EJBHome

Purpose: Provide a useful home class for TopLink perssited bean's homes to inherit from.

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

Since:
TOPLink/Java 3.0

Method Summary
 java.util.Enumeration findAll()
          PUBLIC: Read all the objects for the class.
 java.util.Enumeration findAll(Call call)
          PUBLIC: Read all the objects for the class given the call.
 java.util.Enumeration findAll(Expression expression)
          PUBLIC: Read all the objects for the class given the expression.
 java.util.Enumeration findAll(ReadAllQuery query)
          PUBLIC: Read all the objects for the class given the query.
 java.util.Enumeration findAllByNamedQuery(java.lang.String queryName, java.util.Vector arguments)
          PUBLIC: Read all the objects for the class given the named query.

 

Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, remove, remove

 

Method Detail

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException
PUBLIC: Read all the objects for the class.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException

findAll

public java.util.Enumeration findAll(Expression expression)
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException
PUBLIC: Read all the objects for the class given the expression.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException

findAll

public java.util.Enumeration findAll(Call call)
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException
PUBLIC: Read all the objects for the class given the call.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException

findAll

public java.util.Enumeration findAll(ReadAllQuery query)
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException
PUBLIC: Read all the objects for the class given the query.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException

findAllByNamedQuery

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

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.