fferpcore.SimpleLinkingCorrelationStrategyglobal with sharing virtual class SimpleLinkingCorrelationStrategy implements LinkingCorrelationStrategy A fferpcore.SimpleLinkingCorrelationStrategy structure. This class will perform its database access without sharing. This class implements the following interfaces: Methods
SimpleLinkingCorrelationStrategyglobal SimpleLinkingCorrelationStrategy(Schema.SObjectField correlationField) The constructor for a SimpleLinkingCorrelationStrategy. This constructor is used to define the correlation field that is used to uniquely identify the SObject this subscriber is associated with. Input Parameters
Sample Code
setCorrelationIdglobal void setCorrelationId(SObject record, String value) This method sets the correlation field, which is defined in the constructor, on the given record to the specified value. Input Parameters
Sample Code
selectItemsByCorrelationIdglobal virtual Map<String, SObject> selectItemsByCorrelationId(Schema.SObjectType objectType, Set<String> selectorFields, Set<String> correlationIds) This method returns a list of all the SObjects of the specified type with the specified fields from a list of specified Ids. These Ids relate to the correlation field which is defined in the constructor. Input Parameters
Return ValueThis service returns a map of String, SObject objects. Sample Code
|