119120121122123124125126127128129
public GPSTrace saveGPSTrace(GPSTrace gpsTrace) throws Exception { //TODO: validate if( gpsTrace.getName().equalsIgnoreCase("")) { throw new GPSTraceException("GPS trace must have a name"); } // fill in dates if( gpsTrace.getUploadDate() == null) {