example.cmp.find
Interface TeacherHome

All Superinterfaces:
javax.ejb.EJBLocalHome

public interface TeacherHome
extends javax.ejb.EJBLocalHome

Remote interface for the teacher home.


Method Summary
 java.util.Collection findAll()
          Returns all the teachers.
 Teacher findByHouse(java.lang.String house)
          Returns the teacher in charge of a house.
 Teacher findByPrimaryKey(java.lang.String name)
          Returns the named teacher.
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

findByPrimaryKey

public Teacher findByPrimaryKey(java.lang.String name)
                         throws javax.ejb.FinderException
Returns the named teacher.

findByHouse

public Teacher findByHouse(java.lang.String house)
                    throws javax.ejb.FinderException
Returns the teacher in charge of a house.

findAll

public java.util.Collection findAll()
                             throws javax.ejb.FinderException
Returns all the teachers.