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

import javax.enterprise.event.Event;
import javax.inject.Inject;

import de.ivu.elect.business.system.entity.BackgroundServiceEvent;
import de.ivu.elect.business.system.entity.SystemLogQuelle;

public class PraesentationGenerierenEvent implements BackgroundServiceEvent {

  private static final long serialVersionUID = 1L;

  @Inject
  transient Event<PraesentationGenerierenEvent> event;

  public void sendChangeEvent() {
    event.fire(new PraesentationGenerierenEvent());
  }

  @Override
  public void sendEvent() {
    sendChangeEvent();
  }

  @Override
  public SystemLogQuelle getServiceName() {
    return SystemLogQuelle.PRAESENTATION_GENERIEREN;
  }

}
