|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objectplanet.survey.plugin.api.User
public class User
Represent a survey system user.
Constructor Summary | |
---|---|
User(com.objectplanet.survey.business.User userObject)
Constructor for the User object |
Method Summary | |
---|---|
boolean |
checkPassword(java.lang.String password)
Compare entered password with the user password. |
java.lang.String |
getAttribute(java.lang.String attributeName)
Gets an attribute of the User object |
long |
getCreatedDate()
Gets the user created date |
long |
getDefaultFolderId()
Gets the default folder id |
java.lang.String |
getEmail()
Gets the email |
java.lang.String |
getLanguage()
Gets the language |
long |
getLastLogin()
Gets the last login date |
java.lang.String |
getLogin()
Gets the login name |
java.lang.String |
getMemo()
Gets the memo |
long |
getUserId()
Gets the user id |
java.lang.String |
getUserName()
Gets the user name |
void |
setAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
Sets an attribute of the User object |
void |
setDefaultFolderId(long defaultFolderId)
Sets the default folder id |
void |
setEmail(java.lang.String email)
Sets the email |
void |
setLanguage(java.lang.String language)
Sets the language for the user |
void |
setLogin(java.lang.String login)
Sets the login name |
void |
setMemo(java.lang.String memo)
Sets the memo (additional information about the user) |
void |
setPassword(java.lang.String password)
Sets the password |
void |
setUserName(java.lang.String userName)
Sets the user name |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public User(com.objectplanet.survey.business.User userObject)
userObject
- User objectMethod Detail |
---|
public void setAttribute(java.lang.String attributeName, java.lang.String attributeValue)
String
- attributeName The attribute nameString
- attributeValue The attribute valuepublic void setUserName(java.lang.String userName)
userName
- The new user namepublic void setLanguage(java.lang.String language)
language
- The new languagepublic void setEmail(java.lang.String email)
email
- The new emailpublic void setMemo(java.lang.String memo)
memo
- The new memopublic void setLogin(java.lang.String login)
login
- The new loginpublic void setPassword(java.lang.String password) throws SurveySystemException
password
- The new password
SurveySystemException
public void setDefaultFolderId(long defaultFolderId)
defaultFolderId
- The new defaultFolderIdpublic java.lang.String getAttribute(java.lang.String attributeName)
String
- attributeName The attribute name
public java.lang.String getLogin()
public long getUserId()
public java.lang.String getUserName()
public boolean checkPassword(java.lang.String password) throws SurveySystemException
SurveySystemException
public java.lang.String getLanguage()
public java.lang.String getEmail()
public java.lang.String getMemo()
public long getDefaultFolderId()
public long getCreatedDate()
public long getLastLogin()
public java.lang.String toString()
toString
in class java.lang.Object
|
Copyright ? ObjectPlanet Inc. All Rights Reserved. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |