UpdateModelsLatestActivityDateTimeByMeetingJob Class Reference

Inheritance diagram for UpdateModelsLatestActivityDateTimeByMeetingJob:
BaseJob

Public Member Functions

 run ()

Static Public Member Functions

static getDisplayName ()
static getType ()
static getRecommendedRunFrequencyContent ()
static getModelsToProcess ($pageSize)

Protected Member Functions

 resolveProcessedMessage ($processed)

Static Protected Attributes

static $pageSize = 200

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.

Reimplemented from BaseJob.

Definition at line 50 of file UpdateModelsLatestActivityDateTimeByMeetingJob.php.

static getType (  )  [static]
Returns:
The type of the NotificationRules

Reimplemented from BaseJob.

Definition at line 61 of file UpdateModelsLatestActivityDateTimeByMeetingJob.php.

static getRecommendedRunFrequencyContent (  )  [static]
Returns:
string content specifying how often this job should be run as a scheduled task.

Reimplemented from BaseJob.

Definition at line 66 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()

Reimplemented from BaseJob.

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:
 All Data Structures Functions Variables
Generated on Wed Mar 29 07:10:32 2017