|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.starteam.MyUserAccount
This class represents the user account information that every user
can specify/modify about themselves. The basic proceedure is to call
the Server.getMyUserAccount,
then modify the appropriate fields then
call update() on the object to save the changes on the server.
Server.getMyUserAccount()| Method Summary | |
MyUserAccount |
copy()
Creates a copy of this user account. |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
java.lang.String |
getEmailAddress()
Returns the user's email address. |
java.lang.String |
getFaxNumber()
Returns the user's fax number. |
int |
getID()
Returns the integer that represents this user account. |
java.lang.String |
getLogOnName()
Returns ths user's logon name. |
int |
getMinimumPasswordLength()
Returns the minimum required password length. |
java.lang.String |
getName()
Returns the full name that this user goes by. |
java.lang.String |
getPagerNumber()
Returns the user's pager number. |
boolean |
getPasswordChangeRequired()
Determines whether or not a password change is required during the current session. |
int |
getPasswordDaysRemaining()
Returns the number of days remaining that the user's current password will remain valid. |
java.lang.String |
getPhoneNumber()
Returns the user's phone number. |
java.lang.String |
getPostalAddress()
Returns the user's postal address. |
java.lang.String |
getVoiceMailNumber()
Return the user's voice mail number. |
int |
hashCode()
returns a unique hash for all instances of this type |
boolean |
isEqualTo(MyUserAccount account)
Compares two user account objects. |
void |
setEmailAddress(java.lang.String emailAddress)
Changes the user's email address. |
void |
setFaxNumber(java.lang.String faxNumber)
Changes the user's fax number. |
void |
setName(java.lang.String name)
Changes the user's full name. |
void |
setPagerNumber(java.lang.String pagerNumber)
Changes the user's pager number. |
void |
setPassword(java.lang.String password)
Modify the user's password. |
void |
setPhoneNumber(java.lang.String phoneNumber)
Changes the user's phone number. |
void |
setPostalAddress(java.lang.String postalAddress)
Changes the user's postal address. |
void |
setVoiceMailNumber(java.lang.String voiceMailNumber)
Changes the user's voice mail number. |
java.lang.String |
toString()
Returns a string summary of all the properties of this object. |
void |
update()
Updates this user account information on the StarTeam server. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public int getID()
public java.lang.String getName()
public void setName(java.lang.String name)
name - the new name for this userpublic java.lang.String getEmailAddress()
public void setEmailAddress(java.lang.String emailAddress)
emailAddress - the new email address for this userpublic java.lang.String getPostalAddress()
public void setPostalAddress(java.lang.String postalAddress)
postalAddress - the user's new postal addresspublic java.lang.String getFaxNumber()
public void setFaxNumber(java.lang.String faxNumber)
faxNumber - the user's new fax number.public java.lang.String getPagerNumber()
public void setPagerNumber(java.lang.String pagerNumber)
pagerNumber - the user's new pager number.public java.lang.String getPhoneNumber()
public void setPhoneNumber(java.lang.String phoneNumber)
phoneNumber - the user's new phone number.public java.lang.String getVoiceMailNumber()
public void setVoiceMailNumber(java.lang.String voiceMailNumber)
voiceMailNumber - the user's new voice mail number.public java.lang.String getLogOnName()
public void setPassword(java.lang.String password)
password - the new password.public int getMinimumPasswordLength()
public boolean getPasswordChangeRequired()
public int getPasswordDaysRemaining()
public void update()
public MyUserAccount copy()
MyUserAccount.isEqualTo(com.starbase.starteam.MyUserAccount)public boolean isEqualTo(MyUserAccount account)
account - The user account to be compared with this one.
MyUserAccount.copy()public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object source)
equals in class java.lang.Objectsource - Object the source to comapre with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||