@StableMinor(version="12.3", sinceVersion="10.4") public class SourcePostUpdateDataEvent extends SourceUpdateDataEvent
Source
after data is updated.Constructor and Description |
---|
SourcePostUpdateDataEvent(Source<?> source,
IParameters parameters,
String originalItemId,
ISourceUpdateDataResult sourceUpdateDataResult)
Creates a new event for after update of source data.
|
Modifier and Type | Method and Description |
---|---|
ISourceUpdateDataResult |
getSourceUpdateDataResult()
Returns the result of the source's update data operation.
|
List<ISourceData> |
getUpdatedData()
Returns the updated data.
|
getOriginalItemId, getParameters, getSource
getSessionConfig, getTransaction
getEventGroups, getOperationType, setEventGroups, setOperationType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public SourcePostUpdateDataEvent(Source<?> source, IParameters parameters, String originalItemId, ISourceUpdateDataResult sourceUpdateDataResult)
source
- the source.parameters
- the data provided to the update operation as parameters.originalItemId
- the item identifier of the data that was updated.sourceUpdateDataResult
- the result of the update operation.public ISourceUpdateDataResult getSourceUpdateDataResult()
public List<ISourceData> getUpdatedData()
This method may require reading the updated 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 the item identifier obtained with
getSourceUpdateDataResult()
.getItemId()
. 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.