Foundations Apex API Developer Reference

fferpcore.SObjectTargetList

global with sharing class SObjectTargetList implements TargetObjectList, TargetObjectList2, SObjectTarget.DestroyListener, VDOAdapters.SelfAdaptingTargetObjectListAndRecordList

Implementation of fferpcore.TargetObjectList for a list of SObjectTarget.

This class implements the following interfaces:

Methods

SObjectTargetList

global SObjectTargetList(SObjectType objectType, List<fferpcore.DataSourceBase.Row> rows)

Construct an SObjectTargetList.

Input Parameters

Name Type Description
objectType SObjectType The SObjectType of each target.
rows List<fferpcore.DataSourceBase.Row> A list of DataSourceBase.Row obtained from an SObjectByIdDataSource query.

SObjectTargetList

global SObjectTargetList(SObjectType objectType, List<SObject> records)

Construct an SObjectTargetList.

Input Parameters

Name Type Description
objectType SObjectType The SObjectType of each target.
records List<SObject> A list of SObject for the given SObjectType.

get

global TargetObject get(Integer index)

create

global fferpcore.TargetObject create()

clear

global void clear()

size

global Integer size()

getKey

global Object getKey(Integer index)

setKey

global void setKey(Integer index, Object key)

create

global fferpcore.TargetObject create(Object key)

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