Added the javadoc.
This commit is contained in:
@@ -12,9 +12,21 @@ import org.eclipse.persistence.descriptors.DescriptorEvent;
|
|||||||
|
|
||||||
public interface EventAwareEntity {
|
public interface EventAwareEntity {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fired for the Entity creation.
|
||||||
|
* @param descriptorEvent
|
||||||
|
*/
|
||||||
void fireCreateEvent(DescriptorEvent descriptorEvent);
|
void fireCreateEvent(DescriptorEvent descriptorEvent);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fired for the Entity updation.
|
||||||
|
* @param descriptorEvent
|
||||||
|
*/
|
||||||
void fireUpdateEvent(DescriptorEvent descriptorEvent);
|
void fireUpdateEvent(DescriptorEvent descriptorEvent);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fired for the Entity deletion.
|
||||||
|
* @param descriptorEvent
|
||||||
|
*/
|
||||||
void fireDeleteEvent(DescriptorEvent descriptorEvent);
|
void fireDeleteEvent(DescriptorEvent descriptorEvent);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user