@Singleton public class UUIDGeneratingEntityEventListener extends AutoPopulatedEntityEventListener
| Constructor and Description |
|---|
UUIDGeneratingEntityEventListener() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getEventTypes() |
protected java.util.function.Predicate<io.micronaut.data.model.runtime.RuntimePersistentProperty<java.lang.Object>> |
getPropertyPredicate() |
boolean |
prePersist(io.micronaut.data.event.EntityEventContext<java.lang.Object> context) |
getApplicableProperties, supportsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@NonNull protected final java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getEventTypes()
getEventTypes in class AutoPopulatedEntityEventListener@NonNull protected java.util.function.Predicate<io.micronaut.data.model.runtime.RuntimePersistentProperty<java.lang.Object>> getPropertyPredicate()
getPropertyPredicate in class AutoPopulatedEntityEventListenerpublic boolean prePersist(@NonNull
io.micronaut.data.event.EntityEventContext<java.lang.Object> context)