public class ValidationExtension extends AbstractEntityInterceptor
Constructor and Description |
---|
ValidationExtension()
Deprecated.
use the new ValidationExtension(morphia) convention
|
ValidationExtension(Morphia m) |
Modifier and Type | Method and Description |
---|---|
void |
prePersist(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper)
see
PrePersist |
postLoad, postPersist, preLoad, preSave
public ValidationExtension()
public ValidationExtension(Morphia m)
public void prePersist(Object ent, com.mongodb.DBObject dbObj, Mapper mapper)
EntityInterceptor
PrePersist
prePersist
in interface EntityInterceptor
prePersist
in class AbstractEntityInterceptor
Copyright © 2015. All rights reserved.