private void addToAllByGlobalCoTerminusIdMap(AcGlobalCoTerminusAirport e) { Integer key = e.getGlobalCoTerminusId(); JwList<AcGlobalCoTerminusAirport> v = _allByGlobalCoTerminusIdMap.get(key); if (v == null) { v = new JwList<AcGlobalCoTerminusAirport>(); _allByGlobalCoTerminusIdMap.put(key, v); } v.add(e); }
private JwList<AcScheduledFlightUploadErrorVo> fillErrors(JwList<AcScheduledFlightUpload> v) { JwList<AcScheduledFlightUploadErrorVo> r = new JwList<AcScheduledFlightUploadErrorVo>(v.size()); // we need some sort of starting "date" - we don't care what it is or what timezone it uses JwDate date = AcGlobals.nowUtc().getDate().getCopy(); JwMap<String, AcAirport> airportCache = new JwMap<String, AcAirport>(); for (AcScheduledFlightUpload o : v) { AcScheduledFlightUploadErrorVo e = new AcScheduledFlightUploadErrorVo(); e.setScheduledFlightUpload(o); validateDates(e); validateTimes(date, airportCache, e); r.add(e); } return r; }
private void loadAllAvailableList() { Collection<AcGlobalTimeZone> v = getMap().values(); _allAvailableList = new JwList<AcGlobalTimeZone>(); for (AcGlobalTimeZone e : v) if (e.isAvailable()) _allAvailableList.add(e); _allAvailableList.setReadOnly(); }
private void loadAllAvailableList() { Collection<AcGlobalCoTerminusAirport> v = getMap().values(); _allAvailableList = new JwList<AcGlobalCoTerminusAirport>(); for (AcGlobalCoTerminusAirport e : v) if (e.isAvailable()) _allAvailableList.add(e); _allAvailableList.setReadOnly(); }