public interface User extends KapuaNamedEntity
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Return the display name (may be a friendly username to show in the UI)
|
String |
getEmail()
Get the user email
|
Date |
getExpirationDate() |
String |
getExternalId()
Get the external ID
|
String |
getPhoneNumber()
Get the phone number
|
UserStatus |
getStatus()
Return the user status
|
default String |
getType() |
UserType |
getUserType()
Get the user type
|
void |
setDisplayName(String displayName)
Set the display name
|
void |
setEmail(String email)
Set the user email
|
void |
setExpirationDate(Date expirationDate) |
void |
setExternalId(String externalId)
Set the external ID
|
void |
setPhoneNumber(String phoneNumber)
Set the phone number
|
void |
setStatus(UserStatus status)
Get the user status
|
void |
setUserType(UserType userType)
Set the user type
|
getName, setNamegetEntityAttributes, getEntityProperties, getModifiedBy, getModifiedOn, getOptlock, setEntityAttributes, setEntityProperties, setOptlockgetCreatedBy, getCreatedOn, getId, getScopeId, setId, setScopeIdstatic final String TYPE
default String getType()
getType in interface KapuaEntityUserStatus getStatus()
void setStatus(UserStatus status)
status - String getDisplayName()
void setDisplayName(String displayName)
displayName - String getEmail()
void setEmail(String email)
email - String getPhoneNumber()
void setPhoneNumber(String phoneNumber)
phoneNumber - UserType getUserType()
void setUserType(UserType userType)
String getExternalId()
void setExternalId(String externalId)
externalId - Date getExpirationDate()
void setExpirationDate(Date expirationDate)
Copyright © 2018 Eclipse.org. All rights reserved.