package de.ivu.elect.business.gebietsbaum.boundary;

import javax.enterprise.event.Observes;
import javax.enterprise.event.Reception;
import javax.enterprise.inject.Specializes;

import org.apache.deltaspike.core.api.scope.ConversationGroup;
import org.apache.deltaspike.core.api.scope.GroupedConversationScoped;

@Specializes
@GroupedConversationScoped
@ConversationGroup(GebietConversationStore.class)
public class GebietsbaumChangeEventGebietConversationStore extends GebietConversationStore {

  /**
   * ELECT-2267  ELECT-2279
   */
  public void onGebietSelectChangeEvent(@Observes(notifyObserver = Reception.IF_EXISTS) GebietSelectChangeEvent event) {
    close();
  }

}
