public final class PostSaveEvent extends PersistenceEvent
Event which is fired before an entity is saved. If the application receives an Event that
returns Type#POST_SAVE} from Event.getLifeCycle(), the event can safely be down casted.Event.TYPE| Constructor and Description |
|---|
PostSaveEvent(Object affectedObject,
boolean wasNew) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
wasNew() |
getLifeCycle, getObject, toStringpublic PostSaveEvent(Object affectedObject, boolean wasNew)
Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.