public class FlushEntityEvent extends AbstractEvent
Constructor and Description |
---|
FlushEntityEvent(EventSource source,
Object entity,
EntityEntry entry) |
Modifier and Type | Method and Description |
---|---|
Object[] |
getDatabaseSnapshot() |
int[] |
getDirtyProperties() |
Object |
getEntity() |
EntityEntry |
getEntityEntry() |
Object[] |
getPropertyValues() |
boolean |
hasDatabaseSnapshot() |
boolean |
hasDirtyCollection() |
boolean |
isDirtyCheckHandledByInterceptor() |
boolean |
isDirtyCheckPossible() |
void |
setDatabaseSnapshot(Object[] databaseSnapshot) |
void |
setDirtyCheckHandledByInterceptor(boolean dirtyCheckHandledByInterceptor) |
void |
setDirtyCheckPossible(boolean dirtyCheckPossible) |
void |
setDirtyProperties(int[] dirtyProperties) |
void |
setHasDirtyCollection(boolean hasDirtyCollection) |
void |
setPropertyValues(Object[] propertyValues) |
getSession
public FlushEntityEvent(EventSource source, Object entity, EntityEntry entry)
public EntityEntry getEntityEntry()
public Object[] getDatabaseSnapshot()
public void setDatabaseSnapshot(Object[] databaseSnapshot)
public boolean hasDatabaseSnapshot()
public boolean isDirtyCheckHandledByInterceptor()
public void setDirtyCheckHandledByInterceptor(boolean dirtyCheckHandledByInterceptor)
public boolean isDirtyCheckPossible()
public void setDirtyCheckPossible(boolean dirtyCheckPossible)
public int[] getDirtyProperties()
public void setDirtyProperties(int[] dirtyProperties)
public boolean hasDirtyCollection()
public void setHasDirtyCollection(boolean hasDirtyCollection)
public Object[] getPropertyValues()
public void setPropertyValues(Object[] propertyValues)
public Object getEntity()
Copyright © 2017 JBoss by Red Hat. All rights reserved.