|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--UserAccountClientSide
Class UserAccount defines the functionality of the generic user account by setting username, password or quota (if necessary constructor is used) Class UserAccount is supposed to be used only within Server
| Constructor Summary | |
UserAccountClientSide(java.lang.String userName,
java.lang.String password,
int ID,
int messagesQuota)
Creates a new UserAccountClientSide object |
|
| Method Summary | |
void |
changePassword(java.lang.String password)
Changes the old password with the newly password |
void |
changeQuota(int messagesQuota)
Chnages the quota of the user account |
java.lang.String |
getPassword()
Returns the user password |
int |
getUserID()
Returns the user ID |
java.lang.String |
getUserName()
Returns the user name |
int |
getUserQuota()
Returns the user password |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UserAccountClientSide(java.lang.String userName,
java.lang.String password,
int ID,
int messagesQuota)
String - usernameString - passwordint - node IDint - message quota
this
| Method Detail |
public void changePassword(java.lang.String password)
String - new password
this
public void changeQuota(int messagesQuota)
int - new quota
this
public java.lang.String getPassword()
public int getUserID()
public java.lang.String getUserName()
public int getUserQuota()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||