public class UserTodoListHook extends DefaultUserHook
Constructor and Description |
---|
UserTodoListHook() |
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 |
getUserTodoListId(ItemValue<User> user) |
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
Copyright © 2021. All Rights Reserved.