/**
  * Exclude object from result
  *
  * @param   ChildJaAclPerfiles $jaAclPerfiles Object to remove from the list of results
  *
  * @return $this|ChildJaAclPerfilesQuery The current query, for fluid interface
  */
 public function prune($jaAclPerfiles = null)
 {
     if ($jaAclPerfiles) {
         $this->addUsingAlias(JaAclPerfilesTableMap::COL_ID, $jaAclPerfiles->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
 /**
  * Filter the query by a related \JaAclPerfiles object
  *
  * @param \JaAclPerfiles|ObjectCollection $jaAclPerfiles The related object(s) to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @throws \Propel\Runtime\Exception\PropelException
  *
  * @return ChildJaAclPerfilesRecursosQuery The current query, for fluid interface
  */
 public function filterByJaAclPerfiles($jaAclPerfiles, $comparison = null)
 {
     if ($jaAclPerfiles instanceof \JaAclPerfiles) {
         return $this->addUsingAlias(JaAclPerfilesRecursosTableMap::COL_PERFIL_ID, $jaAclPerfiles->getId(), $comparison);
     } elseif ($jaAclPerfiles instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(JaAclPerfilesRecursosTableMap::COL_PERFIL_ID, $jaAclPerfiles->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByJaAclPerfiles() only accepts arguments of type \\JaAclPerfiles or Collection');
     }
 }
 /**
  * Declares an association between this object and a ChildJaAclPerfiles object.
  *
  * @param  ChildJaAclPerfiles $v
  * @return $this|\JaAclPerfilesRecursos The current object (for fluent API support)
  * @throws PropelException
  */
 public function setJaAclPerfiles(ChildJaAclPerfiles $v = null)
 {
     if ($v === null) {
         $this->setPerfilId(NULL);
     } else {
         $this->setPerfilId($v->getId());
     }
     $this->aJaAclPerfiles = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the ChildJaAclPerfiles object, it will not be re-added.
     if ($v !== null) {
         $v->addJaAclPerfilesRecursos($this);
     }
     return $this;
 }