@StableMinor(version="12.3", sinceVersion="10.4") public class SourcePreUpdateDataEvent extends SourceUpdateDataEvent
Source
before data is updated.Constructor and Description |
---|
SourcePreUpdateDataEvent(Source<?> source,
IParameters parameters,
String itemId)
Creates a new event for update of source data.
|
Modifier and Type | Method and Description |
---|---|
List<ISourceData> |
getOriginalData()
Returns the data that corresponds to the item identifier being updated.
|
getOriginalItemId, getParameters, getSource
getSessionConfig, getTransaction
getEventGroups, getOperationType, setEventGroups, setOperationType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public SourcePreUpdateDataEvent(Source<?> source, IParameters parameters, String itemId)
source
- the source.parameters
- the data provided to the update operation as parameters.itemId
- the item identifier of the data being updated.public List<ISourceData> getOriginalData()
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.
Source.readData(String...)
for SourceUpdateDataEvent.getOriginalItemId()
. For
optimizations purpose, the returned data is reused on multiple calls to this method and it must not be modified
to prevent incorrect result on future calls to this method.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.