Package org.apache.cayenne.map
Class CallbackMap
java.lang.Object
org.apache.cayenne.map.CallbackMap
- All Implemented Interfaces:
Serializable
A generic descriptor of a set of standard lifecycle callbacks.
- Since:
- 3.0
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
encodeCallbacksAsXML
(XMLEncoder encoder) getCallbackDescriptor
(LifecycleEvent callbackType) Returns all event callbacks as an array ordered by event type.
-
Field Details
-
callbacks
-
-
Constructor Details
-
CallbackMap
public CallbackMap()
-
-
Method Details
-
getCallbacks
Returns all event callbacks as an array ordered by event type. -
getCallbackDescriptor
- Parameters:
callbackType
- callback type id- Returns:
- CallbackDescriptor for the specified callback type id
-
getPostLoad
-
getPostPersist
-
getPostRemove
-
getPostUpdate
-
getPostAdd
-
getPrePersist
-
getPreRemove
-
getPreUpdate
-
encodeCallbacksAsXML
-