Package com.flowable.core.idm.api
Interface PlatformUserBuilder
- All Known Implementing Classes:
PlatformUserBuilderImpl
public interface PlatformUserBuilder
A builder for the Platform user that can be used to set predefined properties or add some custom properties.
- Author:
- Filip Hrisafov, Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptiondisplayName(String displayName) 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)
-
Method Details
-
tenantId
-
userDefinitionId
-
userDefinitionKey
-
type
Set the type of the user.- Parameters:
type- that the user should have- See Also:
-
subType
-
presence
Setting the presence is only possible for new users. Updating a user presence should happen overPlatformIdentityService.updateUserPresence(String, String, String)- Parameters:
presence- that the user should have- See Also:
-
state
-
subState
-
firstName
-
lastName
-
displayName
-
avatarId
-
email
-
password
-
language
-
theme
-
setInfo
-
save
PlatformUser save()Performs the save of the user- Returns:
- the saved
PlatformUser
-