Package com.flowable.core.idm.api
Interface UserHandler
public interface UserHandler
Handler that is invoked for specific user actions like creation, update, activation or deactivation.
- Author:
- Filip Hrisafov, Micha Kiener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeUserCreate
(PlatformUser userToBeCreated) Called just before a user is created.void
beforeUserUpdate
(PlatformUser userToBeUpdated, PlatformUser oldPlatformUser) Called just before a user is updated.void
userCreated
(PlatformUser createdUser) Called when the user is created and was a new user.void
userDefinitionChanged
(String userId, String userDefinitionKey, String oldUserDefinitionKey, String tenantId) Called when the user definition of a user is changed.void
Called when the password of a user is changed.void
userStateAndSubStateChanged
(String userId, String newState, String newSubState, String oldState, String oldSubState, String tenantId) Called when the state/substate of a user is changed.void
userUpdated
(PlatformUser updatedUser, PlatformUser oldUser) Called when an existing user is updated.
-
Method Details
-
beforeUserCreate
Called just before a user is created. -
userCreated
Called when the user is created and was a new user. -
beforeUserUpdate
Called just before a user is updated. -
userUpdated
Called when an existing user is updated. -
userPasswordUpdated
Called when the password of a user is changed. -
userStateAndSubStateChanged
void userStateAndSubStateChanged(String userId, String newState, String newSubState, String oldState, String oldSubState, String tenantId) Called when the state/substate of a user is changed. -
userDefinitionChanged
void userDefinitionChanged(String userId, String userDefinitionKey, String oldUserDefinitionKey, String tenantId) Called when the user definition of a user is changed.- Parameters:
userId
- the id of the user for which the change was doneuserDefinitionKey
- the key of the new user definitionoldUserDefinitionKey
- the key of the previous user definitiontenantId
- the tenant in which the user definition change was done
-