example.cmp.one2one
Interface CourseHome

All Superinterfaces:
javax.ejb.EJBLocalHome

public interface CourseHome
extends javax.ejb.EJBLocalHome

Home interface for the Course bean.


Method Summary
 java.util.Collection findAll()
          returns all Courses managed by the container (Finder method).
 Course findByPrimaryKey(java.lang.String name)
          returns the Course that has name as its primary key.
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

findByPrimaryKey

public Course findByPrimaryKey(java.lang.String name)
                        throws javax.ejb.FinderException
returns the Course that has name as its primary key.
Parameters:
name - Name of the course we want to find.

findAll

public java.util.Collection findAll()
                             throws javax.ejb.FinderException
returns all Courses managed by the container (Finder method).
 SELECT o FROM one2one_course o