public interface PlatformUser
extends org.flowable.idm.api.User
Modifier and Type | Method and Description |
---|---|
<T> T |
findOrElse(String name,
Class<T> clazz,
T defaultValue) |
<T> T |
findOrElseGet(String name,
Class<T> clazz,
Supplier<T> defaultValueSupplier) |
default String |
findString(String name)
Find a string info with the given name.
|
String |
getAvatarId()
Returns the optional avatar image ID, if this user has an avatar saved in their profile.
|
Date |
getCreationTime() |
String |
getCreatorId() |
List<PlatformIdentityInfo> |
getIdentityInfo()
Returns the identity info properties of this user.
|
String |
getLanguage()
Returns the language of this user.
|
String |
getPresence()
Returns the current presence of the user.
|
Date |
getPresenceTime()
The time the current presence of the user was set
|
String |
getState()
Returns the state of this user.
|
String |
getSubState()
Returns the sub state of this user.
|
String |
getSubType() |
String |
getSystemId()
The system id for the user.
|
String |
getSystemType()
The type of the system that the
systemId belongs to. |
String |
getTheme() |
String |
getType()
The type of the user.
|
String |
getUpdaterId() |
Date |
getUpdateTime() |
String |
getUserDefinitionId() |
default boolean |
isActive()
Returns
true if this user is active, false if it is deactivated, null if cannot be determined
because the state field is not available. |
default boolean |
isBot()
Helper method for checking that the user is of type
UserTypes.BOT |
default boolean |
isExternalUser()
Helper method for checking that the user is of type
UserTypes.EXTERNAL |
void |
setLanguage(String language) |
String getType()
for known types
String getSubType()
String getSystemId()
String getSystemType()
systemId
belongs to.String getUserDefinitionId()
String getCreatorId()
Date getCreationTime()
String getUpdaterId()
Date getUpdateTime()
String getState()
String getSubState()
default boolean isActive()
true
if this user is active, false
if it is deactivated, null
if cannot be determined
because the state field is not available.true
if this user is activeString getAvatarId()
String getPresence()
for known states
Date getPresenceTime()
String getLanguage()
String getTheme()
void setLanguage(String language)
List<PlatformIdentityInfo> getIdentityInfo()
default String findString(String name)
name
- the name of the infoname
, or null
if such info does not existdefault boolean isExternalUser()
UserTypes.EXTERNAL
true
if the user is of type UserTypes.EXTERNAL
, false
otherwisedefault boolean isBot()
UserTypes.BOT
true
if the user is of type UserTypes.BOT
, false
otherwiseCopyright © 2019. All rights reserved.