All Downloads are FREE. Search and download functionalities are using the official Maven repository.

work.shashank.annotations.Callbacks Maven / Gradle / Ivy

The newest version!
package work.shashank.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author Shashank Sharma
 */
@Documented
@Target(TYPE)
@Retention(RUNTIME)
public @interface Callbacks {

    /**
     * On entity Save, whether to raise application event
     * @return boolean
     */
    boolean raiseApplicationEvent() default true;

    /**
     * On entity Save, whether to audit the entity's current state in ss_audit table
     * @return boolean
     */
    boolean auditable() default false;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy