public class AbstractEntityInterceptor extends Object implements EntityInterceptor
| Constructor and Description |
|---|
AbstractEntityInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
postLoad(Object ent,
DBObject dbObj,
Mapper mapper) |
void |
postPersist(Object ent,
DBObject dbObj,
Mapper mapper) |
void |
preLoad(Object ent,
DBObject dbObj,
Mapper mapper) |
void |
prePersist(Object ent,
DBObject dbObj,
Mapper mapper) |
void |
preSave(Object ent,
DBObject dbObj,
Mapper mapper) |
public void postLoad(Object ent, DBObject dbObj, Mapper mapper)
postLoad in interface EntityInterceptorent - the entity being processeddbObj - the DBObject form of the entitymapper - the Mapper being usedPostLoadpublic void postPersist(Object ent, DBObject dbObj, Mapper mapper)
postPersist in interface EntityInterceptorent - the entity being processeddbObj - the DBObject form of the entitymapper - the Mapper being usedPostPersistpublic void preLoad(Object ent, DBObject dbObj, Mapper mapper)
preLoad in interface EntityInterceptorent - the entity being processeddbObj - the DBObject form of the entitymapper - the Mapper being usedPreLoadpublic void prePersist(Object ent, DBObject dbObj, Mapper mapper)
prePersist in interface EntityInterceptorent - the entity being processeddbObj - the DBObject form of the entitymapper - the Mapper being usedPostPersist