|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.descriptors.DescriptorEventAdapter
public class DescriptorEventAdapter
Purpose: Provides an empty implementation of DescriptorEventListener. Users who do not require the full DescritorEventListener API can subclass this class and implement only the methods required.
DescriptorEventManager
,
DescriptorEvent
Constructor Summary | |
---|---|
DescriptorEventAdapter()
|
Method Summary | |
---|---|
void |
aboutToDelete(DescriptorEvent event)
This event is raised before an object is deleted from the database. |
void |
aboutToInsert(DescriptorEvent event)
This event is raised before a new object is inserted to the database. |
void |
aboutToUpdate(DescriptorEvent event)
This event is raised before an object is updated in the database. |
boolean |
isOverriddenEvent(DescriptorEvent event,
java.util.Vector eventManagers)
Implementers should define this method if they need or want to restrict the calling of inherited events. |
void |
postBuild(DescriptorEvent event)
This event is raised after an object is built from its row on a read operation. |
void |
postClone(DescriptorEvent event)
This event is raised after an object is cloned into a unit of work. |
void |
postDelete(DescriptorEvent event)
This event is raised after an object is deleted from the database. |
void |
postInsert(DescriptorEvent event)
This event is raised after an object is inserted to the database. |
void |
postMerge(DescriptorEvent event)
This event is raised after an object is merged from a unit of work into its parent. |
void |
postRefresh(DescriptorEvent event)
This event is raised after an object is refreshed from its row on a refresh operation. |
void |
postUpdate(DescriptorEvent event)
This event is raised after an object updated in the database. |
void |
postWrite(DescriptorEvent event)
This event is raised after an object is inserted or updated in the database. |
void |
preDelete(DescriptorEvent event)
This event is raised before an object is deleted from the database. |
void |
preInsert(DescriptorEvent event)
This event is raised before an object is inserted to the database. |
void |
prePersist(DescriptorEvent event)
This event is only raised by the EntityManager. |
void |
preRemove(DescriptorEvent event)
This event is raised when the remove operation is initiated on an object. |
void |
preUpdate(DescriptorEvent event)
This event is raised for all existing objects written or committed in a unit of work. |
void |
preUpdateWithChanges(DescriptorEvent event)
This event is raised before an object is updated regardless if the object has any database changes. |
void |
preWrite(DescriptorEvent event)
This event is raised for all new or existing objects written or committed in a unit of work. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DescriptorEventAdapter()
Method Detail |
---|
public void aboutToInsert(DescriptorEvent event)
DescriptorEventListener
aboutToInsert
in interface DescriptorEventListener
public void aboutToUpdate(DescriptorEvent event)
DescriptorEventListener
aboutToUpdate
in interface DescriptorEventListener
public void aboutToDelete(DescriptorEvent event)
DescriptorEventListener
aboutToDelete
in interface DescriptorEventListener
public boolean isOverriddenEvent(DescriptorEvent event, java.util.Vector eventManagers)
DescriptorEventListener
isOverriddenEvent
in interface DescriptorEventListener
public void postBuild(DescriptorEvent event)
DescriptorEventListener
postBuild
in interface DescriptorEventListener
public void postClone(DescriptorEvent event)
DescriptorEventListener
postClone
in interface DescriptorEventListener
public void postDelete(DescriptorEvent event)
DescriptorEventListener
postDelete
in interface DescriptorEventListener
public void postInsert(DescriptorEvent event)
DescriptorEventListener
postInsert
in interface DescriptorEventListener
public void postMerge(DescriptorEvent event)
DescriptorEventListener
postMerge
in interface DescriptorEventListener
public void postRefresh(DescriptorEvent event)
DescriptorEventListener
postRefresh
in interface DescriptorEventListener
public void postUpdate(DescriptorEvent event)
DescriptorEventListener
postUpdate
in interface DescriptorEventListener
public void postWrite(DescriptorEvent event)
DescriptorEventListener
postWrite
in interface DescriptorEventListener
public void prePersist(DescriptorEvent event)
DescriptorEventListener
prePersist
in interface DescriptorEventListener
public void preDelete(DescriptorEvent event)
DescriptorEventListener
preDelete
in interface DescriptorEventListener
public void preRemove(DescriptorEvent event)
DescriptorEventListener
preRemove
in interface DescriptorEventListener
public void preInsert(DescriptorEvent event)
DescriptorEventListener
preInsert
in interface DescriptorEventListener
public void preUpdate(DescriptorEvent event)
DescriptorEventListener
preUpdate
in interface DescriptorEventListener
public void preUpdateWithChanges(DescriptorEvent event)
DescriptorEventListener
preUpdateWithChanges
in interface DescriptorEventListener
public void preWrite(DescriptorEvent event)
DescriptorEventListener
preWrite
in interface DescriptorEventListener
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |