KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > freeforums > forum > ForumManager


1 /*
2  * ForumManager.java
3  *
4  * Defines the remote interface for the ForumManager Session Bean
5  *
6  * @author: Devraj Mukherjee
7  *
8  * Created: 24th June 2001
9  *
10  */

11
12  package freeforums.forum;
13
14  import javax.ejb.EJBObject JavaDoc;
15  import javax.ejb.*;
16  import java.rmi.RemoteException JavaDoc;
17  import java.util.Vector JavaDoc;
18
19  import org.jdom.*;
20
21  public interface ForumManager extends EJBObject JavaDoc {
22
23      public Document addForum(Document forumDetails) throws RemoteException JavaDoc;
24
25      public Document findAll() throws RemoteException JavaDoc, FinderException;
26
27      public Document findForumsForUser(Document userDetails) throws RemoteException JavaDoc, FinderException;
28
29      public Document findForum(Document forumID) throws RemoteException JavaDoc, FinderException;
30
31      public Document isUserAllowed(Document userDetails) throws RemoteException JavaDoc, FinderException;
32
33  }
34
Popular Tags