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

B15903-01


oracle.toplink.ejb
Interface EJB20LocalHome

All Superinterfaces:
javax.ejb.EJBLocalHome

public interface EJB20LocalHome
extends javax.ejb.EJBLocalHome

Purpose: Provide a useful local 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()
          PUBLIC: Read all the objects for the class.
 java.util.Collection findAll(Call call)
          PUBLIC: Read all the objects for the class given the call.
 java.util.Collection findAll(Expression expression)
          PUBLIC: Read all the objects for the class given the expression.
 java.util.Collection findAll(ReadAllQuery query)
          PUBLIC: Read all the objects for the class given the query.
 java.util.Collection 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.EJBLocalHome
remove

 

Method Detail

findAll

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

findAll

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

findAll

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

findAll

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

findAllByNamedQuery

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

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