Added the javadoc.

This commit is contained in:
Gaurav
2016-08-01 17:51:34 +02:00
parent fa3b5d69e9
commit 1bf91372ae

View File

@@ -12,9 +12,21 @@ import org.eclipse.persistence.descriptors.DescriptorEvent;
public interface EventAwareEntity {
/**
* Fired for the Entity creation.
* @param descriptorEvent
*/
void fireCreateEvent(DescriptorEvent descriptorEvent);
/**
* Fired for the Entity updation.
* @param descriptorEvent
*/
void fireUpdateEvent(DescriptorEvent descriptorEvent);
/**
* Fired for the Entity deletion.
* @param descriptorEvent
*/
void fireDeleteEvent(DescriptorEvent descriptorEvent);
}