@StableMinor(version="12.3", sinceVersion="10.4") public class SourcePreDeleteDataEvent extends SourceDeleteDataEvent
Source
before data is deleted.Constructor and Description |
---|
SourcePreDeleteDataEvent(Source<?> serviceSource,
Collection<String> itemIds)
Creates a new event for before delete of source data.
|
Modifier and Type | Method and Description |
---|---|
Collection<ISourceData> |
getDeletedData()
Returns the data that will be deleted.
|
getDeletedItemIds, getSource
getSessionConfig, getTransaction
getEventGroups, getOperationType, setEventGroups, setOperationType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public SourcePreDeleteDataEvent(Source<?> serviceSource, Collection<String> itemIds)
serviceSource
- the source. By definition, must be the source at service level to prevent inconsistency.itemIds
- the item identifiers being deleted.public Collection<ISourceData> getDeletedData()
This method may require reading the data from the persistence. So if the required information is available using another method of this event, it may be more efficient to use that other method.
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.