| org.jpox.store.mapping.MappingCallbacks
All known Subclasses: org.jpox.store.mapping.ReferenceMapping, org.jpox.store.mapping.MapMapping, org.jpox.store.mapping.PersistenceCapableMapping, org.jpox.store.mapping.EmbeddedPCMapping, org.jpox.store.mapping.ArrayMapping, org.jpox.store.mapping.CollectionMapping,
MappingCallbacks | public interface MappingCallbacks (Code) | | Interface defining a series of callbacks that are called when this mapping goes through
certain lifecycle events. This interface would be implemented by any type of mapping that handles
a relation and so may need to perform action just before or just after a lifecycle event.
version: $Revision: 1.5 $ |
Method Summary | |
void | postFetch(StateManager sm) Method called after the retrieval of the object, so that additional operations can be performed if necessary. | void | postInsert(StateManager sm) Method called after the insert of the object so that additional operations can be performed if necessary. | void | postUpdate(StateManager sm) Method called after the update of the object, so that additional operations can be performed if necessary. | void | preDelete(StateManager sm) Method called before the delete of objects, so that additional operations can be performed if necessary. |
postFetch | void postFetch(StateManager sm)(Code) | | Method called after the retrieval of the object, so that additional operations can be performed if necessary.
Parameters: sm - StateManager of the owner |
postInsert | void postInsert(StateManager sm)(Code) | | Method called after the insert of the object so that additional operations can be performed if necessary.
Parameters: sm - StateManager of the owner |
postUpdate | void postUpdate(StateManager sm)(Code) | | Method called after the update of the object, so that additional operations can be performed if necessary.
Parameters: sm - StateManager of the owner |
preDelete | void preDelete(StateManager sm)(Code) | | Method called before the delete of objects, so that additional operations can be performed if necessary.
Parameters: sm - StateManager of the owner |
|
|