fferpcore.SequenceServiceglobal with sharing class SequenceService This class provides methods to query and interact with the Foundations Sequencing Engine. Methods
getSequenceFieldsglobal static fferpcore.SequenceService.GetSequenceFieldsResponse getSequenceFields(Set<Schema.SObjectType> sObjectTypes) Queries for fields that are controlled by the Foundations Sequencing Engine for a set of given SObjectTypes. Input Parameters
Return ValueA response that contains the enabled and disabled sequence field for the queried SObjectTypes. updateSequencesAsyncglobal static void updateSequencesAsync(fferpcore.SequenceService.UpdateSequencesRequest request) Request that sequences be updated for the given records. Asynchronous processing is used to avoid contentions. Input Parameters
fferpcore.SequenceService.UpdateSequencesRequestglobal inherited sharing class UpdateSequencesRequest Request to update sequences on specific records. Properties
MethodsUpdateSequencesRequestglobal UpdateSequencesRequest(Set<Id> recordIds) Construct a standard request for the given record IDs that does not allow chunking. fferpcore.SequenceService.GetSequenceFieldsResponseglobal interface GetSequenceFieldsResponse Interface returned by SequenceService.getSequenceFields(Set<Schema.SObjectType> sObjectTypes). Methods
getEnabledSequenceFieldsList<Schema.SObjectField> getEnabledSequenceFields(SObjectType sObjectType) getDisabledSequenceFieldsList<Schema.SObjectField> getDisabledSequenceFields(SObjectType sObjectType) |