Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## play.modules.morphia
Annotation Type Model.OnAdd

    @Retention(value=RUNTIME)
    @Target(value=METHOD)
    public static @interface Model.OnAdd

OnAdd mark a method be called before an new entity is saved. If any exception get thrown out in the method the entity will not be saved

Author:
  luog

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT