went back to using UUID for course area and event querying because with JRE emulation GWT can use UUIDs by now

This commit is contained in:
Axel Uhl committed 2014-01-23 13:47:15 +01:00
1 parent 394c02b3a4
commit e1edaab309
3 files changed
+6 -1

No files matched your search

@@ -264,6 +264,8 @@ public interface SailingService extends RemoteService {
EventDTO getEventByName(String eventName);
EventDTO getEventById(UUID id);
Iterable<String> getScoreCorrectionProviderNames();
ScoreCorrectionProviderDTO getScoreCorrectionsOfProvider(String providerName) throws Exception;
@@ -503,5 +503,7 @@ public interface SailingServiceAsync {
void removeIgtimiAccount(String eMailOfAccountToRemove, AsyncCallback<Void> asyncCallback);
void importWindFromIgtimi(List<RaceDTO> selectedRaces, AsyncCallback<Map<RegattaAndRaceIdentifier, Integer>> asyncCallback);
void getEventById(UUID id, AsyncCallback<EventDTO> callback);
}
@@ -2798,7 +2798,8 @@ public class SailingServiceImpl extends ProxiedRemoteServiceServlet implements S
return result;
}
private EventDTO getEventById(UUID id) {
@Override
public EventDTO getEventById(UUID id) {
EventDTO result = null;
Event event = getService().getEvent(id);
if (event != null) {