KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > freeforums > user > ForumUserHome


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

11
12  package freeforums.user;
13
14  import java.rmi.RemoteException JavaDoc;
15  import java.util.Collection JavaDoc;
16  import javax.ejb.*;
17
18  public interface ForumUserHome extends EJBHome {
19
20      public ForumUser create(ForumUserPK key, boolean administrator) throws RemoteException JavaDoc, CreateException;
21
22      public ForumUser create(ForumUserPK key) throws RemoteException JavaDoc, CreateException;
23
24      public ForumUser findByPrimaryKey(ForumUserPK primaryKey) throws RemoteException JavaDoc, FinderException;
25
26      public Collection JavaDoc findAll() throws RemoteException JavaDoc, FinderException;
27
28  }
29
30
31
32
Popular Tags