public class ExternalUserVO extends UserVO implements Serializable
| Constructor and Description |
|---|
ExternalUserVO()
Empty constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAdditionalProperty()
An optional member holding some additional data for the user.
|
Locale |
getDefaultLanguage()
The default language is used if the external user is not yet created.
|
String |
getExternalUserName()
Login name of the user in the external repository.
|
String |
getPermanentId()
Optional attribute that represents a unique identifier of the user in the external repository
whose value never changes.
|
Set<StringPropertyTO> |
getProperties() |
UserStatus |
getStatus()
Status of the user to be set.
|
String |
getSystemId() |
boolean |
isClearPassword()
Whether to clear the password of the local user.
|
boolean |
isUpdateEmail()
Whether to update the email address of the user if it is provided.
|
boolean |
isUpdateFirstName()
Whether to update the first name if it is provided.
|
boolean |
isUpdateLanguage()
Whether to update the language if it is provided.
|
boolean |
isUpdateLastName()
Whether to update the last name if it is provided.
|
void |
setAdditionalProperty(String additionalProperty)
Set the additional property.
|
void |
setClearPassword(boolean clearPassword)
Set whether a password stored for the local user belonging to this external user should be
cleared.
|
void |
setDefaultLanguage(Locale defaultLanguage)
The default language is used if the external user is not yet created.
|
void |
setExternalUserName(String externalUserName)
Set the external user name.
|
void |
setPermanentId(String permanentId)
Set the permanent id.
|
void |
setProperties(Set<StringPropertyTO> properties)
Set additional user properties.
|
void |
setStatus(UserStatus status)
Set the user status.
|
void |
setSystemId(String systemId)
Set the system id.
|
void |
setUpdateEmail(boolean updateEmail)
Set the email address.
|
void |
setUpdateFirstName(boolean updateFirstName)
Set first name.
|
void |
setUpdateLanguage(boolean updateLanguage)
Set the language.
|
void |
setUpdateLastName(boolean updateLastName)
Set the last name.
|
getAlias, getEmail, getFirstName, getLanguage, getLastName, getPassword, getRoles, getTimeZoneId, setAlias, setEmail, setFirstName, setLanguage, setLastName, setPassword, setRoles, setTimeZoneIdpublic String getAdditionalProperty()
public Locale getDefaultLanguage()
public String getExternalUserName()
public String getPermanentId()
public Set<StringPropertyTO> getProperties()
public UserStatus getStatus()
public String getSystemId()
public boolean isClearPassword()
public boolean isUpdateEmail()
public boolean isUpdateFirstName()
public boolean isUpdateLanguage()
public boolean isUpdateLastName()
public void setAdditionalProperty(String additionalProperty)
additionalProperty - the additional propertypublic void setClearPassword(boolean clearPassword)
clearPassword - true to clear the passwordpublic void setDefaultLanguage(Locale defaultLanguage)
UserVO.setLanguage(Locale)defaultLanguage - the default languagepublic void setExternalUserName(String externalUserName)
externalUserName - the external user namepublic void setPermanentId(String permanentId)
permanentId - the permanent idpublic void setProperties(Set<StringPropertyTO> properties)
properties - the additional propertiespublic void setStatus(UserStatus status)
status - the user statuspublic void setSystemId(String systemId)
systemId - the system idpublic void setUpdateEmail(boolean updateEmail)
updateEmail - the email addresspublic void setUpdateFirstName(boolean updateFirstName)
updateFirstName - the first namepublic void setUpdateLanguage(boolean updateLanguage)
updateLanguage - the languagepublic void setUpdateLastName(boolean updateLastName)
updateLastName - the last nameCopyright © 2019 Communote team. All rights reserved.