mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-20 03:00:00 +00:00
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:
1 parent
394c02b3a4
commit
e1edaab309
3 files changed
+6
-1
No files matched your search
+2
@@ -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;
|
||||
|
||||
+2
@@ -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);
|
||||
}
|
||||
|
||||
+2
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user