public interface EntityListener<T>
Modifier and Type | Method and Description |
---|---|
void |
onCollectionEntityRecreate(Serializable ownerId,
Class<T> ownerClass,
Serializable entityId,
Object entity) |
void |
onCollectionEntityRemove(Serializable ownerId,
Class<T> ownerClass,
String collectionPropertyName,
Serializable entityId,
Class<?> entityClass) |
void |
onCollectionEntityUpdate(Serializable ownerId,
Class<T> ownerClass,
String collectionPropertyName,
Serializable entityId,
Object entity) |
void |
onDelete(Serializable id,
Class<T> clazz) |
void |
onInsert(Serializable id,
T entity) |
void |
onUpdate(Serializable id,
T entity,
String[] modifiedProperties) |
void onInsert(Serializable id, T entity)
void onUpdate(Serializable id, T entity, String[] modifiedProperties)
void onDelete(Serializable id, Class<T> clazz)
void onCollectionEntityRecreate(Serializable ownerId, Class<T> ownerClass, Serializable entityId, Object entity)
void onCollectionEntityUpdate(Serializable ownerId, Class<T> ownerClass, String collectionPropertyName, Serializable entityId, Object entity)
void onCollectionEntityRemove(Serializable ownerId, Class<T> ownerClass, String collectionPropertyName, Serializable entityId, Class<?> entityClass)