Professional Services Automation Apex API Developer Reference

pse.TopMatchAllocatorCallable

global without sharing class TopMatchAllocatorCallable implements Callable

asist-ignore-begin:[ApexClassWithoutSharing] This class is invoked via the Async API Framework. Currently, the framework does not allow this to be a USER_MODE job, as it is dependent on other async jobs completing before it is invoked. Since it is a SYSTEM_MODE job, it does not necessarily run as the user who kicked off the process. We therefore can't check sharing/permissions/FLS as we are not guaranteed to have context of the relevant user. Regardless, this isn't a persona driven callable as it is mainly concerned with selecting a single matching resource on Resource_Match_Result__c records, which are generated in a sharing context (ResourceMatcherCallable). So with the above in mind, this callable should not enforce sharing as a system process.

Methods

TopMatchAllocatorCallable

global TopMatchAllocatorCallable()

call

global Object call(String asyncJobRecordId, Map<String, Object> args)

pse.TopMatchAllocatorCallable.FinalizeCallable

global with sharing class FinalizeCallable implements Callable

Methods

FinalizeCallable

global FinalizeCallable()

call

global Object call(String asyncJobRecordId, Map<String, Object> params)

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