ModelIntegrationIntegrityCheckJob Class Reference

Inheritance diagram for ModelIntegrationIntegrityCheckJob:
BaseJob

Public Member Functions

 getNotificationType ()
 getNotificationRulesClassName ()
 getNotificationMessage ()

Static Public Member Functions

static getRecommendedRunFrequencyContent ()

Protected Member Functions

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

Protected Attributes

 $modelsToCheck = array()

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

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

Reimplemented from BaseJob.

Definition at line 50 of file ModelIntegrationIntegrityCheckJob.php.

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:
 All Data Structures Functions Variables
Generated on Sat Sep 23 07:10:26 2017