public function findByUids($uids, array $querySettings = ['respectSysLanguage' => false]) {
    if (is_string($uids)) {
      $uids = GeneralUtility::intExplode(',', $uids, true);
    }

    if (!empty($uids)) {
      // Create a new query.
      $query = $this->createquery();

      // Apply the passed query settings.
      $query = $this->applyQuerySettings($query, $querySettings);

      // Set the query constraints.
      $query->matching($query->in('uid', $uids));

      // Execute the query.
      $result = $query->execute();

      return $result;
    }

    return null;
  }