KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > freeforums > user > User


1 /*
2  * User.java
3  *
4  * Remote Interface for UserBean
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 javax.ejb.*;
16
17  public interface User extends EJBObject {
18
19      public String JavaDoc getUserName() throws RemoteException JavaDoc;
20      public void setUserName(String JavaDoc userName) throws RemoteException JavaDoc;
21
22      public String JavaDoc getPassword() throws RemoteException JavaDoc;
23      public void setPassword(String JavaDoc password) throws RemoteException JavaDoc;
24
25      public String JavaDoc getRealName() throws RemoteException JavaDoc;
26      public void setRealName(String JavaDoc realName) throws RemoteException JavaDoc;
27
28      public String JavaDoc getEmailAddress() throws RemoteException JavaDoc;
29      public void setEmailAddress(String JavaDoc emailAddress) throws RemoteException JavaDoc;
30
31      public boolean isSuperUser() throws RemoteException JavaDoc;
32      public void setSuperUser(boolean superUser) throws RemoteException JavaDoc;
33
34  }
35
Popular Tags