public class EntityAdapter<T> extends Object implements EntityListener<T>
Constructor and Description |
---|
EntityAdapter() |
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) |
public void onInsert(Serializable id, T entity)
onInsert
in interface EntityListener<T>
public void onUpdate(Serializable id, T entity, String[] modifiedProperties)
onUpdate
in interface EntityListener<T>
public void onDelete(Serializable id, Class<T> clazz)
onDelete
in interface EntityListener<T>
public void onCollectionEntityRecreate(Serializable ownerId, Class<T> ownerClass, Serializable entityId, Object entity)
onCollectionEntityRecreate
in interface EntityListener<T>
public void onCollectionEntityUpdate(Serializable ownerId, Class<T> ownerClass, String collectionPropertyName, Serializable entityId, Object entity)
onCollectionEntityUpdate
in interface EntityListener<T>
public void onCollectionEntityRemove(Serializable ownerId, Class<T> ownerClass, String collectionPropertyName, Serializable entityId, Class<?> entityClass)
onCollectionEntityRemove
in interface EntityListener<T>