KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > freeforums > user > UserManager


1 /******
2  * UserManager.java
3  *
4  * Defines the Remote Interface for the
5  * Session bean that represents the User Management
6  * facilities for the FreeForums System.
7  *
8  * @author: Devraj Mukherjee
9  *
10  * Created: 24th June 2001
11  *
12  ******/

13
14  package freeforums.user;
15
16  import javax.ejb.EJBObject JavaDoc;
17  import javax.ejb.*;
18  import java.rmi.RemoteException JavaDoc;
19  import org.jdom.*;
20
21  public interface UserManager extends EJBObject JavaDoc {
22
23      public Document addUser(Document userDetails) throws RemoteException JavaDoc;
24
25      public Document modifyUser(Document userDetails) throws RemoteException JavaDoc;
26
27      public Document getUser(Document userName) throws RemoteException JavaDoc;
28
29      public Document loginUser(Document loginDocument) throws RemoteException JavaDoc;
30
31      public Document addUserToForum(Document userDetails) throws RemoteException JavaDoc;
32
33      public Document removeUserFromForum(Document userDetails) throws RemoteException JavaDoc;
34
35      public Document findAll() throws RemoteException JavaDoc, FinderException;
36
37  }
38
Popular Tags