Foundations Apex API Developer Reference

fferpcore.SObjectTargetMap

global with sharing class SObjectTargetMap implements TargetObjectMap, SObjectTarget.DestroyListener, VDOAdapters.SelfAdaptingTargetObjectMapAndRecordList

Implementation of fferpcore.TargetObjectMap for a collection of SObjectTarget.

This class implements the following interfaces:

Methods

SObjectTargetMap

global SObjectTargetMap(SObjectType objectType, String correlationField, List<fferpcore.DataSourceBase.Row> rows)

Construct an SObjectTargetMap.

Input Parameters

Name Type Description
objectType SObjectType The SObjectType of the targets.
correlationField String The API name to identify each SObject by.
rows List<fferpcore.DataSourceBase.Row> A list of DataSourceBase.Row obtained from an SObjectByIdDataSource query.

SObjectTargetMap

global SObjectTargetMap(SObjectType objectType, String correlationField, List<SObject> records)

Construct an SObjectTargetMap.

Input Parameters

Name Type Description
objectType SObjectType The SObjectType of the targets.
correlationField String The API name to identify each SObject by.
records List<SObject> A list of SObject for the given SObjectType.

get

global TargetObject get(Object key)

create

global fferpcore.TargetObject create(Object key)

keySet

global Set<Object> keySet()

values

global List<fferpcore.TargetObject> values()

Return Value

The items in the list. SObjectTargetMap maintains insertion order.

size

global Integer size()

getAsRecordList

global fferpcore.VirtualDataObject.RecordList getAsRecordList()

getAsTargetObjectMap

global fferpcore.TargetObjectMap getAsTargetObjectMap()

© Copyright 2009–2024 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.