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 void
postLoad(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)
void
postPersist(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)
void
preLoad(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)
void
prePersist(java.lang.Object ent, com.mongodb.DBObject dbObj, Mapper mapper)
void
preSave(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:
postLoad
in 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:
postPersist
in 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:
preLoad
in 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:
prePersist
in 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:
preSave
in interfaceEntityInterceptor
- Parameters:
ent
- the entity being processeddbObj
- the DBObject form of the entitymapper
- the Mapper being used- See Also:
PreSave
-
-