1 package edu.rice.rubis.beans; 2 3 import javax.ejb.*; 4 import java.rmi.*; 5 6 11 public interface User extends EJBObject { 12 18 public Integer getId() throws RemoteException; 19 20 26 public String getFirstName() throws RemoteException; 27 28 34 public String getLastName() throws RemoteException; 35 36 42 public String getNickName() throws RemoteException; 43 44 50 public String getPassword() throws RemoteException; 51 52 58 public String getEmail() throws RemoteException; 59 60 66 public int getRating() throws RemoteException; 67 68 75 public float getBalance() throws RemoteException; 76 77 83 public String getCreationDate() throws RemoteException; 84 85 91 public Integer getRegionId() throws RemoteException; 92 93 94 100 public void setFirstName(String newName) throws RemoteException; 101 102 108 public void setLastName(String newName) throws RemoteException; 109 110 116 public void setNickName(String newName) throws RemoteException; 117 118 124 public void setPassword(String newPassword) throws RemoteException; 125 126 132 public void setEmail(String newEmail) throws RemoteException; 133 134 140 public void setCreationDate(String newCreationDate) throws RemoteException; 141 142 149 public void setRegionId(Integer id) throws RemoteException; 150 151 157 public void setRating(int newRating) throws RemoteException; 158 159 166 public void updateRating(int diff) throws RemoteException; 167 168 175 public void setBalance(float newBalance) throws RemoteException; 176 177 178 185 public String getHTMLGeneralUserInformation() throws RemoteException; 186 } 187 | Popular Tags |