public class UserProfileDetails extends Object implements UserName, Serializable
Constructor and Description |
---|
UserProfileDetails(Long userId,
String userAlias)
Construct the
User with the details |
Modifier and Type | Method and Description |
---|---|
void |
addExternalUserId(String externalSystemId,
String externalUserId)
Stores the user ID that a user has within an external system.
|
String |
getExternalUserId(String externalSystemId)
Returns the ID of the user within an external system.
|
String |
getFirstName() |
String |
getLastName() |
String |
getSalutation() |
String |
getTimeZoneId() |
String |
getUserAlias()
The alias of the user
|
Long |
getUserId()
The user id of the user
|
Locale |
getUserLocale() |
UserStatus |
getUserStatus() |
void |
setFirstName(String firstName) |
void |
setLastName(String lastName) |
void |
setSalutation(String salutation) |
void |
setTimeZoneId(String timeZoneId) |
void |
setUserLocale(Locale userLocale) |
void |
setUserStatus(UserStatus userStatus) |
public void addExternalUserId(String externalSystemId, String externalUserId)
externalSystemId
- the ID of the external systemexternalUserId
- the ID of the user within the external system identified by the externalSystemIDpublic String getExternalUserId(String externalSystemId)
externalSystemId
- the ID of the external systempublic String getFirstName()
getFirstName
in interface UserName
public String getLastName()
getLastName
in interface UserName
public String getSalutation()
getSalutation
in interface UserName
public String getTimeZoneId()
public String getUserAlias()
public Long getUserId()
public Locale getUserLocale()
public UserStatus getUserStatus()
public void setFirstName(String firstName)
firstName
- the firstName to setpublic void setLastName(String lastName)
lastName
- the lastName to setpublic void setSalutation(String salutation)
salutation
- the salutation to setpublic void setTimeZoneId(String timeZoneId)
timeZoneId
- the timeZoneId to setpublic void setUserLocale(Locale userLocale)
userLocale
- the userLocale to setpublic void setUserStatus(UserStatus userStatus)
userStatus
- the userStatus to setCopyright © 2019 Communote team. All rights reserved.