public function replaceIdxSiteContents(Site $site, array $contents)
    {
        $contentUids = $this->getAClassContentUids($contents);

        return $this->replaceIdxSiteContentsUid($site->getUid(), $contentUids);
    }