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

import javax.inject.Inject;

import de.ivu.elect.business.system.boundary.SystemLogChangeEvent;
import de.ivu.elect.business.system.entity.SystemLog;
import de.ivu.elect.presentation.menu.AbstractActionEntry;
import de.ivu.elect.presentation.security.AbstractGebietSecurity;

public abstract class AbstractSystemLogAction extends AbstractActionEntry<SystemLog> {

  private static final long serialVersionUID = 1L;

  @Inject
  private SystemLogChangeEvent changeEvent;

  public AbstractSystemLogAction() {
    super();
  }

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

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