Interface VirtualReferenceValuesExtractor

All Known Implementing Classes:
PkAsLongVirtualReferenceValuesExtractor, PkVirtualReferenceValuesExtractor

public interface VirtualReferenceValuesExtractor
An interface that all beans that resolves values from 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.