|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface User
Provides access to user information.
Account
Method Summary | |
---|---|
void |
changePassword(java.lang.String currentPassword,
java.lang.String newPassword)
Change User Password |
java.util.Vector<? extends Account> |
getAccounts()
Returns a Vector of Accounts owned by this user |
Account |
getAccountWithId(int accountId)
Returns the Account owned by this user with the given account id. |
java.lang.String |
getAddress()
Returns the users address. |
java.lang.String |
getCity()
Returns this users city. |
java.lang.String |
getCountry()
Returns this users country. |
long |
getCreateDate()
Deprecated. legacy method. always returns zero |
java.lang.String |
getEmail()
Returns this users email address. |
java.lang.String |
getName()
Returns this users full name. |
java.lang.String |
getPassword()
Returns the login password for this user. |
java.lang.String |
getPostalCode()
Returns this users postal code. |
java.lang.String |
getProfile()
Returns the profile string for this user. |
java.lang.String |
getTelephone()
Returns this users telephone number. |
int |
getUserId()
Returns this users unique id number. |
java.lang.String |
getUserName()
Returns the login username for this user. |
void |
setProfile(java.lang.String newprofile)
Sends a profile string to be saved on the server and associated with this user. |
java.lang.String |
toString()
|
Method Detail |
---|
java.util.Vector<? extends Account> getAccounts()
Account
Account getAccountWithId(int accountId) throws AccountException
accountId
- the id of the Account to retrieve
AccountException
Account
java.lang.String getAddress()
java.lang.String getCity()
java.lang.String getCountry()
long getCreateDate()
java.lang.String getEmail()
java.lang.String getName()
java.lang.String getPassword()
java.lang.String getPostalCode()
java.lang.String getProfile()
java.lang.String getTelephone()
int getUserId()
java.lang.String getUserName()
void setProfile(java.lang.String newprofile) throws UserException
NOTE: The profile string is used by the fxTrade Platform GUI for saving User preference information. Do not modify the profile string if you intend to continue using the fxTrade GUI.
newprofile
- the new profile string to be saved on the server
UserException
java.lang.String toString()
toString
in class java.lang.Object
void changePassword(java.lang.String currentPassword, java.lang.String newPassword) throws UserException
current
- passwordnew
- password
UserException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |