public function filterByDealerFolderVersion($dealerFolderVersion, $comparison = null)
    {
        if ($dealerFolderVersion instanceof \Dealer\Model\DealerFolderVersion) {
            return $this
                ->addUsingAlias(DealerFolderTableMap::ID, $dealerFolderVersion->getId(), $comparison);
        } elseif ($dealerFolderVersion instanceof ObjectCollection) {
            return $this
                ->useDealerFolderVersionQuery()
                ->filterByPrimaryKeys($dealerFolderVersion->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByDealerFolderVersion() only accepts arguments of type \Dealer\Model\DealerFolderVersion or Collection');
        }
    }