|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MappingCallbacks
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.
| Method Summary | |
|---|---|
void |
insertPostProcessing(StateManager sm)
Hook so that we can handle any post-processing on the insert of a particular field. |
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. |
| Method Detail |
|---|
void insertPostProcessing(StateManager sm)
sm - StateManagervoid postInsert(StateManager sm)
sm - StateManager of the ownervoid postFetch(StateManager sm)
sm - StateManager of the ownervoid postUpdate(StateManager sm)
sm - StateManager of the ownervoid preDelete(StateManager sm)
sm - StateManager of the owner
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||