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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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
userPasswordUpdated(PlatformUser user)
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 Detail
-
beforeUserCreate
void beforeUserCreate(PlatformUser userToBeCreated)
Called just before a user is created.
-
userCreated
void userCreated(PlatformUser createdUser)
Called when the user is created and was a new user.
-
beforeUserUpdate
void beforeUserUpdate(PlatformUser userToBeUpdated, PlatformUser oldPlatformUser)
Called just before a user is updated.
-
userUpdated
void userUpdated(PlatformUser updatedUser, PlatformUser oldUser)
Called when an existing user is updated.
-
userPasswordUpdated
void userPasswordUpdated(PlatformUser user)
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
-
-