Package dev.morphia
Class AbstractEntityInterceptor
- java.lang.Object
-
- dev.morphia.AbstractEntityInterceptor
-
- All Implemented Interfaces:
EntityInterceptor
public class AbstractEntityInterceptor extends java.lang.Object implements EntityInterceptor
- Author:
- Uwe Schaefer, (us@thomas-daily.de)
-
-
Constructor Summary
Constructors Constructor Description AbstractEntityInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpostLoad(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)voidpostPersist(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)voidpreLoad(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)voidprePersist(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)voidpreSave(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)
-
-
-
Method Detail
-
postLoad
public void postLoad(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)- Specified by:
postLoadin interfaceEntityInterceptor- Parameters:
ent- the entity being processeddbObj- the DBObject form of the entitymapper- the Mapper being used- See Also:
PostLoad
-
postPersist
public void postPersist(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)- Specified by:
postPersistin interfaceEntityInterceptor- Parameters:
ent- the entity being processeddbObj- the DBObject form of the entitymapper- the Mapper being used- See Also:
PostPersist
-
preLoad
public void preLoad(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)- Specified by:
preLoadin interfaceEntityInterceptor- Parameters:
ent- the entity being processeddbObj- the DBObject form of the entitymapper- the Mapper being used- See Also:
PreLoad
-
prePersist
public void prePersist(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)- Specified by:
prePersistin interfaceEntityInterceptor- Parameters:
ent- the entity being processeddbObj- the DBObject form of the entitymapper- the Mapper being used- See Also:
PostPersist
-
preSave
public void preSave(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)- Specified by:
preSavein interfaceEntityInterceptor- Parameters:
ent- the entity being processeddbObj- the DBObject form of the entitymapper- the Mapper being used- See Also:
PreSave
-
-