public class ProductCharacteristicValueEventHandler extends EntityPersistenceEventObserver
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.log4j.Logger |
logger |
| Constructor and Description |
|---|
ProductCharacteristicValueEventHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected Entity[] |
getObservedEntities()
Must be implemented by subclass to signal which
Entity types are observed. |
void |
onDelete(EntityDeleteEvent event) |
void |
onNew(EntityNewEvent event) |
void |
onTransactionBegin(TransactionBeginEvent event) |
void |
onTransactionCompleted(TransactionCompletedEvent event) |
void |
onUpdate(EntityUpdateEvent event) |
isValidEventpublic ProductCharacteristicValueEventHandler()
protected Entity[] getObservedEntities()
EntityPersistenceEventObserverEntity types are observed.getObservedEntities in class EntityPersistenceEventObserverEntityPersistenceEventObserver.isValidEvent(EntityPersistenceEvent)public void onTransactionBegin(@Observes
TransactionBeginEvent event)
public void onNew(@Observes
EntityNewEvent event)
public void onUpdate(@Observes
EntityUpdateEvent event)
public void onDelete(@Observes
EntityDeleteEvent event)
public void onTransactionCompleted(@Observes
TransactionCompletedEvent event)