E
- public class AbstractRelationalEventListener<E> extends Object implements ApplicationListener<AbstractRelationalEvent<?>>
ApplicationListener
classes.Constructor and Description |
---|
AbstractRelationalEventListener()
Creates a new
AbstractRelationalEventListener . |
Modifier and Type | Method and Description |
---|---|
protected void |
onAfterDelete(AfterDeleteEvent<E> event)
Captures
AfterDeleteEvent . |
protected void |
onAfterLoad(AfterLoadEvent<E> event)
Captures
AfterLoadEvent . |
protected void |
onAfterSave(AfterSaveEvent<E> event)
Captures
AfterSaveEvent . |
void |
onApplicationEvent(AbstractRelationalEvent<?> event) |
protected void |
onBeforeConvert(BeforeConvertEvent<E> event)
Captures
BeforeConvertEvent . |
protected void |
onBeforeDelete(BeforeDeleteEvent<E> event)
Capture
BeforeDeleteEvent . |
protected void |
onBeforeSave(BeforeSaveEvent<E> event)
Captures
BeforeSaveEvent . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forPayload
public AbstractRelationalEventListener()
AbstractRelationalEventListener
.public void onApplicationEvent(AbstractRelationalEvent<?> event)
onApplicationEvent
in interface ApplicationListener<AbstractRelationalEvent<?>>
protected void onBeforeConvert(BeforeConvertEvent<E> event)
BeforeConvertEvent
.event
- never null.protected void onBeforeSave(BeforeSaveEvent<E> event)
BeforeSaveEvent
.event
- will never be null.protected void onAfterSave(AfterSaveEvent<E> event)
AfterSaveEvent
.event
- will never be null.protected void onAfterLoad(AfterLoadEvent<E> event)
AfterLoadEvent
.event
- will never be null.protected void onAfterDelete(AfterDeleteEvent<E> event)
AfterDeleteEvent
.event
- will never be null.protected void onBeforeDelete(BeforeDeleteEvent<E> event)
BeforeDeleteEvent
.event
- will never be null.Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.