Home » Search

About listener

61-70 of 140Refresh
JDO Doc
4

getDetachedInstance()

Method javax.jdo.listener.InstanceLifecycleEvent Object getDetachedInstance() Returns the detached instance involved in the event. Returns: The detached instance involved in the event, or null if there was none. Since: JDO 2.0 See Also: "Section 12.15, Java Data Objects 2.0 Specification"
JDO Doc
4

getEventType()

Method javax.jdo.listener.InstanceLifecycleEvent int getEventType() Returns the event type that triggered this event. Returns: the event type Since: JDO 2.0
JDO Doc
4

getPersistentInstance()

Method javax.jdo.listener.InstanceLifecycleEvent Object getPersistentInstance() Returns the persistent instance involved in the event. Returns: The persistent instance involved in the event, or null if there was none. Since: JDO 2.0 See Also: "Section 12.15, Java Data Objects 2.0 Specification"
JDO Doc
4

getSource()

Method javax.jdo.listener.InstanceLifecycleEvent Object getSource() The source object of the Event. Although not deprecated, it is recommended that the the methods getPersistentInstance() and getDetachedInstance() be used instead. Returns: The persistent instance on any pre- callback
JDO Doc
4

getTarget()

Method javax.jdo.listener.InstanceLifecycleEvent Object getTarget() The target object of the Event. Although not deprecated, it is recommended that the the methods getPersistentInstance() and getDetachedInstance() be used instead. Returns: The detached instance for preDetach and postAttach
JDO Doc
4

InstanceLifecycleEvent(source, type)

Constructor javax.jdo.listener.InstanceLifecycleEvent InstanceLifecycleEvent(   Object source,   int type ) Creates a new event object with the specified source and type. Parameters: source - the instance that triggered the event type - the event type Since: JDO 2.0
JDO Doc
4

InstanceLifecycleEvent(source, type, target)

Constructor javax.jdo.listener.InstanceLifecycleEvent InstanceLifecycleEvent(   Object source,   int type,   Object target ) Creates a new event object with the specified source, type, and target. Parameters: source - the instance that triggered the event type - the event type target - the "other" instance Since: JDO 2.0
JDO Doc
4

InstanceLifecycleEvent.ATTACH

Static Field javax.jdo.listener.InstanceLifecycleEvent int ATTACH Since: JDO 2.0
JDO Doc
4

InstanceLifecycleEvent.CLEAR

Static Field javax.jdo.listener.InstanceLifecycleEvent int CLEAR Since: JDO 2.0
JDO Doc
4

InstanceLifecycleEvent.CREATE

Static Field javax.jdo.listener.InstanceLifecycleEvent int CREATE Since: JDO 2.0