public interface User extends KapuaNamedEntity
User KapuaEntity definition| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName()
Gets the display name (may be a friendlier name)
|
java.lang.String |
getEmail()
Gets the email
|
java.util.Date |
getExpirationDate()
Gets the expiration date
|
java.lang.String |
getExternalId()
Gets the external id.
|
java.lang.String |
getPhoneNumber()
Gets the phone number
|
UserStatus |
getStatus()
Gets the
UserStatus |
default java.lang.String |
getType() |
UserType |
getUserType()
Gets the
UserType |
void |
setDisplayName(java.lang.String displayName)
Sets the display name (may be a friendlier name)
|
void |
setEmail(java.lang.String email)
Sets the user email
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date
|
void |
setExternalId(java.lang.String externalId)
Sets the external id.
|
void |
setPhoneNumber(java.lang.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 java.lang.String TYPE
default java.lang.String getType()
getType in interface KapuaEntityUserStatus getStatus()
UserStatusUserStatusvoid setStatus(UserStatus status)
UserStatusstatus - the UserStatusjava.lang.String getDisplayName()
void setDisplayName(java.lang.String displayName)
displayName - the display name (may be a friendlier name)java.lang.String getEmail()
void setEmail(java.lang.String email)
email - the user emailjava.lang.String getPhoneNumber()
void setPhoneNumber(java.lang.String phoneNumber)
phoneNumber - the phone numbervoid setUserType(UserType userType)
userType - the UserTypejava.lang.String getExternalId()
This field is used to store external SSO identity bound to this User
void setExternalId(java.lang.String externalId)
This field is used to store external SSO identity bound to this User
externalId - the external id.java.util.Date getExpirationDate()
void setExpirationDate(java.util.Date expirationDate)
expirationDate - the expiration dateCopyright © 2020 Eclipse.org. All rights reserved.