Package wt.fc

Class PersistenceManagerEvent

java.lang.Object
wt.events.KeyedEvent
wt.fc.PersistenceManagerEvent
All Implemented Interfaces:
wt.events.summary.SummarizedEvent

public class PersistenceManagerEvent extends KeyedEvent
Used to represent events occuring within the PersistenceManager. This event supports both single and multiple object event targets. For most operations, the event target will either be a single Persistable or a WTCollection of Persistables.

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