3declare(strict_types=1);
5namespace Bitrix\Socialnetwork\Control\Operation;
7use Bitrix\Main\ArgumentException;
9use Bitrix\Main\ObjectPropertyException;
10use Bitrix\Main\SystemException;
11use Bitrix\Socialnetwork\Control\Command\UpdateCommand;
12use Bitrix\Socialnetwork\Control\Exception\GroupNotUpdatedException;
13use Bitrix\Socialnetwork\Control\GroupResult;
14use Bitrix\Socialnetwork\Item\Workgroup;
34 $updateResult = CSocNetGroup::Update($this->command->getId(),
$fields);
36 if ($updateResult ===
false)
44 $group = $this->
getRegistry()->get($this->command->getId());
52 $this->entity = $group;
54 $result->setGroup($this->entity);
__construct(UpdateCommand $command)