/**
  * @param FileData $fileData
  * @return null|EditSession
  * @throws \Bitrix\Main\NotImplementedException
  */
 protected function addCreateEditSessionByCurrentUser(FileData $fileData)
 {
     return EditSession::add(array('USER_ID' => $this->getUser()->getId(), 'OWNER_ID' => $this->getUser()->getId(), 'IS_EXCLUSIVE' => 1, 'SERVICE' => $this->documentHandler->getCode(), 'SERVICE_FILE_ID' => $fileData->getId(), 'SERVICE_FILE_LINK' => $fileData->getLinkInService()), $this->errorCollection);
 }