public interface User extends KapuaNamedEntity
User KapuaEntity definition| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Gets the display name (may be a friendlier name)
|
String |
getEmail()
Gets the email
|
Date |
getExpirationDate()
Gets the expiration date
|
String |
getExternalId()
Gets the external id.
|
String |
getPhoneNumber()
Gets the phone number
|
UserStatus |
getStatus()
Gets the
UserStatus |
default String |
getType() |
UserType |
getUserType()
Gets the
UserType |
void |
setDisplayName(String displayName)
Sets the display name (may be a friendlier name)
|
void |
setEmail(String email)
Sets the user email
|
void |
setExpirationDate(Date expirationDate)
Sets the expiration date
|
void |
setExternalId(String externalId)
Sets the external id.
|
void |
setPhoneNumber(String phoneNumber)
Sets the phone number
|
void |
setStatus(UserStatus status)
Sets the
UserStatus |
void |
setUserType(UserType userType)
Sets the user type
|
getDescription, getName, setDescription, setNamegetEntityAttributes, getEntityProperties, getModifiedBy, getModifiedOn, getOptlock, setEntityAttributes, setEntityProperties, setOptlockgetCreatedBy, getCreatedOn, getId, getScopeId, setId, setScopeIdstatic final String TYPE
default String getType()
getType in interface KapuaEntityUserStatus getStatus()
UserStatusUserStatusvoid setStatus(UserStatus status)
UserStatusstatus - the UserStatusString getDisplayName()
void setDisplayName(String displayName)
displayName - the display name (may be a friendlier name)String getEmail()
void setEmail(String email)
email - the user emailString getPhoneNumber()
void setPhoneNumber(String phoneNumber)
phoneNumber - the phone numbervoid setUserType(UserType userType)
userType - the UserTypeString getExternalId()
This field is used to store external SSO identity bound to this User
void setExternalId(String externalId)
This field is used to store external SSO identity bound to this User
externalId - the external id.Date getExpirationDate()
void setExpirationDate(Date expirationDate)
expirationDate - the expiration dateCopyright © 2021 Eclipse.org. All rights reserved.