
package de.ivu.elect.business.konfiguration.boundary;

import java.util.Collection;

import de.ivu.elect.business.konfiguration.entity.CustomParameterKategorie;
import de.ivu.elect.business.konfiguration.entity.CustomParameterTemplate;


import static java.util.Objects.nonNull;

public interface CustomParameterSearchParameters {

  Collection<CustomParameterTemplate> getSupportedTemplates();

  default boolean hasKategorie() {
    return nonNull(getKategorie());
  }

  CustomParameterKategorie getKategorie();

  void setKategorie(CustomParameterKategorie kategorie);

  void setNurUngueltige(boolean nurUngueltige);

  boolean isNurUngueltige();
}
