Interface PlatformUserEntity
- All Superinterfaces:
org.flowable.common.engine.impl.persistence.entity.Entity
,org.flowable.common.engine.impl.db.HasRevision
,PlatformUser
,Serializable
,org.flowable.idm.api.User
,org.flowable.common.engine.api.variable.VariableContainer
- All Known Implementing Classes:
PlatformUserEntityImpl
public interface PlatformUserEntity
extends PlatformUser, org.flowable.common.engine.impl.persistence.entity.Entity, org.flowable.common.engine.impl.db.HasRevision, org.flowable.common.engine.api.variable.VariableContainer
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionfindIdentityInfo
(String name) <T> T
findOrElse
(String name, Class<T> clazz, T defaultValue) <T> T
findOrElseGet
(String name, Class<T> clazz, Supplier<T> defaultValueSupplier) default Object
getVariable
(String variableName) boolean
void
setAvatarId
(String avatarId) void
setCreationTime
(Date creationTime) void
setCreatorId
(String creatorId) void
setIdentityInfo
(String name, Object value) void
setIdentityInfo
(List<PlatformIdentityInfo> identityInfo) void
setLanguage
(String language) void
setPresence
(String presence) void
Set the new state for this user.void
setSubState
(String subState) Set the new sub state for this user.void
setSubType
(String subType) void
default void
setTransientVariable
(String variableName, Object variableValue) void
void
setUpdaterId
(String updaterId) void
setUpdateTime
(Date updateTime) void
setUserDefinitionKey
(String userDefinitionKey) default void
setVariable
(String variableName, Object variableValue) Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, getPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
Methods inherited from interface com.flowable.core.idm.api.PlatformUser
findString, getAvatarId, getCreationTime, getCreatorId, getIdentityInfo, getLanguage, getPresence, getPresenceTime, getState, getSubState, getSubType, getTheme, getType, getUpdaterId, getUpdateTime, getUserDefinitionKey, isActive, isBot, isExternalUser
Methods inherited from interface org.flowable.idm.api.User
getDisplayName, getEmail, getFirstName, getId, getLastName, getPassword, getTenantId, isPictureSet, setDisplayName, setEmail, setFirstName, setId, setLastName, setPassword, setTenantId
Methods inherited from interface org.flowable.common.engine.api.variable.VariableContainer
getTenantId, getVariableNames, hasVariable
-
Method Details
-
setType
-
setSubType
-
setState
Set the new state for this user. This should only be done over a deactivation / reactivation method and not as part of an user update. -
setSubState
Set the new sub state for this user.- Parameters:
subState
- the sub state to be set for this user
-
setCreatorId
-
setCreationTime
-
setUpdaterId
-
setUpdateTime
-
setUserDefinitionKey
-
setAvatarId
-
setPresence
-
setLanguage
-
setTheme
-
setIdentityInfo
-
setIdentityInfo
-
findIdentityInfo
-
isIdentityInfoInitialized
boolean isIdentityInfoInitialized() -
findOrElseGet
- Specified by:
findOrElseGet
in interfacePlatformUser
-
findOrElse
- Specified by:
findOrElse
in interfacePlatformUser
-
getVariable
- Specified by:
getVariable
in interfaceorg.flowable.common.engine.api.variable.VariableContainer
-
setVariable
- Specified by:
setVariable
in interfaceorg.flowable.common.engine.api.variable.VariableContainer
-
setTransientVariable
- Specified by:
setTransientVariable
in interfaceorg.flowable.common.engine.api.variable.VariableContainer
-