KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > freeforums > forum > ForumHome


1 /*
2  * ForumHome.java
3  *
4  * Defines the home interface for the ForumBean
5  *
6  * @author: Devraj Mukherjee
7  *
8  * Created: 23rd June 2001
9  *
10  */

11
12  package freeforums.forum;
13
14  import java.rmi.RemoteException JavaDoc;
15  import javax.ejb.*;
16  import java.util.Collection JavaDoc;
17
18  public interface ForumHome extends EJBHome {
19
20      public Forum create (Integer JavaDoc forumID, String JavaDoc forumName, String JavaDoc forumDescription) throws RemoteException JavaDoc, CreateException;
21
22      public Forum findByPrimaryKey (Integer JavaDoc forumID) throws RemoteException JavaDoc, FinderException;
23
24      public Collection JavaDoc findAll() throws RemoteException JavaDoc, FinderException;
25
26  }
27
Popular Tags