c2g.BackgroundPostingSchedulerServiceglobal with sharing class BackgroundPostingSchedulerService The service class relating to Background Posting Scheduler. Properties
Methods
runNowglobal static void runNow() Runs any background posting jobs with a status of “waiting”. See "About the Background Posting Scheduler" in the Certinia Help for more details. Use ScheduleAndRunBackgroundPosting (Schedule and Run Background Posting) custom permission to grant permissions on this method. runNowglobal static void runNow(String documentType) Runs the background posting scheduler for the specified document type. Use ScheduleAndRunBackgroundPosting (Schedule and Run Background Posting) custom permission to grant permissions on this method. Input Parameters
scheduleBySettingsObjectglobal static c2g.BackgroundPostingSchedulerService.ScheduleResult scheduleBySettingsObject(c2g.BackgroundPostingSchedulerService.ScheduleSettings settings) Creates a schedule to control the frequency of the batch processing. Use ScheduleAndRunBackgroundPosting (Schedule and Run Background Posting) custom permission to grant permissions on this method. Input Parameters
Return ValueThis service returns a c2g.BackgroundPostingSchedulerService.ScheduleResult object. Sample Code
c2g.BackgroundPostingSchedulerService.ScheduleResultglobal with sharing class ScheduleResult Holds information about the status of an attempt to schedule. Sample Code
Properties
c2g.BackgroundPostingSchedulerService.ScheduleSettingsglobal with sharing class ScheduleSettings This data type allows you to specify the settings of a Background Posting Scheduler schedule. Sample Code
Properties
MethodsScheduleSettingsglobal ScheduleSettings() |