Uses of Enum Class
org.apache.cayenne.map.LifecycleEvent
Packages that use LifecycleEvent
Package
Description
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
-
Uses of LifecycleEvent in org.apache.cayenne.map
Subclasses with type arguments of type LifecycleEvent in org.apache.cayenne.mapModifier and TypeClassDescriptionenumDefines possible entity object lifecycle events.Fields in org.apache.cayenne.map declared as LifecycleEventFields in org.apache.cayenne.map with type parameters of type LifecycleEventModifier and TypeFieldDescriptionprotected static final Map<LifecycleEvent, Class<? extends Annotation>> EntityResolver.LIFECYCLE_EVENT_MAPMethods in org.apache.cayenne.map that return LifecycleEventModifier and TypeMethodDescriptionCallbackDescriptor.getCallbackType()static LifecycleEventReturns the enum constant of this class with the specified name.static LifecycleEvent[]LifecycleEvent.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.cayenne.map with parameters of type LifecycleEventConstructors in org.apache.cayenne.map with parameters of type LifecycleEvent -
Uses of LifecycleEvent in org.apache.cayenne.reflect
Methods in org.apache.cayenne.reflect with parameters of type LifecycleEventModifier and TypeMethodDescriptionvoidLifecycleCallbackRegistry.addCallback(LifecycleEvent type, Class<?> entityClass, Method method) Registers a callback method to be invoked on an entity class instances when a lifecycle event occurs.voidLifecycleCallbackRegistry.addCallback(LifecycleEvent type, Class<?> entityClass, String methodName) Registers a callback method to be invoked on an entity class instances when a lifecycle event occurs.voidLifecycleCallbackRegistry.addDefaultListener(LifecycleEvent type, Object listener, String methodName) Registers a callback method to be invoked on a provided non-entity object when a lifecycle event occurs on any entity that does not suppress default callbacks.voidLifecycleCallbackRegistry.addListener(LifecycleEvent type, Class<?> entityClass, Object listener, String methodName) Registers callback method to be invoked on a provided non-entity object when a lifecycle event occurs for a specific entity.booleanLifecycleCallbackRegistry.isEmpty(LifecycleEvent type) Returns true if there are no listeners for a specific event type.voidLifecycleCallbackRegistry.performCallbacks(LifecycleEvent type, Collection<?> objects) Invokes callbacks of a specific type for a collection of entity objects.voidLifecycleCallbackRegistry.performCallbacks(LifecycleEvent type, Persistent object) Invokes callbacks of a specific type for a given entity object.