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