<?php
/**
 * @copyright (c) Kufer Software GmbH, Loisachstrasse 4, D-84453 Mühldorf
 */

namespace Kufer\Web\KuferTools\Utils\FilterSettings\Adressen;

use Kufer\Web\Classes\Dbfilter\AdressenSQLFilter;
use Kufer\Web\KuferTools\Utils\FilterSettings\FilterSettingsCompositor;
use Kufer\Web\KuferTools\Utils\FilterSettings\IFilterSettings;

class AdressenFilterSettingsHelper
{
  private function __construct()
  {
  }

  public static function createBasicFilterSettings(): IFilterSettings
  {
    return new FilterSettingsCompositor(); 
  }

  public static function createBasicUebersichtFilterSettings(): IFilterSettings
  {
    return new FilterSettingsCompositor(); 
  }

  
  public static function applyMitarbeiterAdressenUebersichtFilterSettings(AdressenSQLFilter $filter): AdressenSQLFilter
  {
    $filterSettings = static::createBasicUebersichtFilterSettings();

    return $filterSettings->applySettings($filter);
  }
}