example.cmp.find
Interface TeacherHome
- All Superinterfaces:
- javax.ejb.EJBLocalHome
- public interface TeacherHome
- extends javax.ejb.EJBLocalHome
Remote interface for the teacher home.
Methods inherited from interface javax.ejb.EJBLocalHome |
remove |
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.