コード例 #1
0
  @PostConstruct
  private void init() {
    mapModel = new DefaultMapModel();
    this.events = eventDAO.findAllByOwner(signedMember);
    this.filteredEvents = events;

    List<Marker> markers = createMarkersFromEvents(this.filteredEvents);
    for (Marker marker : markers) {
      mapModel.addOverlay(marker);
    }

    generateMapParams();
  }
コード例 #2
0
 public void delete(Event event) {
   eventDAO.remove(event);
   this.events.remove(event);
   this.filteredEvents.remove(event);
 }