public abstract class ValidationEventListenerBase
extends java.lang.Object
implements org.hibernate.event.spi.PostInsertEventListener, org.hibernate.event.spi.PostUpdateEventListener
Modifier | Constructor and Description |
---|---|
protected |
ValidationEventListenerBase(IEntityValidationCrud dao) |
Modifier and Type | Method and Description |
---|---|
protected abstract EntityValidationTaskBase |
createValidationTask(ICdmBase entity,
CRUDEventType trigger) |
protected IEntityValidationCrud |
getDao() |
ValidationExecutor |
getValidationExecutor() |
protected abstract java.lang.String |
levelString() |
void |
onPostInsert(org.hibernate.event.spi.PostInsertEvent event) |
void |
onPostUpdate(org.hibernate.event.spi.PostUpdateEvent event) |
void |
setEnabled(boolean enabled)
Deprecated.
|
void |
setValidationExecutor(ValidationExecutor validationExecutor) |
protected void |
validate(java.lang.Object object,
CRUDEventType trigger) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected ValidationEventListenerBase(IEntityValidationCrud dao)
public ValidationExecutor getValidationExecutor()
public void setValidationExecutor(ValidationExecutor validationExecutor)
public void onPostInsert(org.hibernate.event.spi.PostInsertEvent event)
onPostInsert
in interface org.hibernate.event.spi.PostInsertEventListener
public void onPostUpdate(org.hibernate.event.spi.PostUpdateEvent event)
onPostUpdate
in interface org.hibernate.event.spi.PostUpdateEventListener
protected IEntityValidationCrud getDao()
protected void validate(java.lang.Object object, CRUDEventType trigger)
protected abstract EntityValidationTaskBase createValidationTask(ICdmBase entity, CRUDEventType trigger)
protected abstract java.lang.String levelString()
@Deprecated public void setEnabled(boolean enabled)
Copyright © 2007-2020 EDIT. All Rights Reserved.