package de.ivu.elect.business.internet.entity;

public enum InternetPraesentationTyp {

  KEINE {
    @Override
    public String getDokumentVorlageResourceName() {
      return "";
    }

    @Override
    public boolean isPraesentationVerfuegbar() {
      return false;
    }
  },
 @Deprecated
  VELOCITY_LEGACY {
    @Override
    public String getDokumentVorlageResourceName() {
      // return "was-internet-presentation.zip";
      return "";
    }

    @Override
    public boolean isPraesentationVerfuegbar() {
      return false;
    }
  },
  VELOCITY_WIDGET {
    @Override
    public String getDokumentVorlageResourceName() {
      return "elect-internet-presentation-interfaces-frontend-style.zip";
    }

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

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

  public abstract String getDokumentVorlageResourceName();

  public abstract boolean isPraesentationVerfuegbar();

  public boolean isWidgetsKonfigurierbar() {
    return false;
  }
}
