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

Public Member Functions

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

Static Public Member Functions

static getRecommendedRunFrequencyContent ()
 
- 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

 resolveAddedRequiredAttributesViaDesignerForAllModels ($models)
 
 sendNotificationMessages ($addedRequiredAttributesViaDesigner)
 
 resolveAddedRequiredAttributesViaDesigner ($defaultRequiredAttributes, $requiredAttributes)
 
 resolveRequiredAttributesFromMetadata ($metadata, $onlyWithoutSetDefaultValue=false)
 

Protected Attributes

 $modelsToCheck = array()
 
- Protected Attributes inherited from BaseJob
 $errorMessage
 

Additional Inherited Members

- Data Fields inherited from BaseJob
const JOB_QUEUE_PAGE_SIZE = 100
 
- Static Protected Attributes inherited from BaseJob
static $loadJobQueueOnCleanupAndFallback = false
 

Detailed Description

A job that check if user added some new required attributes to Contacts or Meetings so GoogleApps sync will work fine.

Definition at line 40 of file ModelIntegrationIntegrityCheckJob.php.

Member Function Documentation

resolveAddedRequiredAttributesViaDesignerForAllModels (   $models)
protected

For all models from list, get added required attributes for each model

Parameters
$models
Returns
array

Definition at line 60 of file ModelIntegrationIntegrityCheckJob.php.

sendNotificationMessages (   $addedRequiredAttributesViaDesigner)
protected

Send notification messages based on list of added required attributes

Parameters
$addedRequiredAttributesViaDesigner

Definition at line 82 of file ModelIntegrationIntegrityCheckJob.php.

resolveAddedRequiredAttributesViaDesigner (   $defaultRequiredAttributes,
  $requiredAttributes 
)
protected

Based on default model metadata and customized model metadata, get added required attributes

Parameters
$defaultRequiredAttributes
$requiredAttributes
Returns
array

Definition at line 113 of file ModelIntegrationIntegrityCheckJob.php.

resolveRequiredAttributesFromMetadata (   $metadata,
  $onlyWithoutSetDefaultValue = false 
)
protected

Based on model metadata, get all required attributes

Parameters
$metadata
bool$onlyWithoutSetDefaultValue
Returns
array

Definition at line 142 of file ModelIntegrationIntegrityCheckJob.php.


The documentation for this class was generated from the following file:
Generated on Fri Jan 24 2020 07:10:38