public class UserBookHook extends DefaultUserHook
| Modifier and Type | Class and Description |
|---|---|
static class |
UserBookHook.UserBookType |
| Constructor and Description |
|---|
UserBookHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeDelete(BmContext context,
java.lang.String domainUid,
java.lang.String uid,
User previous)
This is called before a user delete
|
static java.lang.String |
getUserBookId(java.lang.String uid,
UserBookHook.UserBookType type) |
void |
onUserCreated(BmContext context,
java.lang.String domainUid,
ItemValue<User> created)
This is called after a user is created 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, beforeUpdate, handleGlobalVirt, onAccountTypeUpdated, onUserDeletedpublic void onUserCreated(BmContext context, java.lang.String domainUid, ItemValue<User> created)
IUserHookonUserCreated in interface IUserHookonUserCreated in class DefaultUserHookpublic void onUserUpdated(BmContext context, java.lang.String domainUid, ItemValue<User> previous, ItemValue<User> current)
IUserHookonUserUpdated in interface IUserHookonUserUpdated in class DefaultUserHookpublic void beforeDelete(BmContext context, java.lang.String domainUid, java.lang.String uid, User previous) throws ServerFault
IUserHookbeforeDelete in interface IUserHookbeforeDelete in class DefaultUserHookServerFaultpublic static java.lang.String getUserBookId(java.lang.String uid,
UserBookHook.UserBookType type)
Copyright © 2022. All Rights Reserved.