@java.lang.SuppressWarnings("serial") public abstract class AbstractPersistenceEvent extends org.springframework.context.ApplicationEvent
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
AFTER_DELETE_EVENT |
|
static java.lang.String |
AFTER_INSERT_EVENT |
|
static java.lang.String |
AFTER_LOAD_EVENT |
|
static java.lang.String |
AFTER_UPDATE_EVENT |
|
static java.lang.String |
BEFORE_DELETE_EVENT |
|
static java.lang.String |
BEFORE_INSERT_EVENT |
|
static java.lang.String |
BEFORE_LOAD_EVENT |
|
static java.lang.String |
BEFORE_UPDATE_EVENT |
|
static java.lang.String |
ONLOAD_EVENT |
|
static java.lang.String |
ONLOAD_SAVE |
|
private boolean |
cancelled |
|
private PersistentEntity |
entity |
|
private EntityAccess |
entityAccess |
|
private java.lang.Object |
entityObject |
|
private java.util.List<java.lang.String> |
excludedListenerNames |
|
private java.io.Serializable |
nativeEvent |
Constructor and description |
---|
protected AbstractPersistenceEvent
(Datastore source, PersistentEntity entity, EntityAccess entityAccess) |
protected AbstractPersistenceEvent
(java.lang.Object source, PersistentEntity entity, EntityAccess entityAccess) |
protected AbstractPersistenceEvent
(java.lang.Object source, PersistentEntity entity) |
protected AbstractPersistenceEvent
(Datastore source, java.lang.Object entity) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
addExcludedListenerName(java.lang.String name) |
|
public void |
cancel() |
|
public PersistentEntity |
getEntity() |
|
public EntityAccess |
getEntityAccess() |
|
public java.lang.Object |
getEntityObject() |
|
public abstract EventType |
getEventType() |
|
public java.io.Serializable |
getNativeEvent() |
|
public boolean |
isCancelled() |
|
public boolean |
isListenerExcluded(java.lang.String name) |
|
public void |
setNativeEvent(java.io.Serializable nativeEvent) |
Methods inherited from class | Name |
---|---|
class org.springframework.context.ApplicationEvent |
org.springframework.context.ApplicationEvent#getTimestamp(), org.springframework.context.ApplicationEvent#getSource(), org.springframework.context.ApplicationEvent#toString(), org.springframework.context.ApplicationEvent#wait(long), org.springframework.context.ApplicationEvent#wait(long, int), org.springframework.context.ApplicationEvent#wait(), org.springframework.context.ApplicationEvent#equals(java.lang.Object), org.springframework.context.ApplicationEvent#hashCode(), org.springframework.context.ApplicationEvent#getClass(), org.springframework.context.ApplicationEvent#notify(), org.springframework.context.ApplicationEvent#notifyAll() |