package de.ivu.elect.presentation.email.exchange;

import de.ivu.elect.business.exchange.entity.DateiExportArt;
import de.ivu.elect.business.security.UseCasePermission;
import de.ivu.elect.presentation.email.menu.EmailVorlagePageMenu;
import de.ivu.elect.presentation.exchange.ExportDescription;

public class EmailVorlageExportDescription implements ExportDescription {

  private static final long serialVersionUID = 1L;

  public EmailVorlageExportDescription() {
    super();
  }

  @Override
  public String getExportSearchViewId() {
    return EmailVorlageExportView.VIEW_ID;
  }

  @Override
  public DateiExportArt getDateiExportArt() {
    return DateiExportArt.EMAIL_VORLAGE_EXPORT;
  }

  @Override
  public UseCasePermission getUseCasePermission() {
    return UseCasePermission.EMAIL_VORLAGE_EXPORTIEREN;
  }

  @Override
  public boolean isSpecificPerWahl() {
    return false;
  }

  @Override
  public boolean isSpecificPerWahltermin() {
    return true;
  }

  @Override
  public String getPageMenuComponentName() {
    return EmailVorlagePageMenu.COMPONENT_NAME;
  }
}
