public class TestHook extends DefaultUserHook
Modifier and Type | Field and Description |
---|---|
static java.util.concurrent.CountDownLatch |
latch |
Constructor and Description |
---|
TestHook() |
Modifier and Type | Method and Description |
---|---|
boolean |
handleGlobalVirt() |
void |
onUserCreated(BmContext context,
java.lang.String domainUid,
ItemValue<User> created)
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> prev,
ItemValue<User> current)
This is called after a user is updated in the database
|
beforeCreate, beforeDelete, beforeUpdate
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> prev, ItemValue<User> current)
IUserHook
onUserUpdated
in interface IUserHook
onUserUpdated
in class DefaultUserHook
public void onUserDeleted(BmContext context, java.lang.String domainUid, ItemValue<User> deleted)
IUserHook
onUserDeleted
in interface IUserHook
onUserDeleted
in class DefaultUserHook
public boolean handleGlobalVirt()
handleGlobalVirt
in interface IUserHook
handleGlobalVirt
in class DefaultUserHook
Copyright © 2021. All Rights Reserved.