play.modules.morphia
Annotation Type Model.OnDelete


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

OnDelete mark a method be called before an entity is deleted. If any exception throw out in this method the entity will not be removed

Author:
luog