public function applyCriteria($query)
	{
		foreach ($this->defaultCriteria as $criteria) {
			$criteria->apply($query);
		}

		if (empty($this->criteria)) return;

		foreach ($this->criteria as $criteria) {
			$criteria->apply($query);
		}

		if ($this->resetCriteria) {
			$this->resetCriteria();
		}
	}