Метод findRegisteredResourceIds

public

Сигнатура метода

public function findRegisteredResourceIds(int $instanceId, ManagedAgentResourceType $type, array $resourceIds): array

Возвращает: array

Описание

Resource ids of one portion that are already registered for this instance and type, over the same ux_bp_ma_resource_identity key as {@see self::findByLogicalKey()}. The reconciliation of a type asks about the whole portion of live resources it has just read, so a portion costs one query instead of one per resource. The answer carries the ids alone: the caller only decides which of them are missing, and a resource it has to write is written from what it read itself. The caller passes one bounded portion, which is what the batch limits of the participants are for.

Параметры

3
Имя Тип По умолчанию Флаги
$instanceId int —
—
$type ManagedAgentResourceType —
—
$resourceIds array —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Repository/AiAgent/ManagedAgentResourceRepositoryInterface.php
Расположение метода в файле
Строки 44–48

Исходный код

PHP