Class PersistenceManagerEvent
- All Implemented Interfaces:
wt.events.summary.SummarizedEvent
The CLEANUP_LINK single object event contains the source Persistable object as the target and the cleaned up link is populated in the associatedLink attribute. The CLEANUP_LINK multiple object event contains a WTKeyedMap as the target. The key set in this map contains the source object and the associated values are the link objects. Note that the objects in the WTKeyedMap may not be inflated so they should be accesed as references when possible.
The COPY_LINK single object event contains the original Link object as
the target and the new link is populated in the associatedLink attribute.The
COPY_LINK multiple object event contains a WTKeyedMap as the target.
The key set in this map contains the original link objects and the associated
values are the new link objects. Note that the objects in this event's
WTKeyedMap will be inflated.
Supported API: true
Extendable: false
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe event used to notify listeners that a link object has been copied.static final StringDeprecated.as of 8.0, this event is no longer supported.static final StringThe event used to notify listeners that an object has been inserted in the datastore.static final StringThe event used to notify listeners that an object has been deleted.static final StringThe event used to notify listeners that an object has been modified.static final StringDeprecated.as of R8.0, use POST_DELETE since multi-object events are supported directlystatic final StringThe event used to notify listeners that a new object has been created.static final StringThe event used to notify listeners that an object is about to be deleted.static final StringThe event used to notify listeners that an object is about to be inserted in the datastore.static final StringThe event used to notify listeners that an object is about to be modified.static final StringDeprecated.as of R8.0, use PRE_DELETE since multi-object events are supported directlystatic final StringThe event used to notify listeners that an object is about to be deleted from the datastore.static final StringThe event used to notify listeners that a new object is about to be created.static final StringThe event used to notify listeners that an object is to be prepared for modification.static final StringThe event used to notify listeners that an object is to be prepared for view.static final StringThe event used to notify listeners that an object has been deleted from the datastore.static final StringThe event used to notify listeners that an object has been updated in the datastore. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.as of R8.0, use getEventTarget() in a multi-object event listener.Object[]Deprecated.as of R8.0, use getEventTarget() since multi-object events are supported directly.Methods inherited from class wt.events.KeyedEvent
generateEventKey, getEventKey, getEventTarget, getEventType
-
Field Details
-
PRE_STORE
The event used to notify listeners that a new object is about to be created.
Supported API: true -
POST_STORE
The event used to notify listeners that a new object has been created.
Supported API: true -
PRE_MODIFY
The event used to notify listeners that an object is about to be modified.
Supported API: true -
POST_MODIFY
The event used to notify listeners that an object has been modified.
Supported API: true -
PREPARE_FOR_MODIFICATION
The event used to notify listeners that an object is to be prepared for modification.
Supported API: true -
PREPARE_FOR_VIEW
The event used to notify listeners that an object is to be prepared for view.
Supported API: true -
UPDATE
The event used to notify listeners that an object has been updated in the datastore.
Supported API: true -
PRE_REMOVE
The event used to notify listeners that an object is about to be deleted from the datastore. This event is emitted between PRE_DELETE and POST_DELETE and before a REMOVE.
Supported API: true -
REMOVE
The event used to notify listeners that an object has been deleted from the datastore. This event is emitted between PRE_DELETE and POST_DELETE and before a CLEANUP_LINK.
Supported API: true -
PRE_DELETE
The event used to notify listeners that an object is about to be deleted.
Supported API: true -
POST_DELETE
The event used to notify listeners that an object has been deleted.
Supported API: true -
COPY_LINK
The event used to notify listeners that a link object has been copied.
Supported API: true -
INFLATE_RESULT
Deprecated.as of 8.0, this event is no longer supported.The event used to notify listeners that a query that might have ObjectReferences in it has been done.
Supported API: true- See Also:
-
INSERT
The event used to notify listeners that an object has been inserted in the datastore.
Supported API: true -
PRE_MULTI_DELETE
Deprecated.as of R8.0, use PRE_DELETE since multi-object events are supported directlyThe event used to notify listeners that a multi object delete is about to begin.
Supported API: true- See Also:
-
POST_MULTI_DELETE
Deprecated.as of R8.0, use POST_DELETE since multi-object events are supported directlyThe event used to notify listeners that a multi object delete is complete.
Supported API: true- See Also:
-
PRE_INSERT
The event used to notify listeners that an object is about to be inserted in the datastore.
Supported API: true- See Also:
-
-
Method Details
-
getAssociatedLink
Deprecated.as of R8.0, use getEventTarget() in a multi-object event listener.Gets the value of the attribute: associatedLink; The link associated with the target object of a PersistenceManager operation.
Supported API: true- Returns:
- Link
-
getOperableObjectArray
Deprecated.as of R8.0, use getEventTarget() since multi-object events are supported directly.Return the operableObjectArray associated to the multi delete event, may be null.
Supported API: true- Returns:
- Object[]
-