public class AuthContextUserHook extends DefaultUserHook
Constructor and Description |
---|
AuthContextUserHook() |
Modifier and Type | Method and Description |
---|---|
void |
onUserCreated(BmContext context,
java.lang.String domainUid,
ItemValue<User> fresh)
This is called after a user is created in the database
|
void |
onUserDeleted(BmContext context,
java.lang.String domainUid,
ItemValue<User> deleted)
This is called after a user is deleted in the database
|
void |
onUserUpdated(BmContext context,
java.lang.String domainUid,
ItemValue<User> previous,
ItemValue<User> current)
This is called after a user is updated in the database
|
beforeCreate, beforeDelete, beforeUpdate, handleGlobalVirt
public void onUserCreated(BmContext context, java.lang.String domainUid, ItemValue<User> fresh) throws ServerFault
IUserHook
onUserCreated
in interface IUserHook
onUserCreated
in class DefaultUserHook
ServerFault
public void onUserUpdated(BmContext context, java.lang.String domainUid, ItemValue<User> previous, ItemValue<User> current) throws ServerFault
IUserHook
onUserUpdated
in interface IUserHook
onUserUpdated
in class DefaultUserHook
ServerFault
public void onUserDeleted(BmContext context, java.lang.String domainUid, ItemValue<User> deleted) throws ServerFault
IUserHook
onUserDeleted
in interface IUserHook
onUserDeleted
in class DefaultUserHook
ServerFault
Copyright © 2021. All Rights Reserved.