public interface IUserHook
User
changesModifier 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
|
boolean handleGlobalVirt()
void beforeCreate(BmContext context, java.lang.String domainUid, java.lang.String uid, User user) throws ServerFault
context
- domainUid
- uid
- user
- ServerFault
void beforeUpdate(BmContext context, java.lang.String domainUid, java.lang.String uid, User update, User previous) throws ServerFault
context
- domainUid
- uid
- update
- previous
- ServerFault
void beforeDelete(BmContext context, java.lang.String domainUid, java.lang.String uid, User previous) throws ServerFault
context
- domainUid
- uid
- previous
- ServerFault
void onUserCreated(BmContext context, java.lang.String domainUid, ItemValue<User> created) throws ServerFault
created
- ServerFault
void onUserUpdated(BmContext context, java.lang.String domainUid, ItemValue<User> previous, ItemValue<User> current) throws ServerFault
previous
- current
- ServerFault
void onUserDeleted(BmContext context, java.lang.String domainUid, ItemValue<User> deleted) throws ServerFault
previous
- ServerFault
Copyright © 2021. All Rights Reserved.