ModelStateChangesSubscriptionUtil Class Reference

Static Public Member Functions

static getCreatedModels ($serviceName, $modelClassName, $pageSize, $offset, $timestamp, $stateMetadataAdapterClassName=null, $owner=null, $checkIfModelCreationApiSyncUtilIsNull=true)
static getCreatedModelsCount ($serviceName, $modelClassName, $timestamp, $stateMetadataAdapterClassName=null, $owner=null, $checkIfModelCreationApiSyncUtilIsNull=true)
static getDeletedModelIds ($serviceName, $modelClassName, $pageSize, $offset, $timestamp, $stateMetadataAdapterClassName=null)
static getDeletedModelsCount ($serviceName, $modelClassName, $timestamp, $stateMetadataAdapterClassName=null)
static getUpdatedModels ($modelClassName, $pageSize, $offset, $timestamp, $stateMetadataAdapterClassName=null, $owner=null)
static getUpdatedModelsCount ($modelClassName, $timestamp, $stateMetadataAdapterClassName=null, $owner=null)

Static Protected Member Functions

static makeJoinAdapterAndWhereClauseForGetCreatedModels ($serviceName, $modelClassName, $timestamp, $stateMetadataAdapterClassName=null, $owner=null, $checkIfModelCreationApiSyncUtilIsNull=true, &$joinTablesAdapter, &$where)
static makeJoinAdapterAndWhereClauseForGetUpdatedModels ($modelClassName, $timestamp, $stateMetadataAdapterClassName=null, $owner=null, &$joinTablesAdapter, &$where)

Detailed Description

Class ModelStateChangesSubscriptionUtil

Definition at line 40 of file ModelStateChangesSubscriptionUtil.php.


Member Function Documentation

static getCreatedModels ( serviceName,
modelClassName,
pageSize,
offset,
timestamp,
stateMetadataAdapterClassName = null,
owner = null,
checkIfModelCreationApiSyncUtilIsNull = true 
) [static]

Get array of new models

Parameters:
$serviceName 
$modelClassName 
$pageSize 
$offset 
$timestamp 
null $stateMetadataAdapterClassName
null $owner
bool $checkIfModelCreationApiSyncUtilIsNull
Returns:
bool

Definition at line 54 of file ModelStateChangesSubscriptionUtil.php.

static getCreatedModelsCount ( serviceName,
modelClassName,
timestamp,
stateMetadataAdapterClassName = null,
owner = null,
checkIfModelCreationApiSyncUtilIsNull = true 
) [static]

Get count of new models

Parameters:
$serviceName 
$modelClassName 
$timestamp 
null $stateMetadataAdapterClassName
null $owner
bool $checkIfModelCreationApiSyncUtilIsNull
Returns:
bool

Definition at line 84 of file ModelStateChangesSubscriptionUtil.php.

static getDeletedModelIds ( serviceName,
modelClassName,
pageSize,
offset,
timestamp,
stateMetadataAdapterClassName = null 
) [static]
Parameters:
string $serviceName
$serviceName 
$modelClassName 
$pageSize 
$offset 
$timestamp 
null $stateMetadataAdapterClassName
Returns:
array

Definition at line 157 of file ModelStateChangesSubscriptionUtil.php.

static getDeletedModelsCount ( serviceName,
modelClassName,
timestamp,
stateMetadataAdapterClassName = null 
) [static]

Get total number of deleted models

Parameters:
$serviceName 
$modelClassName 
$timestamp 
null $stateMetadataAdapterClassName
Returns:
int

Definition at line 175 of file ModelStateChangesSubscriptionUtil.php.

static getUpdatedModels ( modelClassName,
pageSize,
offset,
timestamp,
stateMetadataAdapterClassName = null,
owner = null 
) [static]

Get array of modified models

Parameters:
$modelClassName 
$pageSize 
$offset 
$timestamp 
null $stateMetadataAdapterClassName
null $owner
Returns:
mixed

Definition at line 193 of file ModelStateChangesSubscriptionUtil.php.

static getUpdatedModelsCount ( modelClassName,
timestamp,
stateMetadataAdapterClassName = null,
owner = null 
) [static]

Get count of modified models

Parameters:
$modelClassName 
$timestamp 
null $stateMetadataAdapterClassName
null $owner
Returns:
mixed

Definition at line 219 of file ModelStateChangesSubscriptionUtil.php.

static makeJoinAdapterAndWhereClauseForGetUpdatedModels ( modelClassName,
timestamp,
stateMetadataAdapterClassName = null,
owner = null,
&$  joinTablesAdapter,
&$  where 
) [static, protected]
Parameters:
$modelClassName 
$timestamp 
null $stateMetadataAdapterClassName
null $owner
$joinTablesAdapter 
$where 

Definition at line 245 of file ModelStateChangesSubscriptionUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Oct 13 07:11:05 2019