public interface VirtualReferenceValuesExtractor
AuditTypeContext should implement. It should return a
set of AuditRecordInternal by which will be included in the report for a given node.
The ctx contains parent/base PKs, it's type, currently resolved type and
index with already processed records. You can use AuditTypeContext.getPayloads(PK),
AuditTypeContext.getPayloads(String), AuditTypeContext.getPayloads(String, PK),
AuditTypeContext.getPayloadsForBasePKs() methods to get records from the index.
The provider can query records based on the set of values passed to it. Use
AuditRecordInternalProvider.queryRecords(Set) to return the records from the bean implementation.
| Modifier and Type | Method and Description |
|---|---|
<AUDITRECORD extends AuditRecordInternal> |
extractValues(AuditRecordInternalProvider<AUDITRECORD> provider,
AuditTypeContext<AUDITRECORD> ctx) |
<AUDITRECORD extends AuditRecordInternal> java.util.List<AUDITRECORD> extractValues(AuditRecordInternalProvider<AUDITRECORD> provider, AuditTypeContext<AUDITRECORD> ctx)
Copyright © 2018 SAP SE. All Rights Reserved.