|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the Remote Interface of the User Bean.
Method Summary | |
float |
getBalance()
Get user's account current balance. |
java.lang.String |
getCreationDate()
Get user creation date. |
java.lang.String |
getEmail()
Get user email address. |
java.lang.String |
getFirstName()
Get user first name. |
java.lang.String |
getHTMLGeneralUserInformation()
Returns a string displaying general information about the user. |
java.lang.Integer |
getId()
Get user's id. |
java.lang.String |
getLastName()
Get user last name. |
java.lang.String |
getNickName()
Get user nick name. |
java.lang.String |
getPassword()
Get user password. |
int |
getRating()
Get user rating. |
java.lang.Integer |
getRegionId()
Get region identifier of user's region. |
void |
setBalance(float newBalance)
Set user's account current balance. |
void |
setCreationDate(java.lang.String newCreationDate)
Set a new creation date for this user account |
void |
setEmail(java.lang.String newEmail)
Set user's email address |
void |
setFirstName(java.lang.String newName)
Set user's first name |
void |
setLastName(java.lang.String newName)
Set user's last name |
void |
setNickName(java.lang.String newName)
Set user's nick name |
void |
setPassword(java.lang.String newPassword)
Set user's password |
void |
setRating(int newRating)
Set user rating. |
void |
setRegionId(java.lang.Integer id)
Set a new region identifier. |
void |
updateRating(int diff)
Update the current rating by adding a new value to it. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
public java.lang.Integer getId() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.String getFirstName() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.String getLastName() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.String getNickName() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.String getPassword() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.String getEmail() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic int getRating() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic float getBalance() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.String getCreationDate() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.Integer getRegionId() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic void setFirstName(java.lang.String newName) throws java.rmi.RemoteException
newName
- user first namejava.rmi.RemoteException
- if an error occurspublic void setLastName(java.lang.String newName) throws java.rmi.RemoteException
newName
- user last namejava.rmi.RemoteException
- if an error occurspublic void setNickName(java.lang.String newName) throws java.rmi.RemoteException
newName
- user nick namejava.rmi.RemoteException
- if an error occurspublic void setPassword(java.lang.String newPassword) throws java.rmi.RemoteException
newPassword
- a String
valuejava.rmi.RemoteException
- if an error occurspublic void setEmail(java.lang.String newEmail) throws java.rmi.RemoteException
newEmail
- a String
valuejava.rmi.RemoteException
- if an error occurspublic void setCreationDate(java.lang.String newCreationDate) throws java.rmi.RemoteException
newCreationDate
- new user account creation datejava.rmi.RemoteException
- if an error occurspublic void setRegionId(java.lang.Integer id) throws java.rmi.RemoteException
id
- region idjava.rmi.RemoteException
- if an error occurspublic void setRating(int newRating) throws java.rmi.RemoteException
newRating
- new user ratingjava.rmi.RemoteException
- if an error occurspublic void updateRating(int diff) throws java.rmi.RemoteException
diff
- value to add to the ratingjava.rmi.RemoteException
- if an error occurspublic void setBalance(float newBalance) throws java.rmi.RemoteException
newBalance
- set user's account current balancejava.rmi.RemoteException
- if an error occurspublic java.lang.String getHTMLGeneralUserInformation() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurs
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |