public class ExternalUser
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
| Constructor and Description |
|---|
ExternalUser()
Default constructor
|
ExternalUser(java.lang.String userId)
Constructor with userId
|
| Modifier and Type | Method and Description |
|---|---|
ExternalUser |
clone()
Clone the ExternalUser object
|
java.lang.String |
getAvatar()
Get the avatar
|
java.lang.String |
getCompanyId()
Get the company ID
|
java.lang.String |
getCompanyName()
Get the company name
|
java.lang.String |
getCompanyPhone()
Get the company phone
|
java.util.Date |
getCreatedTime()
Get the created time
|
java.lang.String |
getDepartment()
Get the department
|
java.lang.String |
getDisplayName()
Get the display name
|
java.lang.String |
getEmail()
Get the email
|
java.lang.String |
getExt()
Get the extension
|
java.lang.Object |
getHashKey()
Get the hash key for this object
|
java.lang.String |
getLang()
Get the language
|
java.lang.String |
getPhone()
Get the phone
|
java.lang.String |
getRole()
Get the role
|
java.util.Date |
getUpdatedTime()
Get the updated time
|
java.lang.String |
getUserId()
Get the user ID
|
boolean |
isCompanyEnabled()
Check if the company is enabled
|
boolean |
isEnabled()
Check if the user is enabled
|
void |
setAvatar(java.lang.String avatar)
Set the avatar
|
void |
setCompanyEnabled(boolean companyEnabled)
Set whether the company is enabled
|
void |
setCompanyId(java.lang.String companyId)
Set the company ID
|
void |
setCompanyName(java.lang.String companyName)
Set the company name
|
void |
setCompanyPhone(java.lang.String companyPhone)
Set the company phone
|
void |
setCreatedTime(java.util.Date createdTime)
Set the created time
|
void |
setDepartment(java.lang.String department)
Set the department
|
void |
setDisplayName(java.lang.String displayName)
Set the display name
|
void |
setEmail(java.lang.String email)
Set the email
|
void |
setEnabled(boolean enabled)
Set whether the user is enabled
|
void |
setExt(java.lang.String ext)
Set the extension
|
void |
setLang(java.lang.String lang)
Set the language
|
void |
setPhone(java.lang.String phone)
Set the phone
|
void |
setRole(java.lang.String role)
Set the role
|
void |
setUpdatedTime(java.util.Date updatedTime)
Set the updated time
|
void |
setUserId(java.lang.String userId)
Set the user ID
|
java.lang.String |
toString()
Returns a string representation of the object
|
void |
update(java.lang.Object obj)
Update this object with values from another object
|
public ExternalUser()
public ExternalUser(java.lang.String userId)
userId - the user IDpublic java.lang.String getUserId()
public void setUserId(java.lang.String userId)
userId - the user ID to setpublic java.lang.String getDepartment()
public void setDepartment(java.lang.String department)
department - the department to setpublic java.lang.String getRole()
public void setRole(java.lang.String role)
role - the role to setpublic java.lang.String getExt()
public void setExt(java.lang.String ext)
ext - the extension to setpublic java.lang.String getLang()
public void setLang(java.lang.String lang)
lang - the language to setpublic java.lang.String getCompanyId()
public void setCompanyId(java.lang.String companyId)
companyId - the company ID to setpublic java.lang.String getCompanyName()
public void setCompanyName(java.lang.String companyName)
companyName - the company name to setpublic java.lang.String getCompanyPhone()
public void setCompanyPhone(java.lang.String companyPhone)
companyPhone - the company phone to setpublic boolean isCompanyEnabled()
public void setCompanyEnabled(boolean companyEnabled)
companyEnabled - true to enable the company, false to disablepublic java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName - the display name to setpublic java.lang.String getAvatar()
public void setAvatar(java.lang.String avatar)
avatar - the avatar to setpublic java.lang.String getPhone()
public void setPhone(java.lang.String phone)
phone - the phone to setpublic java.lang.String getEmail()
public void setEmail(java.lang.String email)
email - the email to setpublic java.util.Date getCreatedTime()
public void setCreatedTime(java.util.Date createdTime)
createdTime - the created time to setpublic java.util.Date getUpdatedTime()
public void setUpdatedTime(java.util.Date updatedTime)
updatedTime - the updated time to setpublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - true to enable the user, false to disablepublic ExternalUser clone()
clone in class java.lang.Objectpublic void update(java.lang.Object obj)
obj - the object to update frompublic java.lang.Object getHashKey()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2022. All Rights Reserved.