public class BeanValidationListener extends DescriptorEventAdapter
| Constructor and Description |
|---|
BeanValidationListener(javax.validation.ValidatorFactory validatorFactory,
java.lang.Class[] groupPrePersit,
java.lang.Class[] groupPreUpdate,
java.lang.Class[] groupPreRemove) |
| Modifier and Type | Method and Description |
|---|---|
void |
prePersist(DescriptorEvent event)
This event is only raised by the EntityManager.
|
void |
preRemove(DescriptorEvent event)
This event is raised when the remove operation is initiated on an object.
|
void |
preUpdate(DescriptorEvent event)
This event is raised for all existing objects written or committed in a unit of work.
|
aboutToDelete, aboutToInsert, aboutToUpdate, isOverriddenEvent, postBuild, postClone, postDelete, postInsert, postMerge, postRefresh, postUpdate, postWrite, preDelete, preInsert, preUpdateWithChanges, preWritepublic BeanValidationListener(javax.validation.ValidatorFactory validatorFactory,
java.lang.Class[] groupPrePersit,
java.lang.Class[] groupPreUpdate,
java.lang.Class[] groupPreRemove)
public void prePersist(DescriptorEvent event)
DescriptorEventListenerprePersist in interface DescriptorEventListenerprePersist in class DescriptorEventAdapterpublic void preUpdate(DescriptorEvent event)
DescriptorEventListenerpreUpdate in interface DescriptorEventListenerpreUpdate in class DescriptorEventAdapterpublic void preRemove(DescriptorEvent event)
DescriptorEventListenerpreRemove in interface DescriptorEventListenerpreRemove in class DescriptorEventAdapterEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference