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, onUserDeleted
public void onUserCreated(BmContext context, java.lang.String domainUid, ItemValue<User> created)
IUserHook
onUserCreated
in interface IUserHook
onUserCreated
in class DefaultUserHook
public void onUserUpdated(BmContext context, java.lang.String domainUid, ItemValue<User> previous, ItemValue<User> current)
IUserHook
onUserUpdated
in interface IUserHook
onUserUpdated
in class DefaultUserHook
public void beforeDelete(BmContext context, java.lang.String domainUid, java.lang.String uid, User previous) throws ServerFault
IUserHook
beforeDelete
in interface IUserHook
beforeDelete
in class DefaultUserHook
ServerFault
public static java.lang.String getUserBookId(java.lang.String uid, UserBookHook.UserBookType type)
Copyright © 2021. All Rights Reserved.