/**
	 * Exclude object from result
	 *
	 * @param     JNotificationResponsableEleve $jNotificationResponsableEleve Object to remove from the list of results
	 *
	 * @return    JNotificationResponsableEleveQuery The current query, for fluid interface
	 */
	public function prune($jNotificationResponsableEleve = null)
	{
		if ($jNotificationResponsableEleve) {
			$this->addCond('pruneCond0', $this->getAliasedColName(JNotificationResponsableElevePeer::A_NOTIFICATION_ID), $jNotificationResponsableEleve->getANotificationId(), Criteria::NOT_EQUAL);
			$this->addCond('pruneCond1', $this->getAliasedColName(JNotificationResponsableElevePeer::PERS_ID), $jNotificationResponsableEleve->getResponsableEleveId(), Criteria::NOT_EQUAL);
			$this->combine(array('pruneCond0', 'pruneCond1'), Criteria::LOGICAL_OR);
		}

		return $this;
	}
	/**
	 * Filter the query by a related JNotificationResponsableEleve object
	 *
	 * @param     JNotificationResponsableEleve $jNotificationResponsableEleve  the related object to use as filter
	 * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
	 *
	 * @return    ResponsableEleveQuery The current query, for fluid interface
	 */
	public function filterByJNotificationResponsableEleve($jNotificationResponsableEleve, $comparison = null)
	{
		if ($jNotificationResponsableEleve instanceof JNotificationResponsableEleve) {
			return $this
				->addUsingAlias(ResponsableElevePeer::PERS_ID, $jNotificationResponsableEleve->getResponsableEleveId(), $comparison);
		} elseif ($jNotificationResponsableEleve instanceof PropelCollection) {
			return $this
				->useJNotificationResponsableEleveQuery()
				->filterByPrimaryKeys($jNotificationResponsableEleve->getPrimaryKeys())
				->endUse();
		} else {
			throw new PropelException('filterByJNotificationResponsableEleve() only accepts arguments of type JNotificationResponsableEleve or PropelCollection');
		}
	}