
package de.ivu.elect.presentation.konfiguration.action;

import javax.inject.Inject;

import de.ivu.elect.business.konfiguration.boundary.KonfigurationChangeEvent;
import de.ivu.elect.business.konfiguration.entity.Konfiguration;
import de.ivu.elect.presentation.menu.AbstractActionEntry;
import de.ivu.elect.presentation.security.AbstractGebietSecurity;

public abstract class AbstractKonfigurationAction extends AbstractActionEntry<Konfiguration> {

  private static final long serialVersionUID = 1L;

  @Inject
  KonfigurationChangeEvent changeEvent;

  @Override
  protected void fireChangeEvent() {
    changeEvent.sendChangeEvent();
  }


  @Override
  protected AbstractGebietSecurity getGebietSecurity() {
    return KEINE_GEBIET_SECURITY;
  }
}
