Foundations Apex API Developer Reference

fferpcore.DataTargetRoot2

global interface DataTargetRoot2 extends DataTargetRoot

fferpcore.DataTargetRoot2 supports the following additional features:


  • Use of an external correlation key
  • Use of multiple external correlation keys
  • Results are returned as DataTargetWorkResult2

This class extends fferpcore.DataTargetRoot

Methods

queryByKeySetWithExternalCorrelation

TargetObjectMap queryByKeySetWithExternalCorrelation(Map<Object, Object> correlationKeysBySearchValue)

Load records for the given search keys. The resulting fferpcore.TargetObjectMap returns records keyed on the external correlation ID. Only found records are returned.
Search values can only appear once in the input map, but correlation keys can appear multiple times. If this results in multiple records being found for a given correlation key then an error will be reported against that key.

Input Parameters

Name Type Description
correlationKeysBySearchValue Map<Object, Object> Map of correlation keys indexed by search value.

Return Value

A TargetObjectMap that uses external correlation.

queryByKeySetWithExternalCorrelations

TargetObjectMap queryByKeySetWithExternalCorrelations(Map<List<Object> , List<Object>> correlationKeysBySearchValues)

Load records for the given search keys. The resulting fferpcore.TargetObjectMap returns records keyed on the external correlation ID. Only found records are returned.

Input Parameters

Name Type Description
correlationKeysBySearchValues Map<List<Object> , List<Object>> Map of correlation keys indexed by search values.

Return Value

A TargetObjectMap that uses external correlation.

© Copyright 2009–2022 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.