All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
UpdateModelsLatestActivityDateTimeByMeetingJob Class Reference
Inheritance diagram for UpdateModelsLatestActivityDateTimeByMeetingJob:
BaseJob

Public Member Functions

 run ()
 
- Public Member Functions inherited from BaseJob
 run ()
 
 getErrorMessage ()
 
 setMessageLogger (MessageLogger $messageLogger)
 
 getMessageLogger ()
 

Static Public Member Functions

static getDisplayName ()
 
static getType ()
 
static getRecommendedRunFrequencyContent ()
 
static getModelsToProcess ($pageSize)
 
- Static Public Member Functions inherited from BaseJob
static shouldLoadJobQueueOnCleanupAndFallback ()
 
static getDisplayName ()
 
static getType ()
 
static resolveJobsForQueue ()
 
static loadJobQueue ()
 
static getRecommendedRunFrequencyContent ()
 
static getDefaultMessageLogger ()
 
static getRunTimeThresholdInSeconds ()
 
static showInJobManagerToRunManually ()
 
static jobExecutionInQueueDependsOnTime ()
 

Protected Member Functions

 resolveProcessedMessage ($processed)
 

Static Protected Attributes

static $pageSize = 200
 
- Static Protected Attributes inherited from BaseJob
static $loadJobQueueOnCleanupAndFallback = false
 

Additional Inherited Members

- Data Fields inherited from BaseJob
const JOB_QUEUE_PAGE_SIZE = 100
 
- Protected Attributes inherited from BaseJob
 $errorMessage
 

Detailed Description

A job to update LatestActivityDateTime on contacts and accounts when required because a meeting occurred in the past

Definition at line 40 of file UpdateModelsLatestActivityDateTimeByMeetingJob.php.

Member Function Documentation

static getDisplayName ( )
static
Returns
Translated label that describes this job type.

Definition at line 50 of file UpdateModelsLatestActivityDateTimeByMeetingJob.php.

static getType ( )
static
Returns
The type of the NotificationRules

Definition at line 61 of file UpdateModelsLatestActivityDateTimeByMeetingJob.php.

run ( )

Processes any meetings where the startDateTime is in the past and it has not been processed yet for latestActivityDateTime.

See Also
BaseJob::run()

Definition at line 77 of file UpdateModelsLatestActivityDateTimeByMeetingJob.php.

resolveProcessedMessage (   $processed)
protected

Would rather have used the Yii translation to properly handle singular/plural in one string but because i need to pass in label params, it would not work.

Parameters
$processed
Returns
string

Definition at line 110 of file UpdateModelsLatestActivityDateTimeByMeetingJob.php.

static getModelsToProcess (   $pageSize)
static
Parameters
$pageSize
Returns
array of ByTimeWorkflowInQueue models

Definition at line 130 of file UpdateModelsLatestActivityDateTimeByMeetingJob.php.


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 2020 07:10:51