| Package | Description |
|---|---|
| org.hswebframework.web.authorization.events | |
| org.hswebframework.web.crud.events | |
| org.hswebframework.web.event | |
| org.hswebframework.web.system.authorization.api.event |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAuthorizationEvent
抽象授权事件,保存事件常用的数据
|
class |
AuthorizationBeforeEvent
授权前事件
|
class |
AuthorizationDecodeEvent
在进行授权时的最开始,触发此事件进行用户名密码解码,解码后请调用
AuthorizationDecodeEvent.setUsername(String) AuthorizationDecodeEvent.setPassword(String)重新设置用户名密码 |
class |
AuthorizationExitEvent
退出登录事件
|
class |
AuthorizationFailedEvent
授权失败时触发
|
class |
AuthorizationSuccessEvent
授权成功事件,当授权成功时,触发此事件,并传入授权的信息
|
| Modifier and Type | Class and Description |
|---|---|
class |
EntityBeforeCreateEvent<E> |
class |
EntityBeforeDeleteEvent<E> |
class |
EntityBeforeModifyEvent<E> |
class |
EntityBeforeQueryEvent<E> |
class |
EntityBeforeSaveEvent<E> |
class |
EntityCreatedEvent<E> |
class |
EntityDeletedEvent<E> |
class |
EntityModifyEvent<E> |
class |
EntityPrepareCreateEvent<E> |
class |
EntityPrepareModifyEvent<E> |
class |
EntityPrepareSaveEvent<E> |
class |
EntitySavedEvent<E> |
| Modifier and Type | Method and Description |
|---|---|
static <T,E extends AsyncEvent> |
EntityEventHelper.publishEvent(Object source,
Class<T> entityType,
Supplier<E> eventSupplier,
Consumer<GenericsPayloadApplicationEvent<E>> publisher) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
EntityEventListener.handleBatchOperation(Class clazz,
EntityEventType entityEventType,
org.hswebframework.ezorm.rdb.events.EventContext context,
BiFunction<List<?>,Class,AsyncEvent> before,
BiFunction<List<?>,Class,AsyncEvent> execute,
BiFunction<List<?>,Class,AsyncEvent> after) |
protected void |
EntityEventListener.handleBatchOperation(Class clazz,
EntityEventType entityEventType,
org.hswebframework.ezorm.rdb.events.EventContext context,
BiFunction<List<?>,Class,AsyncEvent> before,
BiFunction<List<?>,Class,AsyncEvent> execute,
BiFunction<List<?>,Class,AsyncEvent> after) |
protected void |
EntityEventListener.handleBatchOperation(Class clazz,
EntityEventType entityEventType,
org.hswebframework.ezorm.rdb.events.EventContext context,
BiFunction<List<?>,Class,AsyncEvent> before,
BiFunction<List<?>,Class,AsyncEvent> execute,
BiFunction<List<?>,Class,AsyncEvent> after) |
protected void |
EntityEventListener.handleSingleOperation(Class clazz,
EntityEventType entityEventType,
org.hswebframework.ezorm.rdb.events.EventContext context,
BiFunction<List<?>,Class,AsyncEvent> before,
BiFunction<List<?>,Class,AsyncEvent> execute,
BiFunction<List<?>,Class,AsyncEvent> after) |
protected void |
EntityEventListener.handleSingleOperation(Class clazz,
EntityEventType entityEventType,
org.hswebframework.ezorm.rdb.events.EventContext context,
BiFunction<List<?>,Class,AsyncEvent> before,
BiFunction<List<?>,Class,AsyncEvent> execute,
BiFunction<List<?>,Class,AsyncEvent> after) |
protected void |
EntityEventListener.handleSingleOperation(Class clazz,
EntityEventType entityEventType,
org.hswebframework.ezorm.rdb.events.EventContext context,
BiFunction<List<?>,Class,AsyncEvent> before,
BiFunction<List<?>,Class,AsyncEvent> execute,
BiFunction<List<?>,Class,AsyncEvent> after) |
protected reactor.core.publisher.Mono<Void> |
EntityEventListener.sendDeleteEvent(List<Object> olds,
Class<Object> type,
BiFunction<List<Object>,Class<Object>,AsyncEvent> eventBuilder) |
protected reactor.core.publisher.Mono<Void> |
EntityEventListener.sendUpdateEvent(List<Object> before,
List<Object> after,
Class<Object> type,
reactor.function.Function3<List<Object>,List<Object>,Class<Object>,AsyncEvent> mapper) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultAsyncEvent |
| Modifier and Type | Class and Description |
|---|---|
class |
DimensionBindEvent |
class |
DimensionUnbindEvent |
class |
UserCreatedEvent |
class |
UserDeletedEvent |
class |
UserModifiedEvent
用户密码发生修改时事件
|
Copyright © 2016–2021. All rights reserved.