/**
  * Filter the query by a related \JaAclUsuariosPerfiles object
  *
  * @param \JaAclUsuariosPerfiles|ObjectCollection $jaAclUsuariosPerfiles the related object to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return ChildJaAclPerfilesQuery The current query, for fluid interface
  */
 public function filterByJaAclUsuariosPerfiles($jaAclUsuariosPerfiles, $comparison = null)
 {
     if ($jaAclUsuariosPerfiles instanceof \JaAclUsuariosPerfiles) {
         return $this->addUsingAlias(JaAclPerfilesTableMap::COL_ID, $jaAclUsuariosPerfiles->getPerfilId(), $comparison);
     } elseif ($jaAclUsuariosPerfiles instanceof ObjectCollection) {
         return $this->useJaAclUsuariosPerfilesQuery()->filterByPrimaryKeys($jaAclUsuariosPerfiles->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByJaAclUsuariosPerfiles() only accepts arguments of type \\JaAclUsuariosPerfiles or Collection');
     }
 }