Interface MappingCallbacks
- 
- All Known Implementing Classes:
- ArrayMapping,- CollectionMapping,- EmbeddedPCMapping,- InterfaceMapping,- MapMapping,- ObjectMapping,- OptionalMapping,- OracleArrayMapping,- OracleCollectionMapping,- OracleMapMapping,- PersistableIdMapping,- PersistableMapping,- ReferenceIdMapping,- ReferenceMapping,- SerialisedLocalFileMapping,- SingleCollectionMapping
 
 public interface MappingCallbacksInterface 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.
- 
- 
Method SummaryAll Methods Instance Methods Default Methods Modifier and Type Method Description default voidpostFetch(org.datanucleus.state.DNStateManager sm)Method called after the retrieval of the object, so that additional operations can be performed if necessary.default voidpostInsert(org.datanucleus.state.DNStateManager sm)Method called after the insert of the object so that additional operations can be performed if necessary.default voidpostUpdate(org.datanucleus.state.DNStateManager sm)Method called after the update of the object, so that additional operations can be performed if necessary.default voidpreDelete(org.datanucleus.state.DNStateManager sm)Method called before the delete of objects, so that additional operations can be performed if necessary.
 
- 
- 
- 
Method Detail- 
postInsertdefault void postInsert(org.datanucleus.state.DNStateManager sm) Method called after the insert of the object so that additional operations can be performed if necessary.- Parameters:
- sm- StateManager of the owner
 
 - 
postFetchdefault void postFetch(org.datanucleus.state.DNStateManager sm) Method called after the retrieval of the object, so that additional operations can be performed if necessary.- Parameters:
- sm- StateManager of the owner
 
 - 
postUpdatedefault void postUpdate(org.datanucleus.state.DNStateManager sm) Method called after the update of the object, so that additional operations can be performed if necessary.- Parameters:
- sm- StateManager of the owner
 
 - 
preDeletedefault void preDelete(org.datanucleus.state.DNStateManager sm) Method called before the delete of objects, so that additional operations can be performed if necessary.- Parameters:
- sm- StateManager of the owner
 
 
- 
 
-