Interface VirtualReferenceValuesExtractor
-
- All Known Implementing Classes:
PkAsLongVirtualReferenceValuesExtractor,PkVirtualReferenceValuesExtractor
public interface VirtualReferenceValuesExtractorAn interface that all beans that resolves values fromAuditTypeContextshould implement. It should return a set ofAuditRecordInternalby which will be included in the report for a given node.The
ctxcontains parent/basePKs, it's type, currently resolved type and index with already processed records. You can useAuditTypeContext.getPayloads(PK),AuditTypeContext.getPayloads(String),AuditTypeContext.getPayloads(String, PK),AuditTypeContext.getPayloadsForBasePKs()methods to get records from the index.The
providercan query records based on the set of values passed to it. UseAuditRecordInternalProvider.queryRecords(Set)to return the records from the bean implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <AUDITRECORD extends AuditRecordInternal>
java.util.List<AUDITRECORD>extractValues(AuditRecordInternalProvider<AUDITRECORD> provider, AuditTypeContext<AUDITRECORD> ctx)
-
-
-
Method Detail
-
extractValues
<AUDITRECORD extends AuditRecordInternal> java.util.List<AUDITRECORD> extractValues(AuditRecordInternalProvider<AUDITRECORD> provider, AuditTypeContext<AUDITRECORD> ctx)
-
-