Package com.flowable.idm.engine.impl
Class PlatformUserBuilderImpl
java.lang.Object
com.flowable.idm.engine.impl.PlatformUserBuilderImpl
- All Implemented Interfaces:
PlatformUserBuilder
- Author:
- Filip Hrisafov, Joram Barrez
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected final CoreIdmEngineConfiguration
protected final boolean
protected String
protected String
protected PlatformUserEntity
protected String
protected PlatformUserEntity
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected final String
-
Constructor Summary
ConstructorDescriptionPlatformUserBuilderImpl
(CoreIdmEngineConfiguration idmEngineConfiguration, String userId, boolean isUpdate) -
Method Summary
Modifier and TypeMethodDescriptiondisplayName
(String displayName) protected PlatformUser
executeSave
(CommandContext commandContext) protected boolean
isPropertyModified
(String property) Setting the presence is only possible for new users.save()
Performs the save of the userSet the type of the user.userDefinitionId
(String userDefinitionId) userDefinitionKey
(String userDefinitionKey)
-
Field Details
-
idmEngineConfiguration
-
userId
-
isUpdate
protected final boolean isUpdate -
tenantId
-
userDefinitionId
-
userDefinitionKey
-
type
-
subType
-
presence
-
state
-
subState
-
firstName
-
lastName
-
displayName
-
avatarId
-
email
-
password
-
language
-
theme
-
customInfo
-
modifiedProperties
-
originalPlatformUser
-
platformUser
-
-
Constructor Details
-
PlatformUserBuilderImpl
public PlatformUserBuilderImpl(CoreIdmEngineConfiguration idmEngineConfiguration, String userId, boolean isUpdate)
-
-
Method Details
-
tenantId
- Specified by:
tenantId
in interfacePlatformUserBuilder
-
userDefinitionId
- Specified by:
userDefinitionId
in interfacePlatformUserBuilder
-
userDefinitionKey
- Specified by:
userDefinitionKey
in interfacePlatformUserBuilder
-
type
Description copied from interface:PlatformUserBuilder
Set the type of the user.- Specified by:
type
in interfacePlatformUserBuilder
- Parameters:
type
- that the user should have- See Also:
-
subType
- Specified by:
subType
in interfacePlatformUserBuilder
-
presence
Description copied from interface:PlatformUserBuilder
Setting the presence is only possible for new users. Updating a user presence should happen overPlatformIdentityService.updateUserPresence(String, String, String)
- Specified by:
presence
in interfacePlatformUserBuilder
- Parameters:
presence
- that the user should have- See Also:
-
state
- Specified by:
state
in interfacePlatformUserBuilder
-
subState
- Specified by:
subState
in interfacePlatformUserBuilder
-
firstName
- Specified by:
firstName
in interfacePlatformUserBuilder
-
lastName
- Specified by:
lastName
in interfacePlatformUserBuilder
-
displayName
- Specified by:
displayName
in interfacePlatformUserBuilder
-
avatarId
- Specified by:
avatarId
in interfacePlatformUserBuilder
-
email
- Specified by:
email
in interfacePlatformUserBuilder
-
password
- Specified by:
password
in interfacePlatformUserBuilder
-
language
- Specified by:
language
in interfacePlatformUserBuilder
-
theme
- Specified by:
theme
in interfacePlatformUserBuilder
-
setInfo
- Specified by:
setInfo
in interfacePlatformUserBuilder
-
save
Description copied from interface:PlatformUserBuilder
Performs the save of the user- Specified by:
save
in interfacePlatformUserBuilder
- Returns:
- the saved
PlatformUser
-
executeSave
-
isPropertyModified
-
getOriginalPlatformUser
-
getPlatformUser
-